@stashr/cli
v0.4.0
Published
Search, save, and organize your Stashr library from the command line.
Downloads
1,252
Readme
Stashr CLI
Search, save, and organize your Stashr library from a terminal, script, or coding agent.
Install
npm install --global @stashr/cli
stashr loginNode.js 20 or newer is required. stashr login opens Stashr in your browser and keeps the CLI signed in securely.
Examples
stashr search "pricing page inspiration"
stashr search "warm timber interiors" --rank image --compact --json
stashr list --tag research --compact --json
stashr get <bookmark-id> --json
stashr media <bookmark-id> --ref <media-ref> --output ./preview.jpg
stashr save https://example.com/article
stashr update <bookmark-id> --favorite --add-tag useful
stashr help
stashr help searchAdvanced: headless agents and CI
Unattended runners that cannot open a browser can receive a scoped STASHR_API_KEY through their secret environment. The CLI never accepts keys as command-line arguments.
Full documentation: https://stashr.me/docs/cli
