A flight recorder and time-travel debugger for web applications.
Always recording. So when something goes wrong, you know exactly what happened — and why.
WebBlackbox records what happened inside your web app, packages it into a portable .webblackbox archive, and lets you replay the session later with timeline, screenshots, network, console, storage, DOM, and performance context intact.
If you already have an archive, open it in the hosted Player:
https://webllm.github.io/webblackbox/
Demo:
video.mp4
- Record user interactions, navigation, console output, runtime errors, network traffic, storage activity, screenshots, and performance signals in one archive.
- Choose between
litecapture for lower page-thread overhead andfullcapture for CDP-backed debugging detail. - Export encrypted, portable
.webblackboxarchives for offline replay and team handoff. - Replay sessions with a rich Player UI and generate curl, fetch, HAR, Playwright, and bug-report artifacts.
- Connect archives to AI workflows through the MCP server.
| Goal | Use | Docs |
|---|---|---|
| Capture sessions in Chrome | @webblackbox/extension |
apps/extension/README.md |
| Replay and inspect archives | Hosted Player | https://webllm.github.io/webblackbox/ |
| Embed lite capture in your app | webblackbox |
packages/webblackbox/README.md |
| Build archive analysis tooling | @webblackbox/player-sdk |
packages/player-sdk/README.md |
| Analyze archives with an AI assistant | @webblackbox/mcp-server |
apps/mcp-server/README.md |
| Self-host share links | @webblackbox/share-server |
apps/share-server/README.md |
- Open the hosted Player: https://webllm.github.io/webblackbox/
- Click
Load Archive. - Select a
.webblackboxfile or a compatible ZIP export. - Inspect the timeline, screenshots, network waterfall, console, storage, and generated artifacts.
- Download the latest extension package from GitHub Releases.
- Unzip the downloaded Chrome extension package locally.
- Open
chrome://extensions/. - Enable
Developer mode. - Click
Load unpackedand select the extracted extension directory. - Click the WebBlackbox toolbar icon and choose
Start LiteorStart Full. - Reproduce the issue, then export a
.webblackboxarchive. - Open the archive in the hosted Player.
npm install webblackboximport { WebBlackboxLiteSdk } from "webblackbox";
const sdk = new WebBlackboxLiteSdk();
await sdk.start();Full SDK details are in packages/webblackbox/README.md.
WebBlackbox currently records 57 event types across 13 categories, including:
- User input and navigation
- Console logs and runtime errors
- Network requests, responses, failures, redirects, WebSocket, and SSE events
- DOM mutations and snapshots
- Screenshots and viewport changes
- Cookies, localStorage, sessionStorage, IndexedDB, Cache, and service worker lifecycle
- Web Vitals, long tasks, traces, CPU profiles, and heap snapshots
For the full event schema, defaults, and message types, see packages/protocol/README.md.
Sessions are exported as .webblackbox ZIP archives containing:
manifest.jsonwith export metadata and encryption info- chunked NDJSON event streams
- time/request/text indexes
- content-addressed blobs for screenshots, DOM snapshots, and captured bodies
- integrity hashes for verification
Archives can be encrypted with AES-GCM and PBKDF2-derived keys while keeping the manifest readable.
- Chrome Extension Guide
- Player Guide
- Web SDK Guide
- Player SDK Guide
- MCP Server Guide
- Share Server Guide
- Architecture Notes
- Performance Notes
If you want to work on the monorepo itself, start with CONTRIBUTING.md.
MIT © Web LLM
