@elchika-inc/todoke-cli
v0.1.0
Published
Command-line interface for todoke — the minimal Web Push notification SaaS
Maintainers
Readme
@elchika-inc/todoke-cli
Command-line interface for todoke — the minimal Web Push notification SaaS with first-class AI (MCP) support.
Manage your apps, API keys, and send Web Push notifications from the terminal.
Install
Note:
@elchika-inc/todoke-cliis not yet published to npm. Until it is, build it from this repository:# after cloning the todoke monorepo bun install cd apps/cli bun run build # emits dist/
Once published:
npm install -g @elchika-inc/todoke-cli
# or run without installing
npx @elchika-inc/todoke-cli --helpGetting started
Authenticate with a full-scope API key (create one from the dashboard or todoke keys add):
todoke login --api-key pk_xxxxxxxxCredentials are stored in ~/.todoke.json (file mode 0600). Point at a different backend with --api-url (defaults to https://api.todoke.dev).
Commands
| Command | Description |
|---------|-------------|
| todoke login --api-key <key> [--api-url <url>] | Save an API key and log in (a full-scope key is required) |
| todoke logout | Remove saved credentials |
| todoke apps list | List your apps |
| todoke apps stats <app-id> | Show delivery stats for an app |
| todoke apps delete <app-id> | Delete an app |
| todoke keys list <app-id> | List an app's API keys |
| todoke keys add <app-id> -n <name> [-s <scope>] | Create an API key (scope: subscribe_only / notify / full, default notify) |
| todoke keys rm <app-id> <key-id> | Delete an API key |
| todoke notify -t <title> -b <body> [-u <url>] [-e <endpoint>] | Send a Web Push notification to the logged-in key's app (omit -e to broadcast to all subscribers) |
Run todoke <command> --help for full option details.
Example
# Send a broadcast notification to every subscriber of the logged-in key's app
todoke notify -t "Deploy complete" -b "v1.2.0 is live" -u https://example.com/changelogLicense
MIT — see LICENSE.
