Show HN: Gmap: A fast command-line tool to explore Git activity

github.com

2 points by seeyebe 21 hours ago

Hey folks,

I just released a new CLI tool called gmap, built in Rust, focused on exploring Git history visually and efficiently from your terminal.

Highlights: • Heatmap view: weekly commit activity with churn and delta stats • Filetype breakdown: see which file extensions are most active • Authorship insight: per-week top contributors • Timeline and trends: sparkline and stats over time • TUI mode (–tui): navigate interactively, search, filter, view stats • Export mode: get all Git stats as JSON for further processing

Install with:

cargo install gmap

Or check it out here: https://github.com/seeyebe/gmap

Let me know what you think. Feedback welcome!

fartbagxp 9 hours ago

This is darn neat!

I installed this via mise. `mise use ubi:seeyebe/gmap --global`. I noticed I had to run `gmap heat` to generate a cache folder and db locally before running `gmap heat tui`, otherwise nothing shows up.

It's scary to have the cache folder locally because I could accidently check that in if I don't place it in a .gitignore; is there a better way to handle something like that?

  • seeyebe 2 hours ago

    Ah yeah, that changed recently, you now can use the tui and it will fetch anyways.

    Good shout on the cache folder. Right now it just lives locally (.gmap), so yeah adding it to .gitignore is the way to go for now. I’ve been thinking about better ways to handle it. maybe an XDG-compatible path or something configurable. If a better idea comes up, I’ll def switch to it.

    Thanks for trying it out!