Product Thumbnail

LidCommit

Auto-commit when you close your laptop lid

Software Engineering
GitHub
Tech
Visit WebsiteSee on Product HuntGithub ⧉Netlify ⧉

Hunted byAnshu KumarAnshu Kumar

Never lose progress when you leave your desk. LidCommit is an autonomous Rust daemon with a sleek dark-mode desktop GUI that detects when your laptop lid closes, summarizes your diffs using Gemini, Ollama, or OpenAI, and pushes safely to GitHub with built-in secret scanning.

Top comment

Hey Product Hunt! 👋

I’m Anshu, the creator of LidCommit.

As developers, we constantly close our laptops to grab lunch, hop on a call, or head home, often leaving hours of uncommitted work sitting on local disks. If you switch to another device or machine, you're stuck without your changes.

I built LidCommit to make continuous saving completely frictionless:

- 🔒 Zero CPU Polling: Monitors native OS lid-switch interrupts instead of burning battery with constant timers.

- 🤖 Smart Commit Messages: Automatically crafts clean, descriptive git messages from your actual diff using Gemini 2.0 Flash, OpenAI, or local Ollama instances (with zero-config timestamp fallbacks if offline).

- 🛡️ Built-in Security Wall: Automatically halts commits if `.env` files, AWS/Gemini keys, or cryptographic secrets are detected.

- 🖥️ Native Desktop Dashboard: Pitch-black modern UI with live commit logs, per-project pause toggles, and instant manual sync buttons.

- 🪟 1-Click Setup Installer: Standard `.exe` installer for Windows with Start Menu shortcuts and background startup options, plus pre-built macOS & Linux binaries.

It's 100% free and open-source under MIT. I'd love to hear your feedback, questions, or ideas for v0.4.0! 🚀

🔗 GitHub: https://github.com/Gingaaa/lid-commit

🌐 Web: https://lidcommit.vercel.app

Comment highlights

Love the built-in secret scanning. Accidentally pushing API keys is no fun, and forgetting to commit changes happens more often than it should 😅 Nice to have something that automatically saves and pushes code to GitHub. Congrats!

An automatic commit is useful as a checkpoint, even when the work isn't ready for review. I'd want those saves to be easy to tell apart from changes I've deliberately finished.

About LidCommit on Product Hunt

“Auto-commit when you close your laptop lid”

LidCommit launched on Product Hunt on November 3rd, 2026 and earned 65 upvotes and 5 comments, placing #34 on the daily leaderboard. Never lose progress when you leave your desk. LidCommit is an autonomous Rust daemon with a sleek dark-mode desktop GUI that detects when your laptop lid closes, summarizes your diffs using Gemini, Ollama, or OpenAI, and pushes safely to GitHub with built-in secret scanning.

LidCommit was featured in Software Engineering (43.2k followers), GitHub (41.5k followers) and Tech (636k followers) on Product Hunt. Together, these topics include over 213.4k products, making this a competitive space to launch in.

Who hunted LidCommit?

LidCommit was hunted by Anshu Kumar. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how LidCommit stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.