{"_id":"@elchika-inc/todoke-cli","name":"@elchika-inc/todoke-cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@elchika-inc/todoke-cli","version":"0.1.0","description":"Command-line interface for todoke — the minimal Web Push notification SaaS","bin":{"todoke":"dist/index.js"},"type":"module","scripts":{"dev":"tsx src/index.ts","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","prepublishOnly":"tsc -p tsconfig.build.json"},"dependencies":{"chalk":"^5.4.1","commander":"^13.1.0","ora":"^8.2.0"},"devDependencies":{"@types/node":"^22.0.0","tsx":"^4.19.3","typescript":"^5.7.2"},"license":"MIT","publishConfig":{"access":"public"},"homepage":"https://todoke.dev","keywords":["web-push","push-notifications","cloudflare","cli","todoke"],"gitHead":"d651f5751854e480b083803d2901795392be7190","_id":"@elchika-inc/todoke-cli@0.1.0","_nodeVersion":"24.21.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-wLe6TRBt0H6t7v7gEOK+n+4c01BTMG2sq1bSkf0Ln9aeMuP7TLoDt4NMxNiSgpjwje+wrt7Xm9Egt1EN6JlN6w==","shasum":"218f960570a4bfa613ae7dd88a66fc84bb63d1e3","tarball":"https://registry.npmjs.org/@elchika-inc/todoke-cli/-/todoke-cli-0.1.0.tgz","fileCount":5,"unpackedSize":13017,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCZ7D6UB30uz68S3VT1Yrr2GewMVw/83JIeRiXQFmCPkwIgKeSCm5ItvIZLSXExqShWbs5U04KbrdI1qlr8cy9q1XY="}]},"_npmUser":{"name":"naoto24kawa","email":"naoto24kawa@gmail.com"},"directories":{},"maintainers":[{"name":"naoto24kawa","email":"naoto24kawa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/todoke-cli_0.1.0_1789048283545_0.8331350843218961"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-10T13:51:23.368Z","0.1.0":"2026-09-10T13:51:23.674Z","modified":"2026-09-10T13:51:25.454Z"},"maintainers":[{"name":"naoto24kawa","email":"naoto24kawa@gmail.com"}],"description":"Command-line interface for todoke — the minimal Web Push notification SaaS","homepage":"https://todoke.dev","keywords":["web-push","push-notifications","cloudflare","cli","todoke"],"license":"MIT","readme":"# @elchika-inc/todoke-cli\n\nCommand-line interface for [todoke](https://todoke.dev) — the minimal Web Push notification SaaS with first-class AI (MCP) support.\n\nManage your apps, API keys, and send Web Push notifications from the terminal.\n\n## Install\n\n> **Note**: `@elchika-inc/todoke-cli` is not yet published to npm. Until it is, build it from this repository:\n>\n> ```bash\n> # after cloning the todoke monorepo\n> bun install\n> cd apps/cli\n> bun run build   # emits dist/\n> ```\n\nOnce published:\n\n```bash\nnpm install -g @elchika-inc/todoke-cli\n# or run without installing\nnpx @elchika-inc/todoke-cli --help\n```\n\n## Getting started\n\nAuthenticate with a **full**-scope API key (create one from the [dashboard](https://todoke.dev) or `todoke keys add`):\n\n```bash\ntodoke login --api-key pk_xxxxxxxx\n```\n\nCredentials are stored in `~/.todoke.json` (file mode `0600`). Point at a different backend with `--api-url` (defaults to `https://api.todoke.dev`).\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `todoke login --api-key <key> [--api-url <url>]` | Save an API key and log in (a `full`-scope key is required) |\n| `todoke logout` | Remove saved credentials |\n| `todoke apps list` | List your apps |\n| `todoke apps stats <app-id>` | Show delivery stats for an app |\n| `todoke apps delete <app-id>` | Delete an app |\n| `todoke keys list <app-id>` | List an app's API keys |\n| `todoke keys add <app-id> -n <name> [-s <scope>]` | Create an API key (`scope`: `subscribe_only` / `notify` / `full`, default `notify`) |\n| `todoke keys rm <app-id> <key-id>` | Delete an API key |\n| `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) |\n\nRun `todoke <command> --help` for full option details.\n\n## Example\n\n```bash\n# Send a broadcast notification to every subscriber of the logged-in key's app\ntodoke notify -t \"Deploy complete\" -b \"v1.2.0 is live\" -u https://example.com/changelog\n```\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md","_rev":"1-0e734e3f8afac5e1e259b5047076469a"}