prapi.dev
§ 00 · CLI

Single-binary CLI. Pipes to jq, scripts, your editor.

Read and write brief.md, list pitches, draft outreach, manage submissions — from the terminal. The Bun runtime is bundled inside each binary; no Node install required.

Latest: v0.2.1
§ 01 · INSTALL

During preview: GitHub Releases.

The CLI repo is private until launch. Use gh to download the binary for your platform. After launch we’ll add a curl | sh installer.

macOS / Linux

gh release download v0.2.1 \
  --repo Startvest-LLC/prapi-cli \
  --pattern 'prapi-darwin-arm64' \
  --output /usr/local/bin/prapi
chmod +x /usr/local/bin/prapi
prapi --version

Swap the pattern for prapi-darwin-x64 on Intel Macs or prapi-linux-x64 on Linux.

Windows (PowerShell)

gh release download v0.2.1 `
  --repo Startvest-LLC/prapi-cli `
  --pattern 'prapi-windows-x64.exe' `
  --output $env:USERPROFILE\bin\prapi.exe
prapi --version

Make sure %USERPROFILE%\bin is on your PATH, or move the binary somewhere that already is.

All builds

OSArchAssetSize
macOSApple Siliconprapi-darwin-arm6460 MB
macOSIntelprapi-darwin-x6465 MB
Linuxx86_64prapi-linux-x6497 MB
Windowsx86_64prapi-windows-x64.exe112 MB

Verify the SHA256 against SHA256SUMS attached to the same release.

§ 02 · QUICKSTART

Five minutes from install to first pitch.

prapi auth login opens your default browser, you approve, and the key is delivered back over a one-shot localhost callback. No paste.

# Authenticate (browser device flow)
prapi auth login
prapi auth whoami | jq

# brief.md authoring (Git-canonical via /publish)
prapi brief pull startvest/my-brand > brief.md
$EDITOR brief.md
prapi brief push startvest/my-brand -f brief.md
prapi brief publish startvest/my-brand

# Pitches
prapi brands | jq '.brands[] | {id, slug}'
prapi pitches list --since-hours 72 --min-score 60 | jq '.items[].query_id'
prapi pitches draft <queryId> --brand <brandId>
prapi pitches status <draftId> --set sent --notes "sent via Gmail"

Need a token instead of the browser flow? prapi auth login --token <key> writes directly to ~/.config/prapi/config.json. Generate keys at app.prapi.dev/pr-pitch/settings.

§ 03 · COMMANDS

What ships in v0.1.

Every command outputs JSON to stdout, diagnostics to stderr — pipes cleanly to jq, fzf, scripts.

prapi auth

  • loginbrowser flow OR --token paste
  • logoutclear saved key
  • whoamiverify token + show user

prapi brief

  • pullfetch a brand brief.md
  • pushreplace document (marks DIRTY)
  • publishcommit DIRTY → Git
  • editpull → $EDITOR → push
  • validateparse without saving
  • state / history / diffinspect + audit

prapi pitches

  • listrecent pitches with best brand match
  • getfull details + scores + latest draft
  • scorerescore vs all brands
  • draftgenerate a pitch draft
  • overrideclear a quality gate + retry
  • statusmark sent / landed / skipped

prapi brands

  • list your brand UUIDs
§ 99 · NEXT

Single-binary CLI ships with v1.

Same brief.md substrate as the web app + MCP server. Today the CLI is in preview via private GitHub Releases. At AppSumo launch the repo flips public and a curl | sh installer ships alongside.