{"id":50672640,"url":"https://github.com/hayek/appfeedback-web","last_synced_at":"2026-06-08T12:32:53.930Z","repository":{"id":362992056,"uuid":"1261466265","full_name":"hayek/appfeedback-web","owner":"hayek","description":"Web (TypeScript) feedback SDK — framework-agnostic widget + React component + adopter-hosted relay; feedback becomes a GitHub issue.","archived":false,"fork":false,"pushed_at":"2026-06-06T21:27:36.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T23:13:24.722Z","etag":null,"topics":["feedback","github-issues","react","sdk","typescript","web","widget"],"latest_commit_sha":null,"homepage":"https://hayek.github.io/appfeedback-docs/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hayek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-06T18:13:00.000Z","updated_at":"2026-06-06T21:27:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hayek/appfeedback-web","commit_stats":null,"previous_names":["hayek/appfeedback-web"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hayek/appfeedback-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayek%2Fappfeedback-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayek%2Fappfeedback-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayek%2Fappfeedback-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayek%2Fappfeedback-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hayek","download_url":"https://codeload.github.com/hayek/appfeedback-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayek%2Fappfeedback-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34063150,"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-08T02:00:07.615Z","response_time":111,"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":["feedback","github-issues","react","sdk","typescript","web","widget"],"created_at":"2026-06-08T12:32:53.808Z","updated_at":"2026-06-08T12:32:53.919Z","avatar_url":"https://github.com/hayek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# appfeedback-web\n\n[![CI](https://github.com/hayek/appfeedback-web/actions/workflows/ci.yml/badge.svg)](https://github.com/hayek/appfeedback-web/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)\n\nThe **Web (TypeScript)** SDK in the [AppFeedback](https://hayek.github.io/appfeedback-docs/) family. It turns in-app feedback into a GitHub issue — in the exact same byte-for-byte wire format as the [Apple](https://github.com/hayek/AppFeedbackSDK) and [Android](https://github.com/hayek/appfeedback-android) SDKs.\n\n\u003e **Status:** all four packages build, typecheck, and pass their suites (including the cross-platform conformance gate). npm publishing is in progress — until then, install from this workspace.\n\n## Packages\n\n| Package | Purpose |\n| --- | --- |\n| `@appfeedback/core` | Framework-agnostic: wire format + `RelayTransport` / `DirectGitHubTransport` |\n| `@appfeedback/widget` | Drop-in, dependency-free feedback form (`mountFeedbackWidget`) |\n| `@appfeedback/react` | `\u003cFeedbackForm\u003e` React wrapper |\n| `@appfeedback/relay` | The server-side handler **you** deploy (Cloudflare / Firebase / Appwrite / generic fetch) |\n\n## The web is different: you host the relay\n\nA browser can't safely hold a writable GitHub token — anything in client JS is public. So on the web the default path is a **relay you deploy and whose token you hold**; the browser only ever talks to your endpoint. The SDK ships reference relay handlers, but you run them. See the [security model](https://hayek.github.io/appfeedback-docs/guides/security/) and [relay guide](https://hayek.github.io/appfeedback-docs/guides/relay/).\n\n```ts\nimport { mountFeedbackWidget } from '@appfeedback/widget'\nimport { RelayTransport } from '@appfeedback/core'\n\nmountFeedbackWidget(el, {\n  transport: new RelayTransport({ endpoint: '/api/feedback' }),\n  appName: 'Acme',\n  appVersion: '1.0.0',\n})\n```\n\nA direct-to-GitHub transport exists for internal tools and prototypes, gated behind an explicit `dangerouslyUseClientToken` flag — it throws without it.\n\n## Why byte-exact?\n\nEvery AppFeedback SDK emits an identical GitHub issue body, pinned by a shared spec and a golden-fixture conformance suite ([`appfeedback-spec`](https://github.com/hayek/appfeedback-spec)) that runs in this repo's CI.\n\n## Develop\n\n```sh\ncorepack enable\npnpm install\npnpm -r test        # vitest, incl. the conformance gate in @appfeedback/core\npnpm -r typecheck\n```\n\nAPI reference: \u003chttps://hayek.github.io/appfeedback-docs/reference/typescript/\u003e\n\n## License\n\nMIT © Amir Hayek. See [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayek%2Fappfeedback-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhayek%2Fappfeedback-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayek%2Fappfeedback-web/lists"}