{"id":48654183,"url":"https://github.com/lnbits/paidtasks","last_synced_at":"2026-04-10T09:00:12.446Z","repository":{"id":340579613,"uuid":"1163684014","full_name":"lnbits/paidtasks","owner":"lnbits","description":"An example wasm extension","archived":false,"fork":false,"pushed_at":"2026-03-09T09:15:40.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T09:00:09.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-22T01:28:23.000Z","updated_at":"2026-03-09T09:15:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lnbits/paidtasks","commit_stats":null,"previous_names":["lnbits/paidtasks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lnbits/paidtasks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fpaidtasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fpaidtasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fpaidtasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fpaidtasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnbits","download_url":"https://codeload.github.com/lnbits/paidtasks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fpaidtasks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31635969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-10T09:00:10.083Z","updated_at":"2026-04-10T09:00:12.429Z","avatar_url":"https://github.com/lnbits.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PaidTasks (WASM)\n\nThis is an example WASM extension you can use as a base to vibe code an extension that can be shared safely.\n\nPaidTasks is an extension to share a list of tasks and have people pay you to complete the tasks.\n\n## Key Files\n\n- `config.json`: permissions, public handlers, public KV keys, and payment tags\n- `wasm/`: `module.wat` or `module.wasm`\n- `static/` and `templates/`: UI and public pages\n\n## Permissions (Current)\n\n- `ext.db.read_write`\n- `api.POST:/api/v1/payments` (policy: create-only, `payments_out: false`)\n- `ext.payments.watch`\n\n## Payment Tags\n\nThis extension uses the tag `paidtasks`. Users must grant it in the permissions dialog.\n\n## Agent Guidance\n\nUse `lnbits/extensions/wasm/docs/agents_wasm_extensions.md` for AI/agent instructions.\n\n### AI Prompt (Copy-Paste)\n\n```\nYou are building a LNbits WASM extension. First read:\nextensions/wasm/docs/agents_wasm_extensions.md\n\nRules:\n- Only edit files under lnbits/extensions/\u003cext_id\u003e/.\n- Use extensions/paidtasks as a base template.\n- Any internal endpoint access must be declared in config.json permissions.\n- For POST /api/v1/payments you must set \"out\" explicitly and declare policy.payments_out.\n- Use \u003clnbits server\u003e/openapi.json as the API reference.\n\nGoal: \u003cdescribe extension behavior\u003e.\n```\n\n## Test Checklist\n\n1. Enable extension and grant permissions + `paidtasks` tag.\n2. Create a list and tasks.\n3. Open the public page and create an invoice.\n4. Pay the invoice and verify:\n   - Task is marked paid.\n   - Public page updates via websocket.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fpaidtasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnbits%2Fpaidtasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fpaidtasks/lists"}