{"id":50893435,"url":"https://github.com/jxdones/marten","last_synced_at":"2026-06-15T22:31:22.525Z","repository":{"id":361537545,"uuid":"1228446260","full_name":"jxdones/marten","owner":"jxdones","description":"A fast terminal workspace for reviewing local Git changes before they become a PR/MR","archived":false,"fork":false,"pushed_at":"2026-06-09T00:47:43.000Z","size":270,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-09T02:24:45.984Z","etag":null,"topics":["git","ratatui","tui"],"latest_commit_sha":null,"homepage":"","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/jxdones.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":"2026-05-04T02:54:34.000Z","updated_at":"2026-06-09T00:47:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jxdones/marten","commit_stats":null,"previous_names":["jxdones/marten"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jxdones/marten","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxdones%2Fmarten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxdones%2Fmarten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxdones%2Fmarten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxdones%2Fmarten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jxdones","download_url":"https://codeload.github.com/jxdones/marten/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxdones%2Fmarten/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34383468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["git","ratatui","tui"],"created_at":"2026-06-15T22:31:21.733Z","updated_at":"2026-06-15T22:31:22.517Z","avatar_url":"https://github.com/jxdones.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ch2\u003emarten\u003c/h2\u003e\n  \u003c/p\u003e\n  \u003cp\u003eA fast terminal workspace for reviewing local Git changes before they become a PR/MR.\u003c/p\u003e\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![Rust](https://img.shields.io/badge/rust-1.85%2B-orange.svg)\n[![Built With Ratatui](https://ratatui.rs/built-with-ratatui/badge.svg)](https://ratatui.rs/)\n![Status](https://img.shields.io/badge/status-early%20development-yellow.svg)\n\u003c/div\u003e\n\n## What is marten?\n\nmarten is a Rust Git TUI for reviewing your own work without leaving the terminal.\n\nIt opens inside a Git repository and gives you a focused view of your working tree, changed files, and diffs so you can inspect your changes before committing, pushing, or opening a pull/merge request.\n\nmarten is currently focused on local working-tree review. Remote PR/MR review, additional Git views, and review-oriented workflows are planned.\n\n## What it does\n\nmarten currently supports:\n\n- changed files grouped by status in a collapsible tree\n- insertion/deletion counts per file\n- staged, unstaged, partial, untracked, and conflicted file states\n- continuous review mode where all files flow as one scrollable document, sidebar selection follows scroll position\n- single-file mode where sidebar selection controls which file is shown\n- diff hunks for the selected file\n- hunk navigation and diff scrolling\n- optional diff line numbers\n- repository, branch, ahead/behind, and change counts in the top bar\n- repository refresh without leaving the TUI\n\n## Why?\n\nCode review often starts before a PR or MR exists. marten is meant for that moment when you want to quickly\ninspect your own changes, move through files and hunks, and catch obvious mistakes while staying in your terminal.\n\n## Install\n\n```bash\nmake install\n```\n\nRequires Rust 1.85 or newer.\n\n## Run locally\n\n```bash\nmake run\n```\n\nRun `marten` from inside a Git repository.\n\n```bash\nmarten\n```\n\n## Keybindings\n\n| Key | Action |\n| --- | --- |\n| `tab` / `shift+tab` | Move focus between panels |\n| `0` | Focus diff |\n| `1` | Focus files |\n| `j` / `k` | Navigate files or scroll the diff |\n| `g` / `G` | Jump to first or last file |\n| `enter` / `space` | Collapse or expand the selected directory |\n| `[` / `]` | Move between diff hunks |\n| `l` | Toggle diff line numbers |\n| `v` | Toggle between continuous and single-file review mode |\n| `r` | Refresh repository state |\n| `q` / `ctrl+c` | Quit |\n\n## Development\n\nTo see all the available options, run `make help`.\n\n```bash\nmake build\nmake run-release\nmake check\nmake test\nmake lint\nmake fmt\nmake ci\nmake ci-full\n```\n\nFor UI testing with local untracked files:\n\n```bash\nmake dev-files\nmake clean-dev-files\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjxdones%2Fmarten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjxdones%2Fmarten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjxdones%2Fmarten/lists"}