{"id":28963484,"url":"https://github.com/nerdo/code-reviewer","last_synced_at":"2025-06-24T04:11:20.895Z","repository":{"id":297994935,"uuid":"998511461","full_name":"nerdo/code-reviewer","owner":"nerdo","description":"A tool for reviewing changes in code.","archived":false,"fork":false,"pushed_at":"2025-06-08T19:50:46.000Z","size":35424,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-08T20:32:18.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/nerdo.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}},"created_at":"2025-06-08T19:05:15.000Z","updated_at":"2025-06-08T19:50:51.000Z","dependencies_parsed_at":"2025-06-08T20:42:56.690Z","dependency_job_id":null,"html_url":"https://github.com/nerdo/code-reviewer","commit_stats":null,"previous_names":["nerdo/code-reviewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nerdo/code-reviewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Fcode-reviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Fcode-reviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Fcode-reviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Fcode-reviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdo","download_url":"https://codeload.github.com/nerdo/code-reviewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Fcode-reviewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261601528,"owners_count":23183097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-06-24T04:11:20.265Z","updated_at":"2025-06-24T04:11:20.884Z","avatar_url":"https://github.com/nerdo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @nerdo/code-reviewer\n\nA modern, web-based visual git diff tool for reviewing code changes between commits, branches, and tags.\n\n## Features\n\n- 🔍 **Universal Search**: Search commits by hash, message, author, or date\n- 📅 **Smart Date Filtering**: Quick presets (Today, Last 7 days, etc.) or custom ranges  \n- 🌲 **Branch \u0026 Tag Support**: Compare any combination of branches, tags, and commits\n- 📁 **File Browser**: Navigate through changed files with syntax highlighting\n- 👁️ **Multiple Views**: Side-by-side, inline, or unchanged file views\n- 🎯 **Intelligent Highlighting**: Visual indicators for additions, deletions, and changes\n- ⚡ **Fast \u0026 Responsive**: Built with React and optimized for performance\n\n## Installation \u0026 Usage\n\n### Quick Start (Recommended)\n\nRun directly in any git repository:\n\n```bash\nnpx @nerdo/code-reviewer\n```\n\n### Global Installation\n\n```bash\nnpm install -g @nerdo/code-reviewer\ncode-reviewer\n```\n\n### Options\n\n```bash\nnpx @nerdo/code-reviewer [options]\n\nOptions:\n  -p, --port \u003cport\u003e    Port to run on (default: 3001)\n  -h, --help          Show help message\n  --version           Show version\n\nExamples:\n  npx @nerdo/code-reviewer\n  npx @nerdo/code-reviewer --port 8080\n```\n\n## How to Use\n\n1. **Navigate to a git repository** in your terminal\n2. **Run the command**: `npx @nerdo/code-reviewer`\n3. **Your browser opens automatically** to the code review interface\n4. **Select what to compare**:\n   - Choose FROM: branch, tag, or commit\n   - Choose TO: branch, tag, or commit  \n   - Apply date filters if needed\n5. **Review the changes**:\n   - Browse files in the left sidebar\n   - View diffs in side-by-side or inline mode\n   - Use universal search to find specific commits\n\n## Interface Overview\n\n### Selection Controls\n- **Branch/Tag Tabs**: Switch between branches and tags\n- **Autocomplete Search**: Type to filter and find branches, tags, or commits\n- **Date Filters**: Filter commits by time ranges (Today, Last 7 days, custom dates)\n- **Universal Search**: Search commits by hash, message, author, or date\n\n### Diff Views\n- **Side-by-side**: Traditional two-column diff view\n- **Inline**: Unified diff with changes highlighted inline\n- **Unchanged**: View complete file content without diff highlighting\n\n### File Browser\n- **Tree Structure**: Navigate files and folders\n- **Change Indicators**: See which files were added, modified, or deleted\n- **Quick Navigation**: Click any file to jump to its diff\n\n## Requirements\n\n- **Node.js**: Version 16 or higher\n- **Git**: Must be run from within a git repository\n- **Browser**: Modern browser with JavaScript enabled\n\n## Development\n\n### Available Scripts\n\n- `npm run dev` - Start both client and server in development mode\n- `npm run test` - Run the test suite\n- `npm run test:watch` - Run tests in watch mode\n- `npm run lint` - Run ESLint\n- `npm run typecheck` - Run TypeScript type checking\n- `npm run build` - Build the production bundle\n\n### Project Structure\n\n```\nsrc/\n├── components/           # React components\n│   ├── ui/              # shadcn/ui components\n│   ├── FileBrowser.tsx  # File tree navigation\n│   └── DiffViewer.tsx   # Diff display component\n├── domain/              # Core business logic\n│   ├── entities/        # Domain entities\n│   ├── repositories/    # Repository interfaces\n│   └── services/        # Domain services\n├── infrastructure/      # External integrations\n│   └── git/            # Git repository implementations\n├── server/              # Express.js API\n│   └── routes/         # API endpoints\n└── services/            # Frontend API client\n```\n\n## Testing\n\nThe project includes comprehensive tests for:\n\n- Domain services (DiffService, FileTreeService)\n- React components (FileBrowser, DiffViewer)\n- Git repository implementations\n- Core entities and business logic\n\nRun tests with:\n```bash\nnpm test\n```\n\n## Technologies Used\n\n- **Frontend**: React, TypeScript, Tailwind CSS, shadcn/ui\n- **Backend**: Node.js, Express.js, TypeScript\n- **Git Integration**: simple-git\n- **Testing**: Jest, React Testing Library\n- **Build Tools**: Vite, TypeScript compiler\n- **Linting**: ESLint\n\n## License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdo%2Fcode-reviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdo%2Fcode-reviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdo%2Fcode-reviewer/lists"}