Insomnia
A macOS menu bar app that safely keeps your MacBook awake with the lid closed, for timed agent sessions.
By krishhgg. Free and open source for macOS. Latest version v0.2.0, released 2026-11-13.
Open-source alternative to Amphetamine.
Is Insomnia safe?
Trust score 64/100: Good. A solid project with a few gaps. Download from the official release and keep it updated.
- Established community: 2,081 GitHub stars
- Actively developed: code changed in the last 30 days
- Downloads come straight from the project's own GitHub releases
- Publishes checksums so you can verify the files
Things to watch:
- No OpenSSF Scorecard report yet, so security practices are unverified
- Young project (under 6 months old)
2,081 GitHub stars · 10k downloads.
Download Insomnia
- Insomnia-0.2.0-macos.zip (macOS, 1.5 MB)
Downloads come straight from github.com/krishhgg/Insomnia.
About Insomnia
A macOS menu bar app for timed awake sessions. Insomnia is an eye icon that lives in your MacBook menu bar. It has no Dock icon and no main window. Set how long your Mac stays awake, choose what happens when the lid closes, and see when something could not be undone.
Website · Install · Using it · Lid close · Recovery · Security
For the newest nightly, write "the newest Insomnia nightly prerelease" in place of "the latest stable Insomnia release". Nightlies are built from main on each day it has new commits. They have the newest code and may be broken.
To install a release yourself, follow docs/install.md. It covers both channels, how to check the download, and v0.1.0, which installs differently. Settings > General shows the installed version, and "Check for updates" there tells you whether a newer release exists without installing anything.
Similar apps
- Lockpaw: Cover your Mac's screen with a hotkey while AI agents keep running, even with the lid closed. The covered screen glows when Claude Code, Cod (Use caution, 57/100)
- Adrafinil: Keep your Mac awake only while AI coding agents are working (Good, 62/100)
- Orca: Orca lets you run a fleet of coding agents (e.g. Claude Code, Codex) with your own subscription. Available on desktop, mobile and remote run (Good, 73/100)
- Munder Difflin: an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxe (Good, 64/100)
- Coucou: A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Ant (Good, 62/100)
- abtop: Like htop, but for AI coding agents. Monitor Claude Code & Codex CLI sessions, tokens, context window, rate limits, and ports in real- (Use caution, 59/100)
Questions
Is Insomnia safe to download?
Insomnia has an OpenShelf trust score of 64/100 (Good). A solid project with a few gaps. Download from the official release and keep it updated. Main thing to watch: No OpenSSF Scorecard report yet, so security practices are unverified.
Is Insomnia free?
Yes. Insomnia is free and open source under the MIT license. The source code is public at github.com/krishhgg/Insomnia.
Does Insomnia work on macOS?
Insomnia is available for macOS. Ready-made downloads exist for macOS.
How do I install Insomnia?
Download the official file from the project's GitHub releases (for example Insomnia-0.2.0-macos.zip) and run it.
What are alternatives to Insomnia?
Similar open-source apps: Lockpaw (trust 57/100), Adrafinil (trust 62/100), Orca (trust 73/100), Munder Difflin (trust 64/100).