breschio/drawbridge
Chrome extension that turns browser UI annotations into local coding-agent tasks
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Drawbridge is a JavaScript Chrome extension whose handoff to coding assistants is file-based. chrome-extension/ is the unpacked extension entry point. Its browser drawer captures an annotation on the running page and writes the queue to a project root after the user approves Chrome’s file access prompt. Markdown carries the readable task list; JSON holds structured task details; screenshot files preserve the visual context.
The assistant runs from the project workspace rather than inside the extension. Drawbridge generates .moat/drawbridge-workflow.md and tool-specific files at .claude/commands/bridge.md, .windsurf/workflows/bridge.md, and .codex/prompts/bridge.md. Cursor is also supported, though no dedicated Cursor artifact is listed. The handoff uses files and workflow instructions, not an identified MCP server or model API. The npm scripts serve development and packaging.
Key Capabilities & Differentiators
Element comments capture selector data, element context, bounding boxes, and screenshots. A freeform rectangle is more useful for layout and spacing issues that span several DOM nodes or are awkward to target individually. Task-card thumbnails provide a visual cue; hovering a card can highlight its live element and scroll to it when it is off-screen.
The drawer tracks to do, doing, and done and can dock to the bottom or either side of the viewport. /bridge or bridge gives the coding assistant a way to process the queue: step mode asks for approval one task at a time, batch mode groups related changes, and yolo mode processes pending work autonomously. These are workflow choices, not model backends; Drawbridge captures and organizes the work, while the selected assistant edits the code.
Trade-offs & Limitations
Compared with pasting a screenshot into chat, Drawbridge takes more setup but gives repeated UI fixes a durable queue with visual and DOM context. Compared with a shared issue tracker, it shortens the path from the browser to a local checkout; it does not establish a shared source of truth for assignments or review. Selector and bounding-box data describe the captured page state, so recheck the target after a substantial layout or DOM change.
Connecting a directory has a write footprint: Drawbridge maintains generated files and updates .gitignore. Review project permissions and screenshot contents before handing the queue to an assistant; local capture does not imply offline inference or that task data stays on the device after handoff. Start with step mode when approval matters. Inspect the root LICENSE before commercial use or redistribution, since its terms are unspecified here.
Hardware & Deployment Guide
Load drawbridge/chrome-extension/ as an unpacked extension in Chrome Developer mode. Open the running app, choose Connect Project in the drawer, select the local project root, and approve Chrome’s file access prompt. Enable file URL access separately if you need to annotate file:// pages. There is no separate server to start for the local handoff; the coding assistant runs separately in the workspace.
For extension development and packaging, use npm ci, npm test -- chrome-extension/background.test.js --runInBand, and npm run build; the build writes dist/drawbridge-v.zip. v1.0.5 added freeform rectangle capture. v1.0.6 added slim side rails and in-place comment editing that updates the queue, prompt, and JSON together. After an extension reload, clicking the toolbar icon can reinject missing scripts into an already-open tab.
.moat/.Designers and frontend engineers turning repeated UI findings on a running app into a reviewable task queue for a coding assistant in the same local checkout.
You need a shared cross-team issue tracker, cannot grant Chrome write access to the project, or only need to send a one-off screenshot.
Quick Start & Installation
npm ci npm test -- chrome-extension/background.test.js --runInBand npm run build
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| drawbridge ★ | 971 | +1 | JavaScript | — | Chrome extension that turns browser UI annotations into local coding-agent tasks |
| ECC | 316.1k | +4.2k | JavaScript | MIT | Plugins and CLI workflows for planning, reviewing, and verifying agent-written c |
| ponytail | 204.4k | +4.1k | JavaScript | MIT | A prompt-driven coding-agent plugin for smaller changes and focused tests. |
| spec-kit | 153.7k | +1.3k | Python | MIT | A Python CLI for spec-driven coding-agent workflows and reviewable handoffs |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/breschio/drawbridge.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about drawbridge
How does a browser comment reach the coding assistant?
.moat/moat-tasks.md and .moat/moat-tasks-detail.json in the selected project. The coding assistant reads those files through the /bridge or bridge workflow. No MCP server or provider API is identified for this handoff.Does Drawbridge need Node, a GPU, or dedicated VRAM at runtime?
Can we deploy it internally or use it commercially?
LICENSE file exists, but its terms are not identified. Review the actual license before relying on rights to use it commercially, distribute it internally, modify it, or redistribute it. The extension’s local file workflow does not determine whether your chosen assistant sends screenshots or task context to an external service.When is this better than pasting screenshots into chat or filing tickets?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy