{"id":47951373,"url":"https://github.com/splitbrain/review","last_synced_at":"2026-04-04T09:05:28.342Z","repository":{"id":345770851,"uuid":"1187109125","full_name":"splitbrain/review","owner":"splitbrain","description":"Line based code reviewing (for agentic coding)","archived":false,"fork":false,"pushed_at":"2026-03-30T15:45:50.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T17:38:24.412Z","etag":null,"topics":["codereview","review"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splitbrain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-20T10:55:39.000Z","updated_at":"2026-03-30T15:45:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/splitbrain/review","commit_stats":null,"previous_names":["splitbrain/review"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/splitbrain/review","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Freview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Freview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Freview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Freview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splitbrain","download_url":"https://codeload.github.com/splitbrain/review/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Freview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31393783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codereview","review"],"created_at":"2026-04-04T09:05:23.979Z","updated_at":"2026-04-04T09:05:28.333Z","avatar_url":"https://github.com/splitbrain.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# review\n\nA lightweight, self-contained web-based code review tool. Browse a project's source files, add inline annotations to specific lines, and have everything persisted to a `REVIEW.md` markdown file.\n\nThe tool was vibecoded as a simple way to review agentic coded files. The markdown file created by this tool can be fed back to your coding agent.\n\n## Features\n\n- **File tree navigation** — browse the project with expandable directories\n- **Inline annotations** — click any line to add, edit, or delete review comments\n- **Syntax highlighting** — powered by [Chroma](https://github.com/alecthomas/chroma)\n- **Git status integration** — files and directories are color-coded by git status (modified, staged, untracked, etc.)\n- **Markdown storage** — all annotations are saved to `REVIEW.md` with surrounding code context, making them easy to read and share without the tool\n- **Single binary** — the web frontend is embedded in the Go binary; no external files or dependencies needed at runtime\n\n## Building\n\nRequires **Go 1.24+**.\n\n```sh\ngo build -o review .\n```\n\nor\n\n```sh\nmake\n```\n\n## Usage\n\n```sh\n# Review the current directory on the default port (7070)\n./review\n\n# Review a specific directory on a custom port\n./review -dir /path/to/project -port 8080\n```\n\nThen open `http://localhost:7070` (or your chosen port) in a browser (should happen automatically).\n\n### Flags\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `-dir` | `.` | Root directory of the project to review |\n| `-port` | `7070` | HTTP server port |\n\n## How It Works\n\nThe tool serves a three-panel web UI:\n\n1. **File tree** (left) — project files with git status indicators and comment markers\n2. **Code viewer** (center) — syntax-highlighted source with clickable lines\n3. **Comment sidebar** (right) — list of annotations for the current file and an editor\n\nAnnotations are stored in memory and flushed to `REVIEW.md` in the project root on every change. The markdown file groups comments by file and includes a few lines of code context around each annotated line, so it remains useful on its own.\n\n## API\n\nThe tool exposes a JSON API for the frontend:\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| `GET` | `/api/tree` | File tree structure |\n| `GET` | `/api/file?path=\u003cpath\u003e` | Syntax-highlighted file content |\n| `GET` | `/api/annotations?path=\u003cpath\u003e` | Annotations (all or per-file) |\n| `POST` | `/api/annotations` | Create or update an annotation |\n| `DELETE` | `/api/annotations` | Delete an annotation |\n| `GET` | `/api/git-status` | Git status for all files |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplitbrain%2Freview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplitbrain%2Freview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplitbrain%2Freview/lists"}