console errors, caught.
The last 20 errors and failed requests ride along with every report, with tokens, cards and emails scrubbed out first.
Paste one line. BugSnap stays out of sight until a bug hits, then a tiny popup lets visitors report it with the URL, console errors and a masked screenshot attached. Card numbers, emails and tokens never leave the page. The report lands in GitHub or your AI coder as Markdown, ready to fix.
~18 KB minified · private by default · 100% Free & Open Source (MIT)
<script src="https://getbugsnap-staging.pages.dev/widget.js" data-project-key="YOUR_PROJECT_KEY" data-trigger="on-error" defer></script>
Checkout stalls after applying coupon
Uncaught TypeError: Cannot read properties of undefined (reading 'total')
## BugSnap report (bug) Status: open Checkout stalls after applying coupon. ### Browser details - Page: https://shop.example/checkout - Viewport: 1440 × 900 ### Recent console errors - Uncaught TypeError: Cannot read properties of undefined (reading 'total') - POST https://shop.example/api/discount 500 (Internal Server Error)
how it works
A visitor hits a bug, BugSnap sends a masked report straight to GitHub or your webhook, and your AI agent opens the fix PR. No floating button cluttering the page: the popup shows only when something breaks and hides itself after sending.
Set up onceabout 30 seconds
Fires a fake error right here and shows the real on-error popup flow: report it, see the thank-you, watch the popup hide itself. Nothing is sent or stored.
without bugsnap
"Hey, checkout broke for me. Can you take a look?"
with bugsnap
## BugSnap report (bug)
Checkout stalls after I apply a discount.
Page: https://shop.example/checkout
Viewport: 1440 × 900
Console errors: POST /api/discount 500
Snapshot: cropped around "Pay $48.00", masked
what's inside
The last 20 errors and failed requests ride along with every report, with tokens, cards and emails scrubbed out first.
Cropped to the broken element, with card, email and password fields masked before capture. Visitors pick Cropped, Full or No screenshot.
One click turns a report into clean Markdown your AI coder can act on in a single paste.
Use the free hosted inbox, or self-host on Node 24 or Cloudflare Workers + D1. Read every line.
Pops up only on a real bug: crashes, failed API calls, dead buttons, freezes. Or attach it to any button. It hides itself after sending.
One deferred script tag, no runtime dependencies, isolated in its own shadow root so it never touches your styles.
live demo
Runs entirely in your browser with your real viewport and browser details plus one simulated console error. Nothing is sent or stored.
Click "Generate Markdown Report" to preview the exact output.
Snapshots are redrawn from the DOM, not copied from pixels. Passwords, emails, phone and card fields, and hosted payment frames become solid blocks before the image exists. Masking is always on, and your live page is never touched.
error text, scrubbed too
Checkout failed · token Bearer [redacted] · card [card] · [email]
mask anything else
<div data-bugsnap-mask>…</div>
<script … data-mask=".order-summary" data-screenshot-mode="element">
what your visitor sees
Ship to Jane Doe, 12 Main St
Pay $48.00what bugsnap sends
No screenshot attached.
Cropped around button "Pay $48.00". Sensitive details are masked.Full visible page. Sensitive details are masked.No screenshot. Only the error details will be sent.
Free & Open Source
No paid tiers, no seats, no credit card. Start on the free hosted inbox in 30 seconds, or run the whole thing yourself.
$0 / forever
$0 / forever
compare & faq
How the free, open-source widget stacks up against popular bug reporting tools, plus the questions makers ask most.
| Feature | BugSnap | Marker.io | Jam.dev | Sentry (User Feedback) |
|---|---|---|---|---|
| License / model | MIT open source | Proprietary SaaS | Proprietary SaaS | Fair Source (BSL) |
| Free tier | $0 forever (5 projects, 100 reports/mo; unlimited self-hosted) | 15-day trial only (paid from ~$39/mo annual) | $0 forever (30 Jams/mo, 5 recording links/mo) | $0 Developer tier (1 user, 5k errors/mo) |
| Install | 1-line <script> tag (~18 KB, zero deps) | Async JS shim or npm package | Browser extension + recording links | Full Sentry SDK + Feedback integration |
| Auto-shows on visitor bug | on-error trigger | always-on widget/button | manual extension/link | Optional crash modal |
| AI-ready Markdown + GitHub auto-issue | Built in | GitHub/Jira/Linear sync (paid) | MCP + AI summaries | GitHub integration |
| Self-hosting | 2 min (Node 24 or CF Workers + D1) | Not available | Not available | Heavy stack (Postgres, Redis, ClickHouse) |
BugSnap is 100% free and MIT open-source ($0 forever, hosted or self-hosted), weighs ~18 KB with zero dependencies, and requires no browser extension. In on-error mode it stays hidden from visitors until a real bug occurs, then outputs AI-ready Markdown to GitHub Issues or webhooks.
When using data-trigger="on-error", BugSnap watches for uncaught window errors, unhandled promise rejections, console.error calls, failed fetch or XHR API requests (5xx or 404/422/429 on /api/*), broken images or assets, dead or unresponsive buttons, and UI freezes.
Every report formats the user's note, URL, viewport, and last 20 errors into clean Markdown. You can copy it in one click, fire an HTTPS webhook to your agent, or auto-open a labeled GitHub Issue so Copilot, Cursor, Claude Code, or Factory Droid can generate a fix PR.
Yes. BugSnap is MIT-licensed with no paid tiers. The free hosted service includes up to 5 projects and 100 reports per month per account, and you can self-host on Node 24 or Cloudflare Workers + D1 with no limits.
No. BugSnap redraws visible page backgrounds and text instead of capturing raw browser pixels, omits form input values, frames, and images, automatically masks password, email, card, and payment fields and payment iframes (plus anything marked data-bugsnap-mask), scrubs tokens and card numbers from error text, and strips URL query strings and fragments. Masking is always on, and reporters see the masked preview and choose Cropped, Full, or No screenshot before sending.