Sign inSign up

idjohnson/pybsposter

By idjohnson

•Updated 4 months ago

Image
0

1.1K

idjohnson/pybsposter repository overview

⁠Example Docker pull

docker pull idjohnson/pybsposter:latest

⁠Example with Kubernetes

Download the Repo from GH⁠ then install to Kubernetes

$ git clone https://github.com/idjohnson/pybsposter.git
$ helm install pybsposter --set image.repository=idjohnson/pybsposter ./charts/pybsposter

We can now pass a payload there

$ cat bsky.payload.json
{"USERNAME": "captpicard.bsky.social", "PASSWORD": "NumberTwoIsANumber2", "TEXT": "Make it so. ", "LINK": "https://www.startrek.com/"}
$ kubectl port-forward svc/pybsposter 8080:80 &
$ curl -X POST http://localhost:8080/post -H 'Content-Type: application/json' -d @bsky.payload.json

Tag summary

Content type

Image

Digest

sha256:2f15d7331…

Size

71.1 MB

Last updated

almost 2 years ago

docker pull idjohnson/pybsposter