Skip to content
PaidTasks

PaidTasks

GitHub stars

Paid task lists with public payment pages.

ManagementOpen Source

Key Files

  • config.json: permissions, public handlers, public KV keys, and payment tags
  • wasm/: module.wat or module.wasm
  • static/ and templates/: UI and public pages

Permissions (Current)

  • ext.db.read_write
  • api.POST:/api/v1/payments (policy: create-only, payments_out: false)
  • ext.payments.watch

Payment Tags

This extension uses the tag paidtasks. Users must grant it in the permissions dialog.

Agent Guidance

Use lnbits/extensions/wasm/docs/agents_wasm_extensions.md for AI/agent instructions.

AI Prompt (Copy-Paste)

You are building a LNbits WASM extension. First read:
extensions/wasm/docs/agents_wasm_extensions.md

Rules:
- Only edit files under lnbits/extensions/<ext_id>/.
- Use extensions/paidtasks as a base template.
- Any internal endpoint access must be declared in config.json permissions.
- For POST /api/v1/payments you must set "out" explicitly and declare policy.payments_out.
- Use <lnbits server>/openapi.json as the API reference.

Goal: <describe extension behavior>.

Test Checklist

  1. Enable extension and grant permissions + paidtasks tag.
  2. Create a list and tasks.
  3. Open the public page and create an invoice.
  4. Pay the invoice and verify:
    • Task is marked paid.
    • Public page updates via websocket.

API Reference

See the PaidTasks API documentation for endpoint details.

News · Shop · SaaS · Telegram · Released under the MIT License.