Skip to content

Local demo

Try bugfreedback in a minimal Nuxt app before wiring it into your project. The repository includes a playground that loads the module from source so you can exercise the full widget flow locally.

Run the playground

Clone the repo and start the dev server:

bash
git clone https://github.com/bugfreedback/bugfreedback.git
cd bugfreedback
npm install
npm run dev

Open http://localhost:3000 (or the port Nuxt prints). Click Feedback on the right edge to walk through:

  1. Form — title, description, optional email
  2. Capture — attach a screenshot of the current tab (browser permission required)
  3. Annotate — pen, shapes, text, redaction
  4. Submit — sends to the configured export adapter

Default playground config

The playground (playground/nuxt.config.ts) uses settings suited for local evaluation:

SettingValueEffect
auth'none'No login required
storage.provider'none'Screenshots are not uploaded to cloud storage
export.provider'webhook'POSTs to a stub URL unless you override it

To test a real export destination, set env vars or edit playground/nuxt.config.ts — see the export guides for your provider.

Test annotate without screen capture

Some environments block the Screen Capture API (headless browsers, restricted CI). Use these query params after npm run dev:

URLOpens
/?demo=annotateAnnotate step with a synthetic dashboard image
/?demo=annotate-textSame, with the Text tool and edit panel active

Example: http://localhost:3000/?demo=annotate-text

Customize for your stack

Copy patterns from the playground into your app:

When testing webhooks locally, point BUGFREEDBACK_WEBHOOK_URL at webhook.site or your own tunnel — see Webhook export.

Released under the MIT License.