Bug report widget for a Next.js app that creates GitHub issues
Glitchgrab turns bug reports, screenshots and production errors into GitHub issues, with a Next.js SDK. It is a proprietary hosted tool, not open source.
How do users report a bug with a screenshot?
A report button sits in your app. The user clicks it, the SDK captures the tab as it looks right now, the user writes what went wrong, and the report becomes a GitHub issue on your repo. The issue carries the screenshot, the page, the browser and the user's last steps.
Set it up
- Sign in at glitchgrab.dev, connect a GitHub repo and copy its token.
bun add glitchgrab- Wrap your app in
GlitchgrabProviderwith the token. - Add a
ReportButtonwhere users should find it.
What else does it catch?
- Unhandled errors in production, filed on their own and grouped when repeated.
- Server errors from API routes, cron jobs and workers, through
glitchgrab/server. - Slow requests and console errors, on by default in production and easy to turn off.
Frequently asked questions
How can users report bugs from my web app with a screenshot?
Install the glitchgrab package, wrap your app in GlitchgrabProvider and add a ReportButton. The user clicks it, a screenshot of the tab is taken, they describe the problem, and a GitHub issue is created.
Does it work with Next.js 13, 14 and 15?
Yes. The SDK supports all three and has no dependencies beyond React and Next.js.
Does the widget create the GitHub issue directly?
Yes. The issue is built from what the user wrote plus page, browser and recent steps. No AI sits in the filing path.
Can it also catch production errors?
Yes. Unhandled errors in production are filed as GitHub issues, and the same error is grouped instead of filed again. Errors from API routes and cron jobs use glitchgrab/server.