yeetpostyeetpost

CLI

Post directly from your terminal with the yeetpost CLI.


#Installation

This page documents the published package, which posts with a single yeetpost <connection> <text> call. Version 2.1 adds the ten subcommands (login, post --to and the rest) and is not on npm yet.

The CLI is included in the yeetpost npm package. Install it globally:

bash
npm install -g yeetpost

#Usage

bash
yeetpost <connection> <text>

# or with npx
npx yeetpost <connection> <text>

#Configuration

Set your API key in an environment variable:

bash
YEETPOST_API_KEY=your-api-key yeetpost linkedin "Hello, world!"

Or add it to your .env or .env.local file:

env
YEETPOST_API_KEY=your-api-key

#Examples

bash
yeetpost linkedin "Hello, world!"
yeetpost x "Hello, world!"

The connection name is the slug you gave it in the dashboard. LinkedIn, X, Bluesky, Discord, Telegram and Mastodon are live today. Reddit, Facebook, Instagram and Threads are built and waiting on their platform's approval. Slack, SMS and email are not shipped yet.

#Options

--help, -hShow the help message
--version, -vShow the version

#Where to next

  • SDKs: the CLI ships inside the yeetpost npm package.
  • Twitter CLI: a Twitter and X specific workflow.