Developers · Storefront CLI & SDK

Manage Play Factory storefronts from code.

rare-profile is the wallet-less CLI and SDK for profile metadata, links, storefronts, products, hosted apps, posts, social, messages, analytics, events, and Studio workflows.

Install

A dedicated profile and storefront package.

Install @rareprotocol/rare-profile globally for the rare-profile command, or install it as a library and use createProfileClient in app code.

Login

Wallet-less device flow.

rare-profile login prints a user code and sends you to /dashboard/cli. Approve in the browser, then the CLI stores an slk_ token locally.

Scope

Content automation, not wallet custody.

The package manages profiles, links, stores, products, apps, posts, social, messages, stats, events, and Studio. It does not buy, move funds, mint, deploy, or auction NFTs.

Products

Create and maintain sellable catalog entries.

Commands cover product add/list/edit/unlist/delete/browse and app deploy/update/token for HTML or ZIP bundles sold as products.

SDK

Use the same surface from TypeScript.

createProfileClient accepts a Play Factory base URL and slk_ token, exchanges it for short-lived session JWTs, and refreshes transparently.

Safety

Purchase and wallet scopes are blocked.

The server rejects attempts to grant purchase or wallet scopes to CLI tokens. Money movement stays on the website and token work stays in @rareprotocol/rare-cli.

Node 20+
Runtime requirement
--json
Agent-friendly output
slk_
Local CLI token prefix