{"slug": "local-codereview-tool-for-handing-structured-review-to-agent", "title": "Local codereview tool for handing structured review to agent", "summary": "A developer released local-review, a single-user tool for reviewing git branches and exporting structured markdown reviews to coding agents. The tool combines a Go backend with a React frontend into a single binary, using SQLite for persistent draft storage across multiple repositories.", "body_md": "A local, single-user tool for reviewing a git branch, leaving line/range comments,\nand exporting the review as markdown to hand to a coding agent. Go backend + React\nfrontend, shipped as a single binary. See [SPEC.md](/rosenbjerg/local-review/blob/main/SPEC.md) for the design.\n\nThe React app builds into `web/dist`\n\n, which the Go binary embeds — so build the\nfrontend first, then the binary:\n\n```\n# 1. frontend\ncd web\nnpm install\nnpm run build\ncd ..\n\n# 2. single binary (embeds web/dist)\ngo build -o local-review .\n./local-review -root /path/to/folder-of-repos\n```\n\nOpens `http://127.0.0.1:7777`\n\nin your browser. Pick a **repository** (any git repo\ndirectly under the root), then a head branch (base defaults to the merge-base with\n`main`\n\n/`master`\n\n), review the diff, click/drag line numbers to comment, then\n**Export** to preview, copy, or download the markdown.\n\nThe SQLite DB lives next to the binary (`local-review.db`\n\n), keyed by repo path, so\none install serves many repos and resumes each independently; draft reviews are\npruned after `-retention-days`\n\n(default 30).\n\n| flag | default | purpose |\n|---|---|---|\n`-root` |\n`.` |\nfolder containing one or more git repositories |\n`-port` |\n`7777` |\nlisten port |\n`-retention-days` |\n`30` |\nprune draft reviews older than this on startup |\n`-no-open` |\n`false` |\ndon't auto-open the browser |\n\nRun the Go server and the Vite dev server side by side (Vite proxies `/api`\n\nto `:7777`\n\n):\n\n```\n./local-review -root /path/to/folder-of-repos -no-open   # terminal 1\ncd web && npm run dev                                     # terminal 2 → http://localhost:5173\n```\n\n", "url": "https://wpnews.pro/news/local-codereview-tool-for-handing-structured-review-to-agent", "canonical_source": "https://github.com/rosenbjerg/local-review", "published_at": "2026-07-09 07:17:11+00:00", "updated_at": "2026-07-09 07:42:45.429497+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents"], "entities": ["local-review", "Go", "React", "SQLite", "Vite"], "alternates": {"html": "https://wpnews.pro/news/local-codereview-tool-for-handing-structured-review-to-agent", "markdown": "https://wpnews.pro/news/local-codereview-tool-for-handing-structured-review-to-agent.md", "text": "https://wpnews.pro/news/local-codereview-tool-for-handing-structured-review-to-agent.txt", "jsonld": "https://wpnews.pro/news/local-codereview-tool-for-handing-structured-review-to-agent.jsonld"}}