A tiny menu-bar app that stops your Mac from sleeping — even with the lid closed — and bows out automatically before it overheats or drains.
Cool and on AC power — safe to keep your Mac awake for a while.
Features
Everything you need, nothing you don't.
Flip one switch and your Mac keeps running with the lid shut — perfect for downloads, renders, or an external display.
Lid closed · still awakeStops on its own if your Mac gets too hot or the battery runs low — protecting your hardware.
Pick a duration and it switches off by itself, so you never forget.
Suggests a safe duration from current heat & power.
Use cases
For the long-running work you don't want to babysit.
A coding agent or local LLM keeps working while you close the lid and step away.
Long Xcode or Android builds finish even after you shut the lid and carry your Mac away.
Heading out with your charger? The job stays alive the whole way there.
Big transfers, renders, and video exports complete unattended, lid-closed.
Get started
About a minute. Do them in order and you'll never hit a security warning.
Open the downloaded insomniac.dmg and drag Insomniac onto the Applications folder. You can eject the disk image afterward.
Opened it already and macOS said it “can't be verified”? Don't panic — that's expected for a not-yet-notarized app, not a sign anything's wrong. Click Done (never “Move to Bin”), then do step 2. See what it looks like ↓
This is a free test build (not yet through Apple's paid notarization), so macOS quarantines it. Open Terminal (⌘ Space → “Terminal” → Return), paste this, and press Return:
xattr -dr com.apple.quarantine /Applications/insomniac.app
Run this before the first launch and the “Not Opened” warning below never appears. (Already saw it? No harm — just run this, then open again.)
Open Insomniac from Applications — it launches cleanly from now on. It has no Dock icon; it lives in the menu bar at the top-right of your screen. Look for the moon (a welcome guide points right at it on first launch). Click it, flip Stay Awake on, and enter your Mac password when asked.
Insomniac is code-signed — it just isn't notarized yet (that needs Apple's paid Developer Program). macOS shows this for any app installed outside the App Store without notarization. It's not a sign that anything is wrong with the app.
If it appears: click Done — never “Move to Bin.” Then run the xattr command in step 2 and open the app again.
Best of all: run that command before your first launch (as in step 2) and this dialog never shows up at all.
Changelog
Version 1.0.3 — latest test release
1.0.3 — Easier install: the disk image now opens as a guided window, with the one-time setup command shown there and a file to copy it from. Self-healing security: once you've opened the app once, the “unverified” warning never comes back.
1.0.2 — Custom auto-off length: pick any duration from 10 minutes to 8 hours with a slider, alongside the presets. Redesigned settings: a cleaner, grouped macOS System Settings–style layout with aligned rows.
1.0.1 — Bug fixes for low-battery behavior. The safety advisor now factors in battery level, so it no longer suggests a long session when the battery is low. Turning Stay Awake on when the battery is already at or below your auto-stop limit now shows a clear "plug in first" message instead of asking for your password twice in a row. Also new: an option to turn the screen off when you close the lid during a session.
1.0 — First public test build. Lid-closed stay-awake, the auto-off timer, automatic thermal & battery safety cutoffs, smart duration advice, and a first-launch welcome guide that points you to the menu-bar icon.