You changed twenty files, your site broke, and you never ran git init. Now what?
That happened to me one too many times, so I built SnapTrack: a free VS Code extension that gives you Git-style change tracking for any folder, with no Git, no terminal and no setup.
π Install: SnapTrack on the VS Code Marketplace (or search "SnapTrack" in the Extensions panel)
Why not just use Git?
Git is amazing. But for a quick prototype, a client's HTML folder or a student project, init β add β commit β branches β remotes feels heavy. And Ctrl+Z dies the moment you close the file.
I wanted four things:
- See what changed
- Review the diff
- Confirm it (like a commit)
- Or throw it away
How it works for you
Open any folder β Source Control β click + Start Tracking. SnapTrack saves a first snapshot (big files like videos are skipped automatically).
From then on, every edit shows up in Source Control with M (modified), A (added) and D (deleted), the same letters appear in the Explorer, and the editor gutter marks the changed lines. Click a file and you get a real side-by-side diff:
- Commit: type a message, press Ctrl+Enter. SnapTrack shows exactly what will be saved and asks you to confirm.
- Discard: click the discard arrow on a file. It asks first, and saves a safety checkpoint before throwing anything away, so even a discard can be undone.
New in 1.1
- History sidebar: every commit and checkpoint; expand one to see its files, click for the diff, right-click to compare any two commits.
- File History: every saved version of the file you have open.
- Auto checkpoints: every 10 minutes (if something changed) a silent snapshot is saved. It never touches your Changes list. A small time machine.
- Restore Project: roll the whole folder back to any commit (your current work is checkpointed first).
- Undo Last Commit: files stay as they are, the changes and message come back.
-
Export: changes as a
.patch, any commit as a.zip. Clean Up Storage prunes old checkpoints.
How it works inside
It's built like Git, just smaller:
- Every file is hashed with SHA-1 and compressed with zlib; identical files are stored once (content-addressed objects in
.snaptrack/objects/ab/cdefβ¦). - A commit is just a JSON list of file paths and hashes (
commits.json), plus an index cache (size + mtime β hash) so unchanged files aren't re-read. - Everything lives in one hidden
.snaptrackfolder in your project. Delete it and tracking stops. Nothing is uploaded anywhere. - Skip folders with a
.snaptrackignorefile (same style as.gitignore). - There's also a small CLI:
snaptrack status | diff | commit -m "..." | log | restore.
The diff view, gutter markers and M/A/D badges come from VS Code's own Source Control API, so it feels native.
Try it
- Marketplace: https://marketplace.visualstudio.com/items?itemName=seeb4coding.snaptrack
- GitHub (open source): https://github.com/seeb4coding/snaptrack
- Source code + VSIX: https://drive.google.com/drive/folders/1S7q3EGcw6joydyjKb6ExmU65ac-nxNbE
- Full walkthrough video: on my YouTube channel @seeb4coding
Would you use something like this instead of Git for small projects? I'd love feedback, bug reports and feature ideas in the comments.
π seeb4coding.in


Top comments (4)
The safety checkpoint before a discard is the detail that sold me on this. Most lightweight trackers make discard a one-way door, and that is exactly why people do not trust them with real work. Pairing that with content-addressed storage and a .snaptrackignore file makes it feel like a real tool, not a demo.
The auto-checkpoint every 10 minutes is interesting too β it quietly solves the "I forgot to commit before trying something risky" problem. How do you keep the .snaptrack folder from growing out of control on a long-lived project, and which feature did people ask for first, the History sidebar or the auto checkpoints?
Thanks Abdullah, glad that detail landed. Making discard a one-way door is exactly what I wanted to avoid.
On storage growth, a few things keep
.snaptracksmall:node_modules, build output and so on with.snaptrackignore.On which came first: the History sidebar. Once people could commit, the next question was "where can I see what I committed?" Auto checkpoints came out of my own "I forgot to commit before trying something risky" moments, which you described perfectly.
SnapTrack is now open source too: github.com/seeb4coding/snaptrack
Issues and PRs are welcome. If you have ideas for smarter retention, like keeping hourly checkpoints for a day and daily ones for a week, I'd love to hear them there.
This is a really thoughtful storage design β content-addressed objects plus the 10-minute change gate means an idle project costs nothing, and never touching commits in Clean Up Storage is the right trust call. The hourly-for-a-day, daily-for-a-week idea feels like the natural next tier: keep the newest checkpoint in each window and prune the rest, so a week-old project still has a daily trail without the folder ballooning. One question: would you let users pin a checkpoint so pruning never touches it, or keep retention purely time-based so there is nothing to manage?
Good question. I'm leaning towards both, but keeping it simple.
Retention stays time-based by default, so most people never have to manage anything. For the moments that matter, you'll be able to pin a checkpoint from the History sidebar (right-click β Pin). Pinned checkpoints get skipped by pruning, and so does every object they point to.
I'm also thinking about a "Promote to Commit" option. Commits are never pruned already, so promoting a checkpoint gives it a message and makes it permanent, with no new concept to learn. A pin would just be the lighter version of that.
The rule I want to keep: Clean Up Storage should never delete something you asked to keep. If you'd like to shape how this works, I've opened the discussion on GitHub: github.com/seeb4coding/snaptrack/issues