{"id":43077854,"url":"https://github.com/structured-world/bug-reports-worker","last_synced_at":"2026-01-31T14:12:26.297Z","repository":{"id":334585940,"uuid":"1141938393","full_name":"structured-world/bug-reports-worker","owner":"structured-world","description":"Cloudflare Worker for bug report widget (all sw.foundation docs sites)","archived":false,"fork":false,"pushed_at":"2026-01-25T19:10:17.000Z","size":9,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-26T10:34:33.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/structured-world.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":null,"dco":null,"cla":null}},"created_at":"2026-01-25T17:31:56.000Z","updated_at":"2026-01-25T19:10:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/structured-world/bug-reports-worker","commit_stats":null,"previous_names":["structured-world/bug-reports-worker"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/structured-world/bug-reports-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structured-world%2Fbug-reports-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structured-world%2Fbug-reports-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structured-world%2Fbug-reports-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structured-world%2Fbug-reports-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/structured-world","download_url":"https://codeload.github.com/structured-world/bug-reports-worker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structured-world%2Fbug-reports-worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28944838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T13:02:32.153Z","status":"ssl_error","status_checked_at":"2026-01-31T13:00:07.528Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-01-31T14:12:25.824Z","updated_at":"2026-01-31T14:12:26.290Z","avatar_url":"https://github.com/structured-world.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bug Reports Worker\n\nCloudflare Worker for handling bug reports from all sw.foundation documentation sites.\n\n## Status\n\n**Type**: Internal tool for sw.foundation docs sites.\n\n| Feature | Status |\n|---------|--------|\n| Bug report submission | Done |\n| GitHub issue creation | Done |\n| Rate limiting (5/hour/IP) | Done |\n| Multi-site support | Done |\n| GitHub Actions deploy | Done |\n\n## Supported Sites\n\n| Site | Repository |\n|------|------------|\n| gitlab-mcp.sw.foundation | structured-world/gitlab-mcp |\n| privacy.sw.foundation | structured-world/vue-privacy |\n\nTo add a new site, update `SITES` config in `src/index.ts` and add route in `wrangler.toml`.\n\n## Architecture\n\n```\nUser submits bug report via widget\n        |\n        v\nPOST /api/report-bug\n        |\n        v\nCloudflare Worker (this repo)\n        |\n        v\nGitHub App (sw-release-bot)\n        |\n        v\nCreates issue in target repository\n```\n\n## Secrets Required\n\nSet via GitHub Actions secrets (org-level):\n\n| Secret | Description |\n|--------|-------------|\n| `CLOUDFLARE_API_TOKEN` | Cloudflare API token with Workers edit |\n| `CLOUDFLARE_ACCOUNT_ID` | Cloudflare account ID |\n| `RELEASER_APP_ID` | sw-release-bot App ID |\n| `RELEASER_APP_PRIVATE_KEY` | sw-release-bot private key (base64) |\n| `RELEASER_APP_INSTALLATION_ID` | sw-release-bot installation ID on org |\n\n## Development\n\n```bash\nnpm install\nnpm run dev      # Local development\nnpm run deploy   # Manual deploy\n```\n\n## Rate Limiting\n\nUses KV namespace `RATE_LIMIT_KV` for IP-based rate limiting:\n- 5 requests per IP per hour\n- Shared across all sites\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstructured-world%2Fbug-reports-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstructured-world%2Fbug-reports-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstructured-world%2Fbug-reports-worker/lists"}