No description
- Python 82%
- Vue 9.4%
- JavaScript 8%
- Makefile 0.6%
Generated 256x256 checkmark on indigo. Fixes the 404 on /tasks/static/image/tasks.png observed in lnbits logs. Real branding to come. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| nostr | ||
| static | ||
| .gitignore | ||
| __init__.py | ||
| config.json | ||
| crud.py | ||
| description.md | ||
| LICENSE | ||
| Makefile | ||
| manifest.json | ||
| migrations.py | ||
| models.py | ||
| nostr_hooks.py | ||
| nostr_publisher.py | ||
| nostr_sync.py | ||
| pyproject.toml | ||
| README.md | ||
| toc.md | ||
| views.py | ||
| views_api.py | ||
Tasks — LNbits extension
LNbits-side counterpart to the webapp tasks module. Stores and syncs
recurring tasks / chores as Nostr NIP-52 calendar events.
Data model
- Kind 31922 — task (parameterized replaceable). Tagged with
event-type: taskso activities consumers can filter it out (see aiolabs/webapp#25 for context). - Kind 31925 — task completion / RSVP-ish status update. Carries
task-status(claimed,in-progress,completed,blocked,cancelled), an optionaloccurrencedate for recurring tasks, andcompleted_atwhen finalized. - Kind 5 — NIP-09 deletions for the above.
Recurrence is encoded as task-only tags: recurrence (daily |
weekly), recurrence-day (weekday name for weekly), recurrence-end
(YYYY-MM-DD).
What this extension does
- Caches tasks and completions in a local sqlite/postgres schema.
- Publishes mutations to Nostr via the
nostrclientextension's internal WebSocket bridge. - Subscribes to inbound 31922/31925 events filtered to
event-type=taskso the local DB stays in sync with the relay set.
Status
Early scaffold. Mirrors events' extension layout. See
~/dev/webapp/src/modules/tasks/ for the canonical client-side model.