r/coolgithubprojects • u/nandhu-44 • 1h ago
I made a free tool to time travel through your Git history (web UI + VS Code extension)
Hi! I made git-tm (tm stands for time machine). It started as a hackathon project, and I have been polishing it recently.
Run npx git-tm in any repo and it opens in your browser. There's also a VS Code extension.
The main thing is time travel: pick any two points in your history and see what changed between them or drag a slider to step through it one commit at a time.
It also has a commit graph, diffs, blame, the history of any line, a reflog view to find lost commits, and some activity stats.
It only reads your repo unless you turn on edit mode. Then you can reword, squash, drop or revert commits, and every change is previewed and can be undone with one click.
No dependencies, runs only on your machine, no account and no tracking. Free and open source.
I would love feedback and ideas on the project. Contributions are always welcome :)
Here are the links:
Website (docs): https://git-time-machine.js.org
Github (code, issues and discussions): https://github.com/nandhu-44/Git-Time-Machine
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=nandhu-44.git-tm
Open VSX (Cursor, Windsurf, VSCodium): https://open-vsx.org/extension/nandhu-44/git-tm
npm (command-line tool): https://www.npmjs.com/package/git-tm