Post a release update right after deploy
Use a plain shell workflow to post a real release note from your terminal.
VERSION=$(node -p "require('./package.json').version")
yeetpost x "v$VERSION is live. Changelog: https://example.com/changelog"Post to X from terminal in seconds. This X CLI workflow is built for developers who want repeatable commands for local scripts, CI/CD, and release automation.
Use this quickstart to set up your Twitter command line tool and publish your first post.
npm install -g yeetpost
export YEETPOST_API_KEY=your-api-key
yeetpost x "hello world"If you need a fast path to post to Twitter from terminal, CLI workflows are usually the quickest to ship.
| Option | Best for | Tradeoffs |
|---|---|---|
| yeetpost Twitter CLI | Fast posting from terminal, scripts, and deployment workflows. | Managed abstraction requires a yeetpost account. |
| Official Twitter API | Teams requiring direct endpoint-level customization. | More OAuth, rate-limit, and maintenance overhead. |
| Twurl | Manual testing of raw API requests from command line. | Low-level tool, not optimized for repeatable product workflows. |
| Manual posting in X app | Occasional one-off posts. | No automation for releases, CI/CD, or app events. |
Use a plain shell workflow to post a real release note from your terminal.
VERSION=$(node -p "require('./package.json').version")
yeetpost x "v$VERSION is live. Changelog: https://example.com/changelog"Ask Claude to summarize your latest work, then call the CLI to publish the final tweet.
# Prompt Claude:
# "Summarize my last 5 commits into one tweet and post it to X with yeetpost."
# Claude can run:
yeetpost x "Shipped OAuth callbacks, cut CI time by 31%, and fixed onboarding edge cases."Publish a deployment update after successful CI/CD.
- name: Post deploy update to X
if: success()
run: npx yeetpost x "Deploy ${GITHUB_SHA} shipped successfully."
env:
YEETPOST_API_KEY: ${{ secrets.YEETPOST_API_KEY }}Install the yeetpost CLI, set your YEETPOST_API_KEY, and run yeetpost x "your message". You can run the same command locally or inside automation workflows.
Yes. The platform is now named X, but many developers still search for Twitter CLI. The command targets the x connection while supporting the same posting use case.
Yes. Add YEETPOST_API_KEY to your repository secrets and execute npx yeetpost x in a workflow step after successful jobs.
Use the official API when you need fine-grained endpoint control. Use a CLI workflow when you want fast, reliable posting from terminal and CI with less integration overhead.