New:Socket for Asana Is Now Available.Learn more
Get Started

@letmepost/cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@letmepost/cli

Command-line interface for letmepost.dev. Publish posts, manage connected accounts, inspect the post log from your terminal or from agent shells.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

@letmepost/cli

Command-line client for letmepost.dev. Publish to Bluesky, X, LinkedIn, Threads, Instagram, Facebook, Pinterest from your terminal or any agentic shell.

Install

npm install -g @letmepost/cli
# or
npx @letmepost/cli --help

Binary name: lmp. Requires Node 18+.

Login

lmp login

Opens your browser for OAuth 2.1 with PKCE, trades the token for a long-lived API key, saves to ~/.letmepost/config.json. Falls back to API-key paste if the OAuth provider is unreachable.

Usage

lmp post "Shipping today" --to=twitter,bluesky
lmp post "Reels are live" --to=instagram --media=./hero.mp4
lmp post "Big news" --to=linkedin --schedule=2026-05-20T18:00:00Z

lmp accounts list
lmp accounts list --platform bluesky
lmp accounts disconnect acc_01HX...

lmp posts list --limit 50 --status rejected
lmp posts get pst_01HX...

lmp profiles list
lmp profiles use prof_01HX...
lmp profiles current

lmp whoami
lmp version
lmp logout

Per-call profile override:

lmp post "hello" --to=bluesky --profile prof_01HX...

Environment overrides

VariableDescription
LMP_API_KEYUse this Bearer key instead of the stored credential.
LMP_API_BASEOverride the API host (defaults to https://api.letmepost.dev).

Exit codes

  • 0 — success
  • 1 — config / auth / argument error
  • 2 — API call failed (full or partial — useful for shell pipelines)

Self-host

LMP_API_BASE=https://api.yourdomain.com lmp login

Docs

License

Apache 2.0.

Keywords

cli

FAQs

Package last updated on 19 May 2026

Related posts