LocalHub: A background Time Machine for your code (no Git required)
Hey Product Hunt! 👋

I built LocalHub - Time Machine to solve a massive pain point: losing code to rogue AI agents or simply forgetting to commit. Standard Git is great for milestones, but it fails as a real-time safety net.
LocalHub runs silently in the background of VS Code and versions everything automatically based on 7 smart triggers (saving, tab switching, idle time, etc.) without requiring a single terminal command.
Here is what makes the architecture unique:
Ultimate Recovery System: We built dedicated Trash bins for everything. Deleted files, "Zombie Branches", and even rejected code blocks are safely stored so you can restore any piece of lost code at any time.
Zero-Command Versioning: No git add or git commit. It tracks changes at the OS-level.
AI Protection (Agent Diary): It tracks AI agent edits separately from your manual work. If an AI hallucinates and overwrites your file, you can instantly roll back to your human-written version.
Time Machine Groups: It automatically organizes your changes logically, acting like commits but fully automated (with AI-generated descriptions).
Everything is 100% local, offline-first, and highly optimized.
I’d love to hear your feedback: How do you currently protect your working directory between manual commits, especially when doing heavy AI code generation?
Let's discuss the architecture! 🚀
You can install it directly from the VS Code Marketplace here: > https://marketplace.visualstudio.com/items?itemName=IslamChomaev.localhub-time-machine


Replies