Islam Chomaev

Built a local background "Time Machine" for VS Code. Zero Git commands required.

by

Hey everyone.

I got tired of losing code to rogue AI agents and forgetting manual Git commits during rapid iterations. Git is great for milestones, but it fails as a real-time safety net.

So, I built LocalHub. It’s a 100% local, background version control system that runs inside VS Code.

Here are the core facts about the architecture:

  • 7 Smart Triggers: It automatically snapshots files on save, tab switch, editing pause, focus loss, and external changes. No git add or git commit needed.

  • Agent Diary (AI Protection): It logs AI agent actions separately. Crucially, AI cannot empty the trash or delete your history. If an agent hallucinates, you can instantly roll back.

  • Ultimate Recovery: We built dedicated trash bins for everything — deleted files, "Zombie Branches", and even rejected code blocks. You can restore any dropped line of code at any time.

  • Time Machine Groups: It auto-groups related changes and generates AI descriptions for them, acting like automated commits.

It's entirely offline-first. I’d love for the engineers here to tear down the architecture or try it out. How are you currently protecting your uncommitted code when working with AI?

Marketplace link: https://marketplace.visualstudio.com/items?itemName=IslamChomaev.localhub-time-machine

53 views

Add a comment

Replies

Be the first to comment