Skip to main content

BugPin: Self-Hosted Visual Bug Reporting Tool

What is BugPin?​

BugPin is a self-hosted, open-source visual bug reporting tool designed as a privacy-first alternative to SaaS solutions like Marker.io, BugHerd, and Usersnap. It allows teams and users to capture screenshots, record their screen, annotate issues with built-in drawing tools, submit bug reports directly from any web application, and manage incoming reports with assignment and source-aware triage workflows. BugPin runs on your own server using Docker or Bun, stores all data locally in SQLite, protects accounts with two-factor authentication and passkeys, and provides a lightweight embeddable widget (under 190KB gzipped) that works with any frontend framework.

Why BugPin?​

  • Self-Hosted: Your data stays on your servers. No third-party dependencies or data sharing.
  • Visual Reporting: Capture screenshots with one click and annotate them with drawing tools.
  • Screen Recording: Record a browser tab, window, or screen from the widget, with optional microphone audio.
  • Secure Accounts: Two-factor authentication with authenticator apps, recovery codes, and passkeys, plus a configurable password policy.
  • Lightweight Widget: Less than 190KB gzipped, loads asynchronously, and uses Shadow DOM for style isolation.
  • Offline Support: Reports are cached locally and automatically submitted when connectivity is restored.
  • Multilingual: Widget UI and reporter emails translated into 8 languages (English, German, French, Dutch, Spanish, Italian, Japanese, Simplified Chinese).
  • Easy Integration: Add to your site with a single script tag.

Key Features​

Visual Bug Reporting​

Capture full-page or visible area screenshots directly from your web application. The built-in annotation tools help provide clear context for every bug report.

Screen Recording​

Reporters can record a browser tab, window, or screen from the widget, draw on the page while recording, and attach the clip with optional microphone audio. Administrators control availability, video quality, duration, and upload limits. See Screen Recording.

Manual Report Intake​

Admins and editors can create reports directly from the reports list when feedback arrives outside the widget. Manual reports support optional files, reporter details, page URL, and intake channel metadata.

Assignment and Triage​

Reports can be assigned to team members individually or in bulk. BugPin also supports default assignees at the project level to streamline triage for new incoming reports.

Annotation Tools​

  • Pen tool for freehand drawing
  • Rectangle and circle shapes
  • Arrow for pointing to issues
  • Text annotations
  • Privacy blur for sensitive information

Multilingual Widget & Emails​

The widget UI, the screen-capture permission helper, and every reporter email are translated into 8 languages. Each project can auto-detect the visitor's language from the host page's <html lang> or navigator.language, or lock to a single locale. Per-locale overrides are available for the launcher button text and tooltip. See Widget Translations.

Export Diagnostics​

Export a report's full context from the report detail page as Markdown, plain text, an AI prompt, or JSON, either to the clipboard or as a file. A Customize dialog lets you toggle individual sections (console output, network errors, user activity, storage keys, etc.) and apply redactions (strip query strings, truncate console output, strip input values) before exporting. See Export Diagnostics.

Account Security​

Users can protect their accounts with an authenticator app, recovery codes, and passkeys, and administrators can require a second factor for admins or for everyone. A configurable password policy sets the strength rules for new passwords. See Two-Factor Authentication and Passkeys.

Self-Hosted & Private​

BugPin is designed for self-hosting with a simple SQLite database and Docker deployment. All data is stored locally with no external dependencies.

Integrations​

  • Forward reports to GitHub Issues automatically
  • Email notifications via SMTP configuration

Widget Features​

Style Isolation​

The BugPin widget uses Shadow DOM to encapsulate its styles, ensuring zero conflicts with your application:

  • Widget styles won't affect your site's styles
  • Your site's styles won't affect the widget
  • Works seamlessly with any CSS framework (Tailwind, Bootstrap, Material UI, etc.)
  • No global CSS pollution or naming collisions

Offline Support​

The widget automatically handles offline scenarios with intelligent retry logic:

  1. Local Caching: If the user is offline when submitting a report, it's cached locally using IndexedDB
  2. Automatic Sync: When connectivity is restored, cached reports are automatically submitted in the background
  3. Exponential Backoff: Failed submissions retry with exponential backoff (5 seconds → 10s → 20s → 40s → 80s, up to 5 minutes)
  4. User Feedback: Users are notified when reports are saved offline and when they're successfully synced
  5. No Duplicates: Each report carries a submission ID, and the server ignores repeated submissions of the same report, so retries never create duplicate reports

This ensures no bug reports are lost due to network issues, making BugPin reliable even in unstable network conditions.

When the widget can't reach the server, it saves the report, tells the reporter, and sends the report automatically later. If the server is reachable but the upload is rejected on the way, for example by a reverse proxy body size limit, the widget tells the reporter that the upload was rejected and the attachments may be too large. See Upload Size Limits for the proxy settings.

Framework Compatibility​

BugPin works with any web framework or platform. The widget is a framework-agnostic JavaScript library that runs in the browser.

Frontend Frameworks​

BugPin integrates seamlessly with all modern frontend frameworks:

  • React / Next.js
  • Vue.js / Nuxt
  • Angular
  • Svelte / SvelteKit
  • Solid.js
  • Qwik
  • Vanilla JavaScript / HTML

Backend Frameworks​

Since BugPin is a client-side widget, it works with any backend technology:

  • .NET (ASP.NET Core, Blazor, Razor Pages)
  • Node.js (Express, Fastify, NestJS)
  • Python (Django, Flask, FastAPI)
  • PHP (Laravel, Symfony, WordPress)
  • Ruby (Rails, Sinatra)
  • Go (Gin, Echo, Fiber)
  • Java (Spring Boot, JSP)
  • Static Sites (Hugo, Jekyll, 11ty)

Installation Methods​

  • Script Tag: Universal method, works everywhere
  • npm Package: @arantic/bugpin-widget for module bundlers
  • CDN: Load directly from your BugPin server

See Embed the Widget for framework-specific examples.

Architecture​

BugPin consists of three main components:

ComponentTechnologyPurpose
ServerBun + Hono + SQLiteREST API, database, file storage
Admin ConsoleReact 19 + Tailwind CSSDashboard for managing reports
WidgetPreact + Fabric.jsEmbeddable bug reporter

Getting Started​

Ready to get started? Follow the Docker installation guide to have BugPin running in under 5 minutes.

For a shorter path, use the Quick Start Guide. To compare plan options, see BugPin Editions.

We use cookies for analytics to improve our website. More information in our Privacy Policy.