{"id":47755790,"url":"https://github.com/hjr265/gittop","last_synced_at":"2026-04-03T04:17:54.061Z","repository":{"id":344236706,"uuid":"1180183116","full_name":"hjr265/gittop","owner":"hjr265","description":"A beautiful terminal UI for visualizing Git repository statistics, inspired by htop/btop.","archived":false,"fork":false,"pushed_at":"2026-03-28T08:52:10.000Z","size":1209,"stargazers_count":102,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-28T13:11:26.408Z","etag":null,"topics":["bubbletea","cli","data-visualization","developer-tools","git","git-stats","go-git","golang","lipgloss","terminal","terminal-ui","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hjr265.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-12T19:35:48.000Z","updated_at":"2026-03-28T09:59:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hjr265/gittop","commit_stats":null,"previous_names":["hjr265/gittop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hjr265/gittop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Fgittop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Fgittop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Fgittop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Fgittop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hjr265","download_url":"https://codeload.github.com/hjr265/gittop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Fgittop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31333234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T03:20:36.090Z","status":"ssl_error","status_checked_at":"2026-04-03T03:20:35.133Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bubbletea","cli","data-visualization","developer-tools","git","git-stats","go-git","golang","lipgloss","terminal","terminal-ui","tui"],"created_at":"2026-04-03T04:17:53.463Z","updated_at":"2026-04-03T04:17:54.045Z","avatar_url":"https://github.com/hjr265.png","language":"Go","readme":"# GitTop\n\nA beautiful terminal UI for visualizing Git repository statistics, inspired by htop/btop.\n\n![Go](https://img.shields.io/badge/Go-1.26+-00ADD8?logo=go\u0026logoColor=white)\n\n![Summary — KPI cards and commit activity chart](screenshots/summary.png)\n\nPrototyped rapidly with an agentic coding tool. Read the [blog post](https://hjr265.me/blog/building-gittop-with-agentic-coding/).\n\n## Install\n\n### Arch Linux (AUR)\n\n``` sh\nyay -S gittop\n```\n\n### Homebrew\n\n``` sh\nbrew install hjr265/gittop/gittop\n```\n\n### Go\n\n``` sh\ngo install github.com/hjr265/gittop@latest\n```\n\nOr build from source:\n\n``` sh\ngit clone https://github.com/hjr265/gittop.git\ncd gittop\ngo build -o gittop .\n```\n\n## Usage\n\n``` sh\ngittop               # visualize the current directory's Git repo\ngittop /path/to/repo\n```\n\nWhen no path is given, GitTop also respects the `GIT_DIR` and `GIT_WORK_TREE` environment variables.\n\n## Tabs\n\n| # | Tab | What it shows |\n|---|-----|---------------|\n| 1 | **Summary** | KPI cards (total commits, active days, peak day, time span, latest release) + area chart (braille or block) |\n| 2 | **Activity** | Heatmap, by-hour, by-weekday, by-month distributions |\n| 3 | **Contributors** | Split panel: ranked list (left) + per-author detail with cadence, schedule, top files (right) |\n| 4 | **Branches** | Sortable table with last commit, author, ahead/behind counts |\n| 5 | **Files** | Largest files, most churn, most authors, stalest files, language breakdown |\n| 6 | **Releases** | Tag timeline and release cadence chart |\n| 7 | **Commits** | Scrollable commit log with diff viewer and search |\n\n## Screenshots\n\n| | |\n|---|---|\n| ![Activity — By Hour](screenshots/activity.png) | ![Activity — Filtered by author](screenshots/activity-filtered.png) |\n| ![Contributors — Author detail](screenshots/contributors.png) | ![Files — Language breakdown](screenshots/files.png) |\n| ![Releases — Tag timeline](screenshots/releases.png) | ![Commits — Log](screenshots/commits.png) |\n\n## Keys\n\n| Key | Action |\n|-----|--------|\n| `1`–`7` | Switch tab |\n| `Tab` / `Shift+Tab` | Next / previous tab |\n| `+` / `-` | Widen / narrow date range (3m, 6m, 1y, 2y, 5y, all) |\n| `/` | Open global filter (`author:\"name\"`, `path:*.go`, `branch:main`, `\"keyword\"`, `and`/`or`/`not`) |\n| `Esc` | Clear filter or page-local search |\n| `r` | Refresh (re-scan repository) |\n| `d` / `w` / `m` / `y` | Chart granularity: daily, weekly, monthly, yearly (Summary) |\n| `v` | Cycle sub-views (Activity, Contributors, Files, Releases) |\n| `f` | File path filter (Files tab) |\n| `s` / `S` | Sort column / toggle order (Branches); search (Commits) |\n| `j` / `k` | Scroll down / up |\n| `g` / `G` | Jump to top / bottom |\n| `Enter` | Open commit diff (Commits) |\n| `o` | Open options menu (color theme, truecolor, graph symbol) |\n| `q` | Quit |\n\n## Recommended Setup\n\nFor best results with the block character bar charts:\n\n- **Terminal:** Kitty, Alacritty, or WezTerm\n- **Font:** JetBrains Mono, Iosevka, or Fira Code\n\n## License\n\nBSD 3-Clause License. See [LICENSE](LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjr265%2Fgittop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhjr265%2Fgittop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjr265%2Fgittop/lists"}