{"id":23174132,"url":"https://github.com/dhth/commits","last_synced_at":"2025-08-18T09:30:51.511Z","repository":{"id":233631235,"uuid":"787512529","full_name":"dhth/commits","owner":"dhth","description":"Glance at git commits through a simple TUI","archived":false,"fork":false,"pushed_at":"2025-08-14T15:25:29.000Z","size":72,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-14T16:24:20.985Z","etag":null,"topics":["git","tui"],"latest_commit_sha":null,"homepage":"https://tools.dhruvs.space/commits","language":"Go","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/dhth.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}},"created_at":"2024-04-16T17:01:52.000Z","updated_at":"2025-08-14T15:25:33.000Z","dependencies_parsed_at":"2024-04-17T00:35:30.641Z","dependency_job_id":"32e3225e-ba65-41cd-b730-b0f7e7036be6","html_url":"https://github.com/dhth/commits","commit_stats":null,"previous_names":["dhth/commits"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dhth/commits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fcommits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fcommits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fcommits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fcommits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhth","download_url":"https://codeload.github.com/dhth/commits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fcommits/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270488765,"owners_count":24592452,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"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","tui"],"created_at":"2024-12-18T05:19:21.713Z","updated_at":"2025-08-18T09:30:51.505Z","avatar_url":"https://github.com/dhth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003ecommits\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/dhth/commits/actions/workflows/main.yml\"\u003e\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/dhth/commits/main.yml?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/dhth/commits/actions/workflows/vulncheck.yml\"\u003e\u003cimg alt=\"vuln check\" src=\"https://img.shields.io/github/actions/workflow/status/dhth/commits/vulncheck.yml?style=flat-square\u0026label=vulncheck\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n`commits` lets you glance at git commits through a simple TUI.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://tools.dhruvs.space/images/commits/commits.gif\" alt=\"Usage\" /\u003e\n\u003c/p\u003e\n\n🛠️ Pre-requisites\n---\n\n- `git` (only if you want to use `commits` to see diffs)\n\n💾 Installation\n---\n\n**go**:\n\n```sh\ngo install github.com/dhth/commits@latest\n```\n\n⚡️ Usage\n---\n\n`commits` can receive its configuration via command line flags, and/or a TOML\nconfig file. The default location for this config file is\n`~/.config/commits/commits.toml`.\n\n```toml\n# commit messages that match \"ignore_pattern\" will not be shown in the TUI list\nignore_pattern = '^\\[regex\\]'\n\n# editor_command is run when you press ctrl+d; {{revision}} is replaced at\n# runtime with a revision range\neditor_command = [ \"nvim\", \"-c\", \":DiffviewOpen {{revision}}\" ]\n```\n\n```bash\ncommits -path='/path/to/git/repo'\ncommits -ignore-pattern='^\\[regex\\]'\ncommits -config-file-path='/path/to/config/file.toml'\n```\n\nReference Manual\n---\n\n```\ncommits Reference Manual\n\ncommits has 4 views:\n    - Commit List View\n    - Commit Details View\n    - Branch List View\n    - Help View\n\nKeyboard Shortcuts\n\n   General\n\n       \u003ctab\u003e                           Switch focus between Commit List View and Commit Details View\n       \u003cctrl+d\u003e                        Open commit/revision range in your text editor (depends\n                                       on editor_command in your config file)\n       \u003cctrl+x\u003e                        Clear revision range selection\n       \u003cctrl+b\u003e                        Change branch\n       ?                               Show help view\n\n   Commit List View\n\n       \u003center\u003e                         Show commit/revision range\n       \u003cctrl+t\u003e                        Choose revision range start/end\n       \u003cctrl+p\u003e                        Show git log\n\n   Commit Details View\n\n       \u003center\u003e                         Show commit/revision range\n       h/[                             Go to previous commit\n       l/]                             Go to next commit\n\n   Branch List View\n\n       \u003center\u003e                         Pick branch\n       /                               Start filtering\n\n```\n\nScreenshots\n---\n\n![Screen 1](https://tools.dhruvs.space/images/commits/commits-1.png)\n\n![Screen 2](https://tools.dhruvs.space/images/commits/commits-2.png)\n\nAcknowledgements\n---\n\n`commits` is built using [bubbletea][1].\n\n[1]: https://github.com/charmbracelet/bubbletea\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhth%2Fcommits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhth%2Fcommits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhth%2Fcommits/lists"}