Skip to content

BugReceipt

A local-first Chrome extension that helps people report web application bugs by combining privacy-filtered console, network, reproduction-step, environment, and visual evidence in one reviewable report.

Role
Product designer and browser-extension engineer
Scope
Capture lifecycle, privacy boundaries, review workflows, and release delivery
Status
Public pre-release

Problem

Screenshots and vague descriptions rarely preserve the sequence, browser evidence, environment, and visual result that developers need to reproduce a web application failure. Collecting that evidence by hand is slow, and collecting it automatically risks capturing secrets.

Constraints

  1. C1

    Browser diagnostics and screen recordings can expose sensitive information, while local filtering cannot guarantee that every secret will be recognized.

  2. C2

    Chrome permission, selected-tab, service-worker, navigation, and storage boundaries must remain understandable during a capture.

  3. C3

    Email delivery crosses a separate network boundary and must not bundle server credentials or silently transmit evidence.

Architecture

A WXT Manifest V3 extension combines a side panel, a selected-tab recorder, a review page, and a background-owned capture lifecycle, with isolated page instrumentation feeding typed capture contracts. Evidence is filtered and rendered locally, stored in extension storage and IndexedDB, and leaves the browser only through a local export or an explicit Resend delivery through a TanStack Start endpoint.

01

Capture interface

A persistent React side panel, a selected-tab recorder, manual steps, and an editable review page make up the user-facing workflow.

02

Session domain

The background script owns the capture lifecycle and exchanges Zod-validated messages with the rest of the extension.

03

Privacy and storage

Bounded local filtering runs before storage, with extension storage holding session data and IndexedDB holding visual evidence.

04

Export and delivery

Markdown and visual report bundles stay local unless the user explicitly invokes the server-side Resend path.

Decisions

D1

Capture evidence locally before defining any sharing path

Filtering inside the extension first keeps downloading as the default, so email delivery becomes a separate and explicit boundary rather than part of capture.

D2

Make review part of the data pipeline

Automated filtering cannot recognize every secret, so users get an editable review surface where they can remove individual steps, diagnostics, and visual artifacts before export.

D3

Bound diagnostics instead of collecting the entire page

Selected console and network evidence is enough to reproduce most failures. DOM snapshots, cookies, browser storage, headers, form values, keystrokes, clipboard contents, and audio are never collected.

Contribution

  • Designed the selected-tab capture, manual-step, stop, review, edit, download, copy, and explicit email journeys.
  • Implemented background session ownership, isolated page instrumentation, cross-origin interruption handling, and persistent evidence storage.
  • Built deterministic filtering for URLs, diagnostic text, supported response bodies, tokens, email addresses, and secret-shaped fields.
  • Created the TanStack Start delivery endpoint, Resend boundary, deterministic broken-app fixture, CI quality gate, and checksummed Chrome release workflow.

Outcomes

  • Reporters can preserve reproduction steps, bounded console and network evidence, environment details, and a recording or screenshot in one workflow.
  • Every captured item remains reviewable and removable before it leaves extension-owned storage.
  • Users can export a local Markdown-and-visual bundle or deliberately send a size-bounded report through the configured endpoint.
  • Maintainers can exercise known failures and ship verifiable unpacked Chrome archives with published checksums.

Product screenshot

BugReceipt browser bug-reporting extension preview
BugReceipt turns a browser failure into a reviewable report containing privacy-filtered steps, console, network, environment, and visual evidence.

Verified stack

  • WXT
  • React 19
  • TypeScript
  • Chrome Manifest V3
  • Chrome Extensions API
  • Tailwind CSS
  • TanStack Start
  • Zod
  • JSZip
  • Resend
  • Vitest
  • React Testing Library
  • Netlify
  • GitHub Actions
  • CI/CD
  • System Design

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.