yeetpost

Introducing yeetpost CLI

January 12, 2025

We're excited to announce the yeetpost CLI - a command-line interface that lets you post to any platform directly from your terminal.

#No Extra Installation Needed

The CLI comes bundled with the yeetpost npm package. If you already have it installed, you're ready to go. Otherwise, you can use it instantly with npx:

npx yeetpost linkedin "Hello from my terminal!"

Or install it globally for repeated use:

npm install -g yeetpost yeetpost linkedin "Hello from my terminal!"

#What Can You Do With It?

Here are some ideas to get you started:

#Post New Commits to X

Announce your latest commits directly to X (Twitter):

yeetpost x "Just shipped: $(git log -1 --pretty=%s)"

#Summarize Commits with AI and Post to LinkedIn

Use your favorite AI coding assistant (like Cursor or Claude) to summarize your recent work:

# Ask your AI assistant to: # "Summarize the last 5 commits and post to LinkedIn" # It might run something like: yeetpost linkedin "This week: Added dark mode support, fixed auth bugs, and improved API response times by 40%"

#CI/CD: Post to Slack When Deploy Succeeds

Add this to your GitHub Actions workflow:

- name: Notify Slack if: success() run: npx yeetpost slack "Deployed ${{ github.sha }} to production" env: YEETPOST_API_KEY: ${{ secrets.YEETPOST_API_KEY }}

#Send Yourself an SMS When a Script Finishes

Running a long data migration or build? Get notified when it's done:

npm run build && yeetpost sms "Build complete!"

#Configuration

Set your API key via environment variable or a .env file:

export YEETPOST_API_KEY=your-api-key

Get your API key from app.yeetpost.com/settings.

#Learn More

Check out the full CLI documentation for all available options.