https://github.com/zortos293/t3code-pr-navigator
https://github.com/zortos293/t3code-pr-navigator
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zortos293/t3code-pr-navigator
- Owner: zortos293
- Created: 2026-03-15T20:52:39.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-03-16T02:41:49.000Z (4 months ago)
- Last Synced: 2026-03-16T08:53:49.948Z (4 months ago)
- Language: TypeScript
- Size: 2.75 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# PR Navigator
A visual board for navigating GitHub issues and pull requests. Add repositories, fetch live data from the GitHub API, and see issues/PRs displayed as interactive nodes with "solved by" relationship edges.
## Features
- **Repository Management** — Add repos by URL or `owner/repo`, sync data from GitHub
- **Interactive Board** — React Flow canvas with draggable issue and PR nodes
- **Label Badges** — Styled badges for `vouch:`, `size:`, `bug`, `enhancement` labels
- **Line Stats** — Shows `+additions` / `-deletions` on each PR card
- **Relationship Mapping** — Draw edges between issues and PRs to mark "solved by"
- **OpenCode Analysis** — Optional OpenCode Go integration for automatic relationship detection and duplicate finding
- **Dark Mode** — Light / Auto / Dark theme toggle
- **SQLite Storage** — Local database via better-sqlite3
## Quick Start
```bash
cp .env.example .local.env
# Add your GITHUB_TOKEN and OPENCODE_GO_API_KEY to .local.env
bun install
bun dev
```
Open [http://localhost:3000](http://localhost:3000).
This repository uses Bun as its package manager and commits `bun.lock` as the only lockfile.
## Environment Variables
| Variable | Required | Description |
|---|---|---|
| `GITHUB_TOKEN` | Recommended | GitHub personal access token (increases API rate limits) |
| `OPENCODE_GO_API_KEY` | Optional | OpenCode Go API key used for OpenCode analysis |
| `OPENCODE_GO_MODEL` | No | OpenCode Go chat-completions model id (default: `kimi-k2.5`) |
| `DATABASE_URL` | No | SQLite database path (default: `./data/pr-navigator.db`) |
## Tech Stack
- Next.js 16 (App Router)
- React 19
- React Flow (`@xyflow/react`)
- SQLite (better-sqlite3)
- Tailwind CSS 4
- Octokit (GitHub REST API)
- Lucide React (icons)