GitHub - rosenbjerg/local-review: Minimal webapp for local code review of branches · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
rosenbjerg
local-review
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>23 Commits<br>23 Commits
.github/workflows
.github/workflows
internal
internal
web
web
.gitattributes
.gitattributes
.gitignore
.gitignore
CLAUDE.md
CLAUDE.md
LICENSE
LICENSE
README.md
README.md
SPEC.md
SPEC.md
go.mod
go.mod
go.sum
go.sum
main.go
main.go
start.sh
start.sh
View all files
Repository files navigation
local-review
A local, single-user tool for reviewing a git branch, leaving line/range comments,<br>and exporting the review as markdown to hand to a coding agent. Go backend + React<br>frontend, shipped as a single binary. See SPEC.md for the design.
Build
The React app builds into web/dist, which the Go binary embeds — so build the<br>frontend first, then the binary:
# 1. frontend<br>cd web<br>npm install<br>npm run build<br>cd ..
# 2. single binary (embeds web/dist)<br>go build -o local-review .
Run
./local-review -root /path/to/folder-of-repos
Opens http://127.0.0.1:7777 in your browser. Pick a repository (any git repo<br>directly under the root), then a head branch (base defaults to the merge-base with<br>main/master), review the diff, click/drag line numbers to comment, then<br>Export to preview, copy, or download the markdown.
The SQLite DB lives next to the binary (local-review.db), keyed by repo path, so<br>one install serves many repos and resumes each independently; draft reviews are<br>pruned after -retention-days (default 30).
Flags
flag<br>default<br>purpose
-root<br>folder containing one or more git repositories
-port<br>7777<br>listen port
-retention-days<br>30<br>prune draft reviews older than this on startup
-no-open<br>false<br>don't auto-open the browser
Develop
Run the Go server and the Vite dev server side by side (Vite proxies /api to :7777):
./local-review -root /path/to/folder-of-repos -no-open # terminal 1<br>cd web && npm run dev # terminal 2 → http://localhost:5173
About
Minimal webapp for local code review of branches
Resources
Readme
License
GPL-3.0 license
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
v0.0.2
Latest
Jul 8, 2026
+ 1 release
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
TypeScript<br>48.9%
Go<br>38.3%
CSS<br>11.7%
Other<br>1.1%
You can’t perform that action at this time.