{"id":36236393,"url":"https://github.com/trasta298/keifu","last_synced_at":"2026-04-01T21:53:22.403Z","repository":{"id":329508818,"uuid":"1119871712","full_name":"trasta298/keifu","owner":"trasta298","description":"Git genealogy, untangled. A TUI for navigating commit graphs with color and clarity.","archived":false,"fork":false,"pushed_at":"2026-03-18T15:20:43.000Z","size":124790,"stargazers_count":694,"open_issues_count":8,"forks_count":17,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-18T18:53:17.026Z","etag":null,"topics":["cli","developer-tools","git","git-graph","ratatui","rust","terminal","tui","visualization"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trasta298.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-12-20T02:28:27.000Z","updated_at":"2026-03-18T03:44:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/trasta298/keifu","commit_stats":null,"previous_names":["trasta298/keifu"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/trasta298/keifu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasta298%2Fkeifu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasta298%2Fkeifu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasta298%2Fkeifu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasta298%2Fkeifu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trasta298","download_url":"https://codeload.github.com/trasta298/keifu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasta298%2Fkeifu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["cli","developer-tools","git","git-graph","ratatui","rust","terminal","tui","visualization"],"created_at":"2026-01-11T06:00:25.301Z","updated_at":"2026-04-01T21:53:22.395Z","avatar_url":"https://github.com/trasta298.png","language":"Rust","readme":"# 🧬 keifu\n\n[![Crate Status](https://img.shields.io/crates/v/keifu.svg)](https://crates.io/crates/keifu)\n[![Built With Ratatui](https://img.shields.io/badge/Built_With-Ratatui-000?logo=ratatui\u0026logoColor=fff\u0026labelColor=000\u0026color=fff)](https://ratatui.rs)\n\n[日本語版はこちら](docs/README_JA.md)\n\nkeifu (系譜, /keːɸɯ/) is a terminal UI tool that visualizes Git commit graphs. It shows a colored commit graph, commit details, and a summary of changed files, and lets you perform basic branch operations.\n\n![Screenshot](docs/win_terminal.png)\n\n## Motivation\n\n- **Readable commit graph** — `git log --graph` is hard to read; keifu renders a cleaner, color-coded graph\n- **Fast branch switching** — With the rise of vibe coding, working on multiple branches in parallel has become common. keifu makes branch switching quick and visual\n- **Keep it simple** — Only basic Git operations are supported; this is not a full-featured Git client\n- **Narrow terminal friendly** — Works well in split panes and small windows\n- **No image protocol required** — Works on any terminal with Unicode support\n\n## Features\n\n- Unicode commit graph with per-branch colors\n- Commit list with branch labels, date, author, short hash, and message (some fields may be hidden on narrow terminals)\n- Commit detail panel with full message and changed file stats (+/-)\n- File diff view with syntax highlighting and word-level change emphasis\n- Git operations: checkout, create/delete branch, fetch\n- Branch search with dropdown UI\n\n## Requirements\n\n- Run inside a Git repository (auto-discovery from current directory)\n- A terminal with Unicode line drawing support and color\n- `git` command in PATH (required for fetch)\n- Rust toolchain (for building from source)\n\n## Installation\n\n### From crates.io\n\n```bash\ncargo install keifu\n```\n\n### With mise\n\n```bash\nmise use -g github:trasta298/keifu@latest\n```\n\n### With Homebrew\n\n```bash\nbrew install trasta298/tap/keifu\n```\n\n### From source\n\n```bash\ngit clone https://github.com/trasta298/keifu \u0026\u0026 cd keifu \u0026\u0026 cargo install --path .\n```\n\n## Usage\n\nRun inside a Git repository:\n\n```bash\nkeifu\n```\n\n## Configuration\n\nSee [docs/configuration.md](docs/configuration.md) for configuration options.\n\n## Keybindings\n\n### Navigation\n\n| Key | Action |\n| --- | --- |\n| `j` / `↓` | Move down |\n| `k` / `↑` | Move up |\n| `]` / `Tab` | Jump to next commit that has branch labels |\n| `[` / `Shift+Tab` | Jump to previous commit that has branch labels |\n| `h` / `←` | Select left branch (same commit) |\n| `l` / `→` | Select right branch (same commit) |\n| `Ctrl+d` | Page down |\n| `Ctrl+u` | Page up |\n| `g` / `Home` | Go to top |\n| `G` / `End` | Go to bottom |\n| `@` | Jump to HEAD (current branch) |\n| `Space` | Open file diff view |\n\n### Git operations\n\n| Key | Action |\n| --- | --- |\n| `Enter` | Checkout selected branch/commit |\n| `b` | Create branch at selected commit |\n| `d` | Delete branch (local, non-HEAD) |\n| `f` | Fetch from origin |\n\n### Search\n\n| Key | Action |\n| --- | --- |\n| `/` | Search branches (incremental fuzzy search) |\n| `↑` / `Ctrl+k` | Select previous result |\n| `↓` / `Ctrl+j` | Select next result |\n| `Enter` | Jump to selected branch |\n| `Esc` / `Backspace` on empty | Cancel search |\n\n### File diff view\n\n| Key | Action |\n| --- | --- |\n| `j` / `k` / `↑` / `↓` | Scroll up/down |\n| `h` / `l` / `←` / `→` | Scroll left/right |\n| `Ctrl+d` / `Ctrl+u` | Half-page down/up |\n| `Ctrl+f` / `Ctrl+b` | Full page down/up |\n| `g` / `G` | Go to top/bottom |\n| `0` | Scroll to line start |\n| `]` / `[` | Jump to next/previous hunk |\n| `n` / `N` | Jump to next/previous file |\n| `Esc` / `q` | Back to file select / close |\n\n### Other\n\n| Key | Action |\n| --- | --- |\n| `R` | Refresh repository data |\n| `?` | Toggle help |\n| `q` / `Esc` | Quit |\n\n## Notes and limitations\n\n- The TUI loads up to 500 commits across all branches.\n- Merge commits are diffed against the first parent; the initial commit is diffed against an empty tree.\n- Changed files are capped at 50. Binary files are shown without line stats.\n- If there are staged, unstaged, or untracked changes, an \"uncommitted changes\" row appears at the top.\n- When multiple branches point to the same commit, the label is collapsed to a single name with a `+N` suffix (e.g., `main +2`). Use `h`/`l` or `←`/`→` to switch between them.\n- Checking out `origin/xxx` creates or updates a local branch. Upstream is set only when creating a new branch. If the local branch exists but points to a different commit, it is force-updated to match the remote.\n- Remote branches are displayed, but delete operations only work with local branches.\n- Fetch requires the `origin` remote to be configured.\n\n## License\n\nMIT\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasta298%2Fkeifu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrasta298%2Fkeifu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasta298%2Fkeifu/lists"}