This is a simple bot that posts an image to Bluesky on a cron job using GitHub Actions.
- Fork this repo
- Put your images under
imagequeue/. Only JPG and PNG images are supported by Bluesky. Commit and push. - Edit index.ts to customize parsing of your filenames into post text. Commit and push.
- Generate an app password for your Bluesky account.
- Set Repository Secrets (
github.com/YOUR/REPO/settings/secrets/actions)BSKY_IDENTIFIERandBSKY_PASSWORD. - Create a fine-grained GitHub personal token. Give it read/write access to repository variables.
- Add the token as a secret named
REPO_ACCESS_TOKEN. - Execute the
post-next-imageaction from the GitHub UI. - When successful, edit
post-next-image.ymlto enable the automated post.