sellfun
v0.6.0
Published
CLI for sell.fun — AI-native digital goods marketplace
Downloads
1,732
Maintainers
Readme
sellfun
CLI for sell.fun — the AI-native digital goods marketplace.
Create, manage, and sell digital products from your terminal. Works with the sell.fun MCP server for Claude and ChatGPT integration.
Install
npm install -g sellfunRequires Node.js 18+.
Quick start
sellfun login # Sign in via browser
sellfun create # Create a new listing (interactive)
sellfun publish <id> # Publish to the marketplace
sellfun search <q> # Search for products
sellfun buy <slug> # Purchase a productCommands
| Category | Commands |
|----------|----------|
| Marketplace | search, buy, install |
| Creator | create, list, view, publish, archive, status, batch |
| Revenue | earnings, connect, promote |
| Account | whoami, login, logout, telemetry |
| Project | init, push, update |
Run sellfun with no arguments to enter the interactive shell, or sellfun <command> --help for usage details.
Interactive shell
$ sellfun
┌─────────────────────────────┐
│ sell.fun CLI v0.5.9 │
└─────────────────────────────┘
sell.fun ▸ _The shell supports command history (up/down arrows), tab completion, and inline results.
Authentication
sellfun login # Browser-based (recommended)
sellfun login --token <token> # Direct token (CI/CD)
SELLFUN_TOKEN=... sellfun list # Environment variableConfiguration
Config is stored at ~/.sellfun/config.json (mode 0600).
Agent / CI Usage
The CLI works fully non-interactively for AI agents and CI/CD pipelines:
# Create + publish in one command
SELLFUN_TOKEN=tok sellfun create \
--title "AI Weather Skill" \
--description "Real-time weather for 200+ cities" \
--price 4.99 \
--url "https://example.com/weather.zip" \
--publish --format json
# Preview without executing
sellfun create --title "Test" --price 1.99 --url "https://..." --dry-run --format json
# Structured error output
# { "ok": false, "error": { "code": "AUTH_EXPIRED", "message": "..." } }Non-interactive mode activates when stdin is not a TTY, CI=true, or SELLFUN_NON_INTERACTIVE=1.
See CONTEXT.md for the full agent reference and skills/ for workflow guides.
Telemetry
Optional, opt-in crash reporting. Disabled by default.
sellfun telemetry status # Check setting
sellfun telemetry on # Enable anonymous crash reports
sellfun telemetry off # DisableRespects DO_NOT_TRACK=1 and SELLFUN_TELEMETRY=0 environment variables.
License
FSL-1.1-MIT — Functional Source License with MIT future grant.
