Git Heat Map

Dev tools

git visualisation

SHOW HN2023

173points
39comments
#345of 3,109 in 2023
Top 12%of 2023 by points

How HN took it

MixedNo clear lean

7 positive, 8 neutral or asking, 2 mixed, 4 critical, out of 21 comments about the project. Thread score +0.17.

Idea: 5 for, 0 againstPerformance: 2 for, 0 againstExecution: 0 for, 2 againstDocs: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Looks useful and cool, treemap visualisation appreciated

    From 3 comments
    • I wonder if this can be done faster using the same approach as git-filter-repo or bfg. 68 minutes for something like this is a long time. Otherwise looks really cool.
      thecodrr on HN
    • Looks useful on big repositories! https://github.com/nixos/nixpkgs/ would be a great benchmark for a tool like this :) One of the larger repos on github, close to half a million…
      phaer on HN
    • This is cool. The visualization reminds me of the visualization of QDirStat/WinDirStat. Also shout out to the (mostly useless but cool looking) git history visualizer, Gource[0].…
      darknavi on HN
  • Useful for finding hot spots and refactoring targets

    From 2 comments
    • Great that is one of the tools I had somewhere on the back of my head. Nice to see which parts are changing the most in a project to maybe see if it should be improved or at…
      ozim on HN
    • I want to do some whitespace refactoring on the files in our project. File activity is useful for that since then I can change files that no one is likely to be touching.
      nativecoinc on HN

Objections

  • Install process is unclear and needs manual steps

    From 2 comments
    • After cloning, I had to change the perms of the .sh files, install flask via pip and hope for the best. I wasn't sure what Python version to use, I used some 3.x. It would be…
      aren55555 on HN
    • Looks great! Thanks for your work on this. I had the same minor install issue, specifically needed to do the following: ``` >chmod +x git-log-format.sh generate-db.sh >python -m…
      matt_trentini on HN
  • Crashes on some input

    From 1 comment
    • It didn't work for me: ``` File "git-database.py", line 263, in <module> main() File "git-database.py", line 247, in main last_commit = handle_commit(cur, lines) File…
      jemmyw on HN
  • Slow on large repos

    From 2 comments
    • I wonder if this can be done faster using the same approach as git-filter-repo or bfg. 68 minutes for something like this is a long time. Otherwise looks really cool.
      thecodrr on HN
    • I experimented earlier to push the limits of SQLite inserts and wrote a blog post[0] about it. We can apply some of the learnings here. I reviewed the OP's code and did some…
      avinassh on HN
  • Depends on shell scripts and is not cross-platform

    From 1 comment
    • i'm not sure why it needs sh to begin with. At a glance the sh script can be trivially replaced by native python. And it would make it work cross-platform (i.e. on Windows).
      thrdbndndn on HN

Requests

  • Show additions, deletions and modifications separately

    From 1 comment
    • I love this, thanks! It would be nice if the heatmap showed addition, deletion, and possibly modification separately. I can't think of suitable visualization methods, but if I…
      hamasho on HN
  • Add function or line level granularity

    From 2 comments
    • I sometimes think of similar tool that would give you this information on a more fine grained level. Like functions, scopes or lines.
      herrvogel- on HN
    • This is really cool. Some other things might want to be able to visualize are this + a recency filter, or this + treesitter support, in order to be able to query eg which classes…
      pizza on HN
  • Provide Docker setup

    From 1 comment
    • After cloning, I had to change the perms of the .sh files, install flask via pip and hope for the best. I wasn't sure what Python version to use, I used some 3.x. It would be…
      aren55555 on HN
  • Support non-GitHub hosts

    From 2 comments
    • The OP works on Git. This project only works on Microsoft GitHub.
      toastal on HN
    • The GitHub Actions on only references `/github/` and is only available through the proprietary forge. The gallery only shows `$USER_ORG/$REPO_NAME`. While seemingly subtle, it's…
      toastal on HN

Questions

  • Can it be made faster using batch inserts or parallelism

    From 2 comments
    • I wonder if this can be done faster using the same approach as git-filter-repo or bfg. 68 minutes for something like this is a long time. Otherwise looks really cool.
      thecodrr on HN
    • I experimented earlier to push the limits of SQLite inserts and wrote a blog post[0] about it. We can apply some of the learnings here. I reviewed the OP's code and did some…
      avinassh on HN
  • How does the email highlighting work

    From 1 comment
    • Looks great! Thanks for your work on this. I had the same minor install issue, specifically needed to do the following: ``` >chmod +x git-log-format.sh generate-db.sh >python -m…
      matt_trentini on HN

Alternatives named

  • Gource

    From 1 comment
    • This is cool. The visualization reminds me of the visualization of QDirStat/WinDirStat. Also shout out to the (mostly useless but cool looking) git history visualizer, Gource[0].…
      darknavi on HN
  • WinDirStat / QDirStat

    From 1 comment
    • This is cool. The visualization reminds me of the visualization of QDirStat/WinDirStat. Also shout out to the (mostly useless but cool looking) git history visualizer, Gource[0].…
      darknavi on HN
  • Repography

    From 1 comment
    • This is similar to the Structure dashboard in Repography [1] which is a web app I built, with the added advantage that it's kept up to date automatically so you can embed it in…
      arraypad on HN
  • CodeScene

    From 1 comment
    • There's also Adam Tornhill's [0] Codescene. [1] [0] https://www.amazon.com/Books-Adam-Tornhill/s?rh=n%3A283155%2Cp_27%3AAdam+Tornhill [1] https://codescene.com/
      nickcox on HN
  • Seerene

    From 1 comment
    • If you are an org with a large codebase and want to get many more insights, there is Seerene, it's commercial but takes the idea of repo analysis to the extremes (not affiliated,…
      jeffreygoesto on HN
  • WakaTime

    From 1 comment
    • WakaTime just released the same feature 4 days ago using IDE activity instead of commits. [0] Scroll to the bottom to see the bubble chart screenshot. [0]…
      welder on HN
  • codeatlas.dev

    From 1 comment
    • If you think this is useful, you might also like codeatlas.dev and its Github Action (https://github.com/codeatlasHQ/codebase-visualizer-action). It currently does not support…
      Weidenwalker on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/34563851)