Capture UI context from any webpage and export production-quality, AI-ready Markdown prompts.
PixelContext is a browser extension for engineers, designers, and product teams who need fast, structured UI feedback for debugging, implementation, and AI-assisted workflows.
If the GIF does not render in your client, view docs/demo.gif directly on GitHub.
Most feedback on UI bugs or improvements is incomplete: screenshots without selectors, notes without CSS context, or vague issue descriptions.
PixelContext solves this by turning every click into a structured capture package:
- human note
- target path/selector
- HTML snippet
- matching CSS rules (when accessible)
- computed style subset
- screenshot preview + reference ID
Then it exports everything into one copyable Markdown prompt for AI tools or issue trackers.
Ctrl/Cmd + Shift + Xcapture mode toggle- quick composer after element click
- persistent per-page capture history
- re-highlight captured elements
- edit notes and delete captures
- one-click Markdown export to clipboard
- fully client-side (no backend, no API key)
- Node.js 18+
- npm
- Chrome (Manifest V3)
npm install
npm run devLoad in Chrome:
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select
build/chrome-mv3-dev
npm run buildLoad production extension from:
build/chrome-mv3-prod
- Click the extension icon to show/hide sidebar.
- Turn capture mode on (
Turn On) or use shortcut. - Click any UI element.
- Add note in quick composer and press
Enter. - Repeat for multiple captures.
- Click Export Markdown to copy the final prompt.
Ctrl/Cmd + Shift + X-> toggle capture modeEnter(inside composer) -> save captureEsc(inside composer) -> close composer
Each capture in export includes:
- capture reference ID
- timestamp
- DOM path
- screenshot dimensions
- note
- HTML block
- CSS rules block
- computed styles block
This format is designed to be directly usable in LLM chats, issue templates, and implementation handoff docs.
pixelcontext/
├── assets/ # Icons and extension assets
├── contents/ # Injected page scripts (overlay + sidebar)
├── core/ # Capture, CSS extraction, storage, prompt builder
├── docs/ # Project site/demo assets
├── .github/workflows/ # Pages + auto release workflows
└── popup.tsx/background.ts # Extension entrypoints
- PixelContext runs entirely in the browser.
- Captures are stored locally in extension storage.
- No remote API calls for capture data.
- Data leaves your machine only when you explicitly copy/export/share it.
- WebSocket
localhost:1815in dev:- keep
npm run devrunning - reload extension and refresh page
- keep
- Styles not updating after changes:
- reload extension from
chrome://extensions - refresh current tab
- reload extension from
- Capture not triggering:
- confirm capture mode is ON
- avoid restricted browser pages (
chrome://*)
- framework-aware metadata extraction (React/Vue)
- richer export targets (GitHub issues, Linear, Notion)
- multi-page session capture
- collaboration/share workflows
Contributions are welcome.
- Fork repo
- Create feature branch
- Commit with clear message
- Open PR with screenshots or short demo
MIT - see LICENSE.