MastodonCLI
Post to Mastodon from your terminal
Send a status to your instance from the shell. Handy for build notes and release announcements you would otherwise paste into a web client by hand.
What you can build
Post a quick status
Set the key once and the command is short enough to retype.
YEETPOST_API_KEY=your-api-key npx yeetpost mastodon "hello fediverse"Announce after a green build
Chain it so only a passing build says anything.
npm test && yeetpost mastodon "all green on main, ${GITHUB_SHA:0:7}"Post from a second account
A second account gets its own slug, built from the handle.
yeetpost alex_mastodon "moving my build notes over here"Related features
- Post to Mastodon from your code
- Post to LinkedIn from your terminal
- Twitter CLI tool: post to X from your terminal
- Post to Bluesky from your terminal
Explore the full catalog on the features hub.
Related resources
Ready to get started?
Start posting to Mastodon in minutes.