{"id":50514230,"url":"https://github.com/buvis/feedback","last_synced_at":"2026-06-02T22:32:07.130Z","repository":{"id":350071460,"uuid":"1204836517","full_name":"buvis/feedback","owner":"buvis","description":"Feedback form for buvis CLI tools","archived":false,"fork":false,"pushed_at":"2026-04-08T19:31:46.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-08T20:15:42.360Z","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/buvis.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-04-08T11:34:01.000Z","updated_at":"2026-04-08T19:31:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/buvis/feedback","commit_stats":null,"previous_names":["buvis/feedback"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/buvis/feedback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buvis%2Ffeedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buvis%2Ffeedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buvis%2Ffeedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buvis%2Ffeedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buvis","download_url":"https://codeload.github.com/buvis/feedback/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buvis%2Ffeedback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33840213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-06-02T22:32:06.422Z","updated_at":"2026-06-02T22:32:07.125Z","avatar_url":"https://github.com/buvis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buvis/feedback\n\nFeedback form for buvis CLI tools. SvelteKit app deployed on Cloudflare Pages.\n\nUsers arrive via `\u003ctool\u003e --feedback`, which opens this form with environment context pre-populated. Submissions create GitHub Issues on the relevant buvis repo.\n\n## Development\n\n```bash\ncp .env.example .env     # fill in PUBLIC_TURNSTILE_SITE_KEY\nnpm install\nnpm run dev              # http://localhost:5173\nnpm run test             # vitest\nnpm run check            # svelte-check\n```\n\n## Deployment\n\n### 1. Create Cloudflare Turnstile site\n\nIn [Cloudflare dashboard](https://dash.cloudflare.com/) -\u003e Turnstile -\u003e Add site. Use **Managed** widget mode. Note the **site key** and **secret key**.\n\n### 2. Create GitHub PAT\n\nCreate a [fine-grained PAT](https://github.com/settings/personal-access-tokens/new) with Issues read/write permission on the target repo. Set expiry to 1 year.\n\n### 3. Generate a bypass key\n\n```bash\nopenssl rand -hex 32\n```\n\n### 4. Set up Cloudflare Pages\n\nCreate a Pages project with `npx wrangler pages project create buvis-feedback`, then set secrets:\n\n```bash\nnpx wrangler pages secret put GITHUB_PAT           # PAT from step 2\nnpx wrangler pages secret put TURNSTILE_SECRET_KEY  # secret key from step 1\nnpx wrangler pages secret put BYPASS_KEY            # key from step 3\n```\n\n### 5. Deploy\n\nSet the Turnstile site key in `.env` (used at build time, gitignored):\n\n```bash\ncp .env.example .env  # fill in PUBLIC_TURNSTILE_SITE_KEY with site key from step 1\n```\n\nThen build and deploy:\n\n```bash\nmise run deploy\n```\n\n### 6. DNS\n\nAdd a CNAME record pointing your domain to `\u003cproject\u003e.pages.dev`.\n\n### 7. Verify\n\n1. Open the deployed URL\n2. Submit test feedback, check that a GitHub Issue is created\n3. Test with bypass key in the Developer section (issue gets `accepted` label)\n4. Test with URL params: `?project=buvis-gems\u0026tool=test\u0026version=1.0`\n\n## Architecture\n\n- `src/lib/config.ts` - project allowlist, label mappings\n- `src/lib/github.ts` - GitHub Issues API client\n- `src/routes/+page.svelte` - feedback form UI\n- `src/routes/+page.server.ts` - form action (validation, Turnstile, issue creation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuvis%2Ffeedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuvis%2Ffeedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuvis%2Ffeedback/lists"}