A TODO list bot for Nostr that runs on Cloudflare Workers. ☑
- Manage personal TODO lists via Nostr mentions
- Per-user TODO numbering
- Web interface for viewing TODOs
- Profile information display with caching
list- Show all incomplete TODOsadd <content>- Add a new TODO (supports multiline)show <id>- Display full TODO contentdone <id>- Mark TODO as completeddelete <id>- Delete a TODOsearch <keyword>- Search TODOs by keywordweb- Get web view URL
- Install dependencies:
npm install- Create D1 database:
npx wrangler d1 create nostr-todo-
Update
wrangler.jsoncwith your database ID -
Apply database schema:
npx wrangler d1 execute nostr-todo --remote --file=schema.sql- Set environment variable:
npx wrangler secret put TODO_NSEC- Deploy:
npm run deploynpm run devMIT
Yasuhiro Matsumoto (a.k.a. mattn)