cd /news/ai-agents/show-hn-manual-design-edit-any-live-… · home › topics › ai-agents › article
[ARTICLE · art-179698] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Manual Design – Edit any live site by hand, then Claude writes the code

A developer released Manual Design, an open-source tool that captures any live web page as an editable HTML copy, lets users move, resize and scale elements with a mouse or webcam hand gestures, and passes the resulting changes to Anthropic's Claude through an MCP server so Claude can implement them in a codebase with responsive layout. The tool requires Node 20+ and Chrome or Edge for local captures, runs in cloud mode via Docker with a headless Chromium behind an egress proxy that blocks private and local addresses, and is described by its author as "early and moving fast.

key takeaway

Manual Design's MCP server hands Claude a per-change design brief — what moved, what it now aligns with, and the exact CSS — so edits made by mouse or webcam gestures become responsive code.

read12 min views3 publishedDec 1, 2026
Show HN: Manual Design – Edit any live site by hand, then Claude writes the code
Image: Michielbdejong (auto-discovered)

Edit any live website by hand, then let Claude turn your edits into real code.

<sub>The demo drives the real editor with simulated hand data, the same input a webcam gives it.</sub>

Open any page as an editable copy, move, resize and scale anything freely with the mouse or with precise hand gestures from your webcam, and hand the result to Claude through MCP. Claude gets a design brief per change (what moved, what it now lines up with, the exact CSS) and implements it in your codebase with real, responsive layout.

What's in the box:

  • Paste a URL to capture any public page, locally or on a cloud capture server.
  • "Design this page" browser extension for pages behind a sign-in,localhost and dev builds.
  • Editor with mouse and hand gestures, snapping, alignment guides, axis lock, undo, HTML and edits export.
  • MCP server so Claude can open pages, read your edits and apply them to code.
  • Gesture playground with calibration, precision tests, hand-data recording and a benchmark.

Manual Design is early and moving fast. Expect rough edges, and please open an issue when you hit one.

New here? Start with the step-by-step guide: every way to capture a page, edit it with the mouse or your hands, and turn your edits into code with Claude.

Requires Node 20+ and, for local captures, Chrome or Edge installed. Hand gestures need a webcam (any built-in one works); everything also works with just the mouse.

git clone https://github.com/sosayessicaSE/manual-design.git
cd manual-design
npm install
npm run dev

Open http://localhost:5173, paste a URL (for example example.com) and press Open in editor. The gesture playground is at http://localhost:5173/playground.html: click Start camera, allow the webcam, then Calibrate.

npm run build && npm start      # web app + capture API on http://localhost:8080, cloud mode
docker build -t manual-design . # or run it as a container (Chromium included)

In cloud mode the capture runs in a headless Chromium on the server, behind an egress proxy that refuses private and local addresses, with rate limits and no shared list of captures. The capture format and the HTTP API, shared with the browser extension and the MCP server, are in docs/capture-api.md.

Paste a URL on the home page (or in the editor's toolbar) while npm run dev runs. The page loads in your installed Chrome or Edge in the background, gets scrolled once so lazy content appears, and is saved as real HTML (not a screenshot) in snapshots/<name>.json, with scripts removed and images inlined. It then opens full size in the editor.

  • Click or pinch an element to grab and move it. Drag a handle to resize it, Shift keeps the aspect ratio. Two-hand pinch scales.
  • On text, the corner handles and two-hand pinch scale the text itself (its size is exported as a font size). Edge handles, or a corner with Ctrl held, change only the box so the text can rewrap.
  • [ or Escape selects the parent,] the child, double-click also goes up. Arrows nudge by 1px (Shift: 10px), H hides.
  • Ctrl+Z / Ctrl+Y undo and redo. Edits save automatically (snapshots/<id>.edits.json ) with before and after boxes.
  • Each capture has its own link, editor.html?capture=<id> , so you can come back to it.
  • Copy for Claude copies the changes as instructions Claude can turn into code (see below).Export HTML downloads the edited page,Export edits the raw change list as JSON.
  • Pages behind a login (local mode only): Sign in first… opens a visible Chrome window with its own profile (.capture-profile/ ), you sign in, then press it again to capture.
  • From the terminal: npm run capture -- https://example.com --width 1440 .

Edits are absolute: an element moves or resizes without pushing the rest of the page around.

The point of editing a live page freely is to get the result into the real site. Manual Design hands Claude a design brief per change, not just pixel offsets (src/handoff/changes.ts):

  • Where it is in the code: a selector anchored on the nearest id, the element's text, classes, opening tag and ancestors.
  • What changed: moved 40px right, resized 300×40 → 360×40, font-size 16px → 20px, removed.
  • Why: new alignments ("its left edge lines up with the Pricing heading"), the spacing to its neighbours and what it was, reordering among siblings ("now comes after the button"), and being dragged into another section (which means moving the markup).
  • Exact CSS as a fallback that reproduces the edit literally.

Claude is told to implement the intent with real, responsive layout in your existing styling approach, rather than transforms.

Add it to Claude Code (in your website's project, so Claude can edit its code):

claude mcp add --scope user manual-design -- npx tsx /path/to/manual-design/src/mcp/server.ts

Claude Desktop, claude_desktop_config.json (on Windows use "command": "cmd", "args": ["/c", "npx", "tsx", "C:\\path\\to\\manual-design\\src\\mcp\\server.ts"]):

{ "mcpServers": { "manual-design": { "command": "npx", "args": ["tsx", "/path/to/manual-design/src/mcp/server.ts"] } } }

Then say "open example.com in Manual Design", rearrange the page, and say "apply my changes".

Tool What it does
open_in_editor Captures a URL (or reopens a snapshot) and opens it in the editor in your browser. Starts npm run dev if it isn't running.
get_design_changes Your edits as the brief above, in Markdown or JSON.
get_page_outline The element tree with ids and boxes; search by text.
apply_edits Claude moves / resizes / scales / hides elements. They appear live in the open editor, and Ctrl+Z undoes them.
list_snapshots Captured pages, newest first.
prompt implement_design_changes "Read the changes and implement them in this codebase."

It talks to the editor's HTTP API, http://localhost:5173 by default. It only uses an editor started from this folder: if another app or another copy of Manual Design holds the port, it starts its own on the next free port (output in .manual-design-dev.log). Set MD_API_URL to pin a port or use a hosted capture server. MD_NO_OPEN=1 stops it opening the browser. Without MCP, Copy for Claude in the editor gives you the same brief to paste.

Captures the tab you're looking at, exactly as you see it: pages behind a sign-in, localhost and dev builds, typed form values, canvas drawings. The page opens in the same editor, bundled inside the extension, and stays in the browser (IndexedDB) until you press Save to Manual Design.

npm run build:extension   # -> dist-extension/

In Chrome or Edge open chrome://extensions, turn on Developer mode, click Load unpacked and pick dist-extension. Then on any page click the Manual Design toolbar button, right-click → Design this page, or press Alt+Shift+D.

  • Uses activeTab : no access to any site until you click the button on it. Your page is not changed or reloaded; the scroll position comes back after the capture.
  • Password field values are never copied. Images that need your sign-in are read from inside the page and inlined.
  • Save to Manual Design uploads the snapshot and its edits to the app's capture API (POST /api/captures ,PUT /api/captures/:id/edits ) and opens it there. The address defaults tohttp://localhost:5173 and is set in the extension's options. Chrome asks once for access to that address.
  • Export HTML andExport edits work offline, straight from the extension.
  • If a site keeps its styles on another domain that blocks reading them (Stripe), the editor shows Copy site styles : one click allows reading those sheets and fonts, then capture again for an exact copy.
  • Known limits: WebGL canvases (3D/animated heroes) usually come out blank, and canvases drawn from other sites' images can't be copied.
  • Browser pages (chrome:// , the Web Store) can't be captured. Forfile:// pages, turn on "Allow access to file URLs" for the extension.
  • npm run test:extension builds it and runs 29 checks in a real Chromium (signed-in fixture page, live page untouched, layout width, viewport units, fixed banners, fonts, inline drag, IndexedDB edits, Save upload).
Action Gesture
Point Move your hand (right hand by default; change it in Tuning)
Grab Pinch thumb and index finger
Let go Open the fingers
Fine adjust Hold your other hand open (or hold Shift): movement is 5x slower
Scale While grabbing, pinch with the other hand and spread or close the hands
Nudge Arrow keys move the selected element 1px (Shift = 10px)
Place freely Hold Alt to ignore snapping and axis lock

The pointer ring fills as you close a pinch, turns orange while dragging, blue in fine mode, and dashed when the drag is d because your fingers started opening.

  1. Scale-invariant pinch. Thumb-index gap divided by palm size, using MediaPipe's metric 3D landmarks, so it behaves the same near or far from the camera.
  2. Hysteresis + dwell. Engages below one threshold, releases above a higher one, and each must hold for ~30-50 ms. No flicker at the boundary. The pinch measure fuses 3D and 2D landmarks.
  3. Stable anchor. The pointer is the palm centre plus an offset to the pinch point; the offset freezes as the fingers close, so pinching never moves the pointer.
  4. One Euro filter on the pointer: heavy smoothing when slow, little lag when fast.
  5. Relative drag with speed-based gain (like mouse acceleration): slow movements are scaled down to ~0.35x for sub-pixel control; fast ones cover distance.
  6. Clean release. On release the element goes back to where it was before the fingers started opening, so letting go never nudges it, without pausing the drag on noisy frames.
  7. Fine-adjust clutch with the other hand (open palm), 0.2x by default.
  8. Robust tracking. The pointer hand is followed by position (MediaPipe's Left/Right label flickers), and hand motion during tracking gaps is ignored.
  9. Calibration learns your open and pinched hand and your tremor, then sets thresholds and filter strength.

The precision tests (tap a 12px dot, drag a box into an outline) report median / mean / worst error in pixels for hand and mouse side by side, so tuning changes can be measured.

Most real layout precision comes from snapping, not from steadier hands.

  • Snapping (snap.ts ) to other elements' edges and centres, the page edges and centre, equal spacing (centred between neighbours, or repeating an existing gap) and an 8px grid. Pink guides show what it snapped to, with gap sizes. Snaps aresticky : once snapped, an element stays until you move clearly past (6px to snap, 11px to let go), so hand jitter never makes it flicker. In fine-adjust mode the snap distance shrinks so you keep control of the last pixels. Two-hand scaling snaps sizes to other elements and the grid.
  • Axis lock (axisLock.ts ): a drag that starts clearly horizontal or vertical is locked to that axis (blue dotted line), so wobble can't knock things out of alignment. Moving 28px sideways breaks the lock.
  • Toggle both in the top bar, tune them under Tuning, hold Alt to bypass. The drag precision test always runs without them, so it keeps measuring raw hand precision.

Press Record while the camera runs, use the playground (the precision tests are ideal: their targets and results are saved too), then Stop. A hand-recording-*.json file downloads. It holds hand landmark coordinates only: no video or images.

npm run replay -- hand-recording.json          # your fps, dropouts, noise, precision results
npm run bench -- hand-recording.json           # benchmark with YOUR camera's noise as a column

Put recordings in tests/recordings/ and npm test replays them automatically as regression tests. Load replays a recording in the playground, which is handy for reproducing a problem.

All trackers implement InputProvider and emit the same 21-point HandFrame, so the gesture engine doesn't care where data comes from.

  • mediapipe.ts : webcam + MediaPipe Hand Landmarker in the browser (GPU, falls back to CPU).
  • recording.ts : record and replay hand data (see above).
  • leap.ts : Ultraleap / Leap Motion via the local tracking WebSocket. Written but untested without hardware.
npm test

Covers the filter, pinch hysteresis, "pinching doesn't move the pointer", slow-drag and fine gain, clean release, jitter while holding a drag, and robustness to noisy tracking (label flicker, dropouts, loose pinches, fast swipes).

npm run bench

Simulated hands with a MediaPipe-like noise model. Results and history: docs/precision-benchmark.md.

Path What lives there
src/capture Turns a live page into an editable snapshot (flatten, CSS freezing, network guard for the cloud)
src/editor The editor app: selection, drag, resize, snapping, axis lock, undo, storage
src/gesture Gesture engine: pinch detection, filtering, calibration
src/input Input providers: MediaPipe webcam, recordings, Leap Motion
src/handoff Turns edits into a design brief for Claude
src/mcp MCP server and its HTTP client
src/server Capture server (local and cloud) and its API
src/extension "Design this page" browser extension
src/home ,src/playground Home page and gesture playground
scripts CLI capture, benchmark, replay and extension tests
tests Vitest suites, fixtures and hand recordings
docs User guide , capture format and HTTP API, precision benchmark history

Contributions are welcome: bug reports, sites that capture badly, gesture tuning, new input devices, docs. Read CONTRIBUTING.md for setup, tests and how to send a pull request. Contributors sign a short Contributor License Agreement on their first pull request. For security problems, follow SECURITY.md instead of opening a public issue.

Copyright (C) 2026 Yessica Maitia and the Manual Design contributors.

Manual Design is free software, licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only). You can use, study, change and share it. If you run a modified version as a network service, you must offer its users the source code of your version.

── more in #ai-agents 4 stories · sorted by recency
── more on @manual design 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-manual-desig…] indexed:0 read:12min 2026-12-01 · —