{"id":23585587,"url":"https://github.com/pythoninthegrass/git_heat_map","last_synced_at":"2025-11-03T05:30:33.317Z","repository":{"id":264917036,"uuid":"866809434","full_name":"pythoninthegrass/git_heat_map","owner":"pythoninthegrass","description":"Find out what files/directories have changed the most in a git repository.","archived":false,"fork":false,"pushed_at":"2025-02-07T22:41:23.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T21:12:50.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythoninthegrass.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}},"created_at":"2024-10-02T23:02:46.000Z","updated_at":"2024-10-02T23:16:15.000Z","dependencies_parsed_at":"2024-11-26T21:16:57.521Z","dependency_job_id":null,"html_url":"https://github.com/pythoninthegrass/git_heat_map","commit_stats":null,"previous_names":["pythoninthegrass/git_heat_map"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fgit_heat_map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fgit_heat_map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fgit_heat_map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fgit_heat_map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythoninthegrass","download_url":"https://codeload.github.com/pythoninthegrass/git_heat_map/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239412485,"owners_count":19634016,"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","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":[],"created_at":"2024-12-27T03:15:37.658Z","updated_at":"2025-11-03T05:30:33.290Z","avatar_url":"https://github.com/pythoninthegrass.png","language":"Shell","readme":"# git_heat_map\n\n`ghm` (`git_heat_map`) is a simple CLI tool to show the most commonly changed files / directories in a git repo.\n\n## Minimum Requirements\n\n* macOS / Linux / WSL\n* [git](https://git-scm.com/)\n* [gum](https://github.com/charmbracelet/gum?tab=readme-ov-file#installation)\n\n## Recommended Requirements\n\n* [asdf](https://asdf-vm.com/)\n\n## Installation\n\n```bash\n# clone repo\ngit clone https://github.com/pythoninthegrass/git_heatmap.git\ncd git_heat_map\n```\n\n\u003e [!NOTE]\n\u003e Symlink the script to a directory in your `$PATH` to run it from anywhere.\n\n```bash\nln -s $(pwd)/git_heat_map.sh ~/.local/bin/ghm\n```\n\n\n## Quickstart\n\n```bash\n# run script as-is\nλ ghm\n  ▌ Git Heat Map Results\n  \n  Changes│File/Folder    \n  ───────┼───────────────\n  2      │git-heat-map   \n  1      │git_heat_map.sh\n  1      │README.md      \n  1      │.tool-versions \n\n# run script with arguments\nλ USE_GUM=true LOG=log ghm 5\n  ▌ Git Heat Map Results\n  \n  Changes│File/Folder    \n  ───────┼───────────────\n  2      │git-heat-map   \n  1      │git_heat_map.sh\n  1      │README.md      \n  1      │.tool-versions\n\nλ USE_GUM=true LOG=both ghm 5\nWed, 02 Oct 2024 18:06:33 CDT INFO Git repository detected at ~/git/git_heatmap\nWed, 02 Oct 2024 18:06:33 CDT INFO Fetching git commit data for 5 results\nWed, 02 Oct 2024 18:06:33 CDT INFO Formatting output\n  ▌ Git Heat Map Results\n  \n  Changes│File/Folder    \n  ───────┼───────────────\n  2      │git-heat-map   \n  1      │git_heat_map.sh\n  1      │README.md      \n  1      │.tool-versions \nWed, 02 Oct 2024 18:06:33 CDT INFO Git heat map generation complete\n\n# check log file\nλ cat /tmp/git_heat_map.log \nWed, 02 Oct 2024 17:49:26 CDT INFO Git repository detected at ~/git/git_heatmap\nWed, 02 Oct 2024 17:49:26 CDT INFO Fetching git commit data for 5 results\nWed, 02 Oct 2024 17:49:26 CDT INFO Formatting output\nWed, 02 Oct 2024 17:49:26 CDT INFO Git heat map generation complete\n```\n\n## Environment Variables\n\n| Variable   | Description                                              |\n|------------|----------------------------------------------------------|\n| `USE_GUM`  | Use gum for styling (default: true)                      |\n| `LOG`      | Log to stdout, log file, both, or false (default: false) |\n| `LOG_DIR`  | Directory to store log file (default: /tmp)              |\n| `LOG_FILE` | Log file name (default: git_heat_map.log)                |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fgit_heat_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythoninthegrass%2Fgit_heat_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fgit_heat_map/lists"}