{"_id":"@8008m/gitter","_rev":"3-b099e93b6d80d55b6c66508e13150f9a","name":"@8008m/gitter","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@8008m/gitter","version":"0.1.0","keywords":["nextjs","feedback","github-issues","widget","cli"],"license":"MIT","_id":"@8008m/gitter@0.1.0","maintainers":[{"name":"8008m","email":"fabian@moerbe.com"}],"homepage":"https://github.com/8008m/gitter#readme","bugs":{"url":"https://github.com/8008m/gitter/issues"},"bin":{"gitter":"dist/cli.js"},"dist":{"shasum":"23948a3a1bc04edcf0c866128d486284f20fa61b","tarball":"https://registry.npmjs.org/@8008m/gitter/-/gitter-0.1.0.tgz","fileCount":15,"integrity":"sha512-llcK+mbJ+V+Y6SdPm5qky0qG5anfJemL4bCIuJxIokWqYo2/Mq/MjCGykz/2O1Xri6ThvrTCz4K1jiW7zfTvdw==","signatures":[{"sig":"MEYCIQD6ggdTHT2/8mbF5FuCXDeM/AFaspsGoSrqy7OruJcO0wIhANkdePP/GorPL8iIX/zgHzcj0TVcQ5DifK8Yp1u25t/s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34163},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/components/FeedbackWidget.d.ts","import":"./dist/components/FeedbackWidget.js"},"./api":{"types":"./dist/api/handler.d.ts","import":"./dist/api/handler.js"}},"gitHead":"1106bd3d28ef4b91b022258045bc8f1c030fc3b1","scripts":{"dev":"tsc --watch","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"8008m","email":"fabian@moerbe.com"},"repository":{"url":"git+https://github.com/8008m/gitter.git","type":"git"},"_npmVersion":"10.9.4","description":"Feedback widget for Next.js – collects user input as GitHub Issues.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","prompts":"^2.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/prompts":"^2.4.9"},"peerDependencies":{"next":">=13.0.0","react":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gitter_0.1.0_1774104844933_0.9917464998434338","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@8008m/gitter","version":"0.1.1","keywords":["nextjs","feedback","github-issues","widget","cli"],"license":"MIT","_id":"@8008m/gitter@0.1.1","maintainers":[{"name":"8008m","email":"fabian@moerbe.com"}],"homepage":"https://github.com/8008m/gitter#readme","bugs":{"url":"https://github.com/8008m/gitter/issues"},"bin":{"gitter":"dist/cli.js"},"dist":{"shasum":"aa3da7be46b9138af14eaa4c9003b1e343bfd3dd","tarball":"https://registry.npmjs.org/@8008m/gitter/-/gitter-0.1.1.tgz","fileCount":15,"integrity":"sha512-c7qSf4NLlw8gNOStsjb6DQ/AN/70MH+rtLalIjcqIr/hLN/AmFTMDhYWXgQ/YRO4QURJLpARcRnQIP61SJcZlw==","signatures":[{"sig":"MEYCIQCsZMlA2SW2FeV+jDsPwf5VdvAVQDJl5nrBxaZ7d3FmHwIhAK7tFMwjy+lSrfeLKEzRhUduJkIejqU17O/QnZ1nFRhD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38478},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/components/FeedbackWidget.d.ts","import":"./dist/components/FeedbackWidget.js"},"./api":{"types":"./dist/api/handler.d.ts","import":"./dist/api/handler.js"}},"gitHead":"d9273204ad66d06bb6a34e7160c11301175cf584","scripts":{"dev":"tsc --watch","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"8008m","email":"fabian@moerbe.com"},"repository":{"url":"git+https://github.com/8008m/gitter.git","type":"git"},"_npmVersion":"10.9.4","description":"Feedback widget for Next.js – collects user input as GitHub Issues.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","prompts":"^2.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/prompts":"^2.4.9"},"peerDependencies":{"next":">=13.0.0","react":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gitter_0.1.1_1774105704933_0.8637756736497559","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@8008m/gitter","version":"0.2.0","description":"Feedback widget for Next.js – collects user input as GitHub Issues.","keywords":["nextjs","feedback","github-issues","widget","cli"],"license":"MIT","type":"module","bin":{"gitter":"dist/cli.js"},"exports":{".":{"import":"./dist/components/FeedbackWidget.js","types":"./dist/components/FeedbackWidget.d.ts"},"./api":{"import":"./dist/api/handler.js","types":"./dist/api/handler.d.ts"},"./api/pages":{"import":"./dist/api/pages.js","types":"./dist/api/pages.d.ts"}},"scripts":{"build":"tsc","build:widget":"node widget/build.mjs","build:all":"npm run build && npm run build:widget","dev":"tsc --watch","prepublishOnly":"npm run build"},"peerDependencies":{"next":">=13.0.0","react":">=18.0.0"},"dependencies":{"chalk":"^5.3.0","prompts":"^2.4.2"},"devDependencies":{"@types/node":"^20.0.0","@types/prompts":"^2.4.9","@types/react":"^18.0.0","esbuild":"^0.21.0","typescript":"^5.4.0"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/8008m/gitter.git"},"_id":"@8008m/gitter@0.2.0","gitHead":"d9273204ad66d06bb6a34e7160c11301175cf584","bugs":{"url":"https://github.com/8008m/gitter/issues"},"homepage":"https://github.com/8008m/gitter#readme","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-R03joCFmZ33LZlb3UTAzlchVZvHWW37754QUVb5oJ5xmeZ6JSLKLRu6iUMyTkppUUiuyfjbiRK7M4Hx4HebxIw==","shasum":"3059f78ae0d198fb75bd77041755f191bbdb9002","tarball":"https://registry.npmjs.org/@8008m/gitter/-/gitter-0.2.0.tgz","fileCount":19,"unpackedSize":36921,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC4oDgW/QDwWQzHhq5JgUIOqvghfLl8WGrf9TLkou5wPwIgCN4kGo27WNDq51+NfzD9MMozvyGDwaE83KwazlFUdZc="}]},"_npmUser":{"name":"8008m","email":"fabian@moerbe.com"},"directories":{},"maintainers":[{"name":"8008m","email":"fabian@moerbe.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gitter_0.2.0_1774109835897_0.3592037404075037"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-21T14:54:04.842Z","modified":"2026-03-21T16:17:16.154Z","0.1.0":"2026-03-21T14:54:05.081Z","0.1.1":"2026-03-21T15:08:25.115Z","0.2.0":"2026-03-21T16:17:16.027Z"},"bugs":{"url":"https://github.com/8008m/gitter/issues"},"license":"MIT","homepage":"https://github.com/8008m/gitter#readme","keywords":["nextjs","feedback","github-issues","widget","cli"],"repository":{"type":"git","url":"git+https://github.com/8008m/gitter.git"},"description":"Feedback widget for Next.js – collects user input as GitHub Issues.","maintainers":[{"name":"8008m","email":"fabian@moerbe.com"}],"readme":"# @DEIN-NPM-USERNAME/gitter\n\nFeedback widget for Next.js. One command installs it – updates roll out centrally via `npm update`.\n\n```bash\nnpx @DEIN-NPM-USERNAME/gitter init\n```\n\n---\n\n## How it works\n\nThe CLI writes two **thin wrapper files** into your project. The actual widget logic lives inside this npm package and updates automatically when you run `npm update`.\n\n```\nYour project                        npm package\n────────────────────────────────    ────────────────────────────────\ncomponents/FeedbackWidget.tsx  ──►  src/components/FeedbackWidget.tsx\n  (re-export + your config)         (actual component, updates here)\n\napp/api/feedback/route.ts      ──►  src/api/handler.ts\n  (one-line re-export)              (GitHub API logic, updates here)\n```\n\n---\n\n## Installation\n\nRun inside your Next.js project root:\n\n```bash\nnpx @DEIN-NPM-USERNAME/gitter init\n```\n\nThen:\n\n```bash\nnpm install\n# Add GITHUB_TOKEN to .env.local\n```\n\nFinally add `<FeedbackWidget />` to your root layout (CLI shows you exactly where).\n\n---\n\n## Updates\n\n### Patch & Minor (automatic)\n```bash\nnpm update @DEIN-NPM-USERNAME/gitter\n```\n\n### Major versions\nThe CLI shows a notice on next `npx init` run:\n```\n┌─ Major update available: 1.2.0 → 2.0.0\n│  Breaking changes may be included.\n└─ Run: npm update @DEIN-NPM-USERNAME/gitter\n```\n\n---\n\n## Environment variables\n\n```env\nGITHUB_TOKEN=ghp_…\nGITHUB_OWNER=your-org\nGITHUB_REPO=your-repo\nFEEDBACK_LABELS=feedback\n```\n\n---\n\n## Props\n\n| Prop       | Type                              | Default           |\n|------------|-----------------------------------|-------------------|\n| `label`    | `string`                          | `'Feedback'`      |\n| `position` | `'bottom-right' \\| 'bottom-left'` | `'bottom-right'`  |\n| `apiRoute` | `string`                          | `'/api/feedback'` |\n\n---\n\n## Uninstall\n\n```bash\nnpx @DEIN-NPM-USERNAME/gitter remove\nnpm uninstall @DEIN-NPM-USERNAME/gitter\n```\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}