A CLI utility for posting to Bluesky, written in Janet.
-
Clone this repository (e.g.
$ gh repo clone CFiggers/bluesky
) and change directories into the newly-cloned repo (e.g.$ cd bluesky
). -
Install dependencies using jpm (run
$ jpm deps
). -
Run the program, either as an interpreted script (e.g.
janet src/bluesky.janet
) or by compiling a stand-alone binary first (e.g.jpm build
and then./build/bluesky
). -
Set up an App Password in your Bluesky account
-
Pass your Bluesky username and App Password to the program in one of the following ways:
- Pass
--username
and--password
as CLI parameters - Set
BLUESKY_USERNAME
andBLUESKY_APP_PASSWORD
environment variables (recommended) - Type or paste in when prompted
- Pass
-
Post to Bluesky! (e.g.
bluesky --text "Hello, world! I posted this via the API."
)