bugsnap
hi! i eat bugs.

catch every bug. never lose a customer to a silent bug.

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>
bugsnap / inbox
#024 · 2m ago
BUG Open

Checkout stalls after applying coupon

shop.example/checkout1440 × 900Chrome 131
Uncaught TypeError: Cannot read properties of undefined (reading 'total')POST https://shop.example/api/discount 500 (Internal Server Error)

how it works

from visitor bug to AI fix in 30 seconds.

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.

See it in 51 seconds. A visitor hits a bug, BugSnap sends a masked, cropped snapshot with the errors, and your AI opens the fix PR.

Set up onceabout 30 seconds

  1. Sign up freeNo card. 5 projects and 100 reports a month.
    Sign up free
  2. Give your AI the 1-line promptIt adds the script tag before </body> for you.
  3. Optional: connect GitHub, Slack or DiscordEvery new bug opens an issue or pings your channel.
    GitHub issuesSlackDiscordWebhook

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?"
No URLNo console logNo viewport20 min back-and-forth

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
Exact URLLast 20 errorsMasked snapshotReady for AI fix

what's inside

small widget. all the context.

console errors, caught.

The last 20 errors and failed requests ride along with every report, with tokens, cards and emails scrubbed out first.

masked, cropped snapshots.

Cropped to the broken element, with card, email and password fields masked before capture. Visitors pick Cropped, Full or No screenshot.

copy as markdown.

One click turns a report into clean Markdown your AI coder can act on in a single paste.

mit open source.

Use the free hosted inbox, or self-host on Node 24 or Cloudflare Workers + D1. Read every line.

smart triggers, zero clutter.

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.

~18 KB, zero deps.

One deferred script tag, no runtime dependencies, isolated in its own shadow root so it never touches your styles.

live demo

make a real report right here.

Runs entirely in your browser with your real viewport and browser details plus one simulated console error. Nothing is sent or stored.

pretend you're a user

Category

markdown preview

Click "Generate Markdown Report" to preview the exact output.
private by default

masked before the screenshot is even taken.

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.00

what bugsnap sends

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

free & open source (MIT). $0, forever.

No paid tiers, no seats, no credit card. Start on the free hosted inbox in 30 seconds, or run the whole thing yourself.

Self-Host (MIT)

open source

$0 / forever

  • Clone & deploy on Node 24 or Cloudflare Workers + D1 in 2 minutes
  • Unlimited projects and reports
  • Webhooks & GitHub issues on Node or Workers
  • Full source code, MIT licensed
View on GitHub

compare & faq

bugsnap vs marker.io, jam.dev & sentry.

How the free, open-source widget stacks up against popular bug reporting tools, plus the questions makers ask most.

BugSnap compared with Marker.io, Jam.dev, and Sentry User Feedback
FeatureBugSnapMarker.ioJam.devSentry (User Feedback)
License / modelMIT open sourceProprietary SaaSProprietary SaaSFair 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)
Install1-line <script> tag (~18 KB, zero deps)Async JS shim or npm packageBrowser extension + recording linksFull Sentry SDK + Feedback integration
Auto-shows on visitor bug on-error trigger always-on widget/button manual extension/linkOptional crash modal
AI-ready Markdown + GitHub auto-issue Built inGitHub/Jira/Linear sync (paid)MCP + AI summariesGitHub integration
Self-hosting 2 min (Node 24 or CF Workers + D1) Not available Not availableHeavy stack (Postgres, Redis, ClickHouse)

frequently asked questions

How is BugSnap different from Marker.io or Jam.dev?

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.

What bugs does BugSnap detect automatically?

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.

How does BugSnap work with AI coding agents like Cursor, Claude, or Copilot?

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.

Is BugSnap really free forever?

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.

Does the viewport snapshot leak private user data?

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.

Report a bug

no account needed

Homepage demo: nothing leaves your browser.