Mark up your localhost UI with comments and send them straight to your IDE's AI Chat for action.
Localhost Redliner has two parts that work together:
- Chrome Extension — adds an overlay to any localhost page. Hover to inspect elements (margin, padding, border), click to attach a comment.
- VS Code Extension — runs a local server on port 3001. When comments are submitted from Chrome, they appear in VS Code's Chat panel as prompts for your AI assistant to act on.
The Chrome extension sends comments over HTTP to the VS Code extension. Both must be installed.
- Node.js (for building from source)
- Google Chrome
- Visual Studio Code with an AI Chat extension
Download localhost-redliner-0.1.0.vsix from the Releases page, then:
- Open VS Code
Cmd+Shift+P(orCtrl+Shift+P) → Extensions: Install from VSIX...- Select the downloaded
.vsixfile
The extension activates automatically and starts listening on port 3001.
- Download and unzip
chrome-extension-prototype.zipfrom the Releases page - Open
chrome://extensionsin Chrome - Enable Developer mode (toggle in the top right)
- Click Load unpacked → select the unzipped folder
- Make sure VS Code is open (the extension starts automatically)
- Open any
localhostor127.0.0.1page in Chrome - Hover over elements to see box model details (margin, border, padding)
- Click an element to open a comment box
- Type your comment and hit Enter
- The comment appears in VS Code's Chat panel, ready for your AI assistant to act on
npm install
npm run compile
npx @vscode/vsce packageThis produces a localhost-redliner-<version>.vsix file you can install or share.
- Comments not arriving in VS Code? Make sure VS Code is open, then check that
http://localhost:3001/api/statusreturns a response in your browser - Port 3001 already in use? Another process is using the port — stop it, then reload VS Code
- Overlay not appearing on your localhost page? Refresh the page. The Chrome extension activates on
localhostand127.0.0.1URLs
MIT


