{
 "schema_version": 1,
 "generated": "2026-10-20",
 "repo": "krishhgg/Insomnia",
 "name": "Insomnia",
 "owner": "krishhgg",
 "slug": "krishhgg-insomnia",
 "github": "https://github.com/krishhgg/Insomnia",
 "what": "Insomnia is a macOS menu bar app that keeps a MacBook awake for timed sessions, including with the lid closed, and undoes its power and lid changes when a session ends.",
 "why": "",
 "language": "Swift",
 "requirements": [
  "A Mac with Apple Silicon running macOS 26 or later",
  "Your administrator password, because the installer adds a sudoers rule",
  "Terminal access, and optionally Xcode with Swift 6.2 or later if you build from source",
  "A stable, well-ventilated surface for the Mac during a session, as the README advises"
 ],
 "audience_note": "Mac developers and people running long unattended jobs, such as coding agents, who need a laptop to stay awake with the lid closed and a safe way to undo it.",
 "risk": "sensitive",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/krishhgg-insomnia/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "krishhgg-insomnia--run-timed-lid-closed-agent-session",
   "title": "Keep a MacBook awake for a timed agent run",
   "best": true,
   "url": "https://dedupedai.com/use-cases/krishhgg-insomnia/run-timed-lid-closed-agent-session/",
   "json": "https://dedupedai.com/use-cases/u/krishhgg-insomnia/run-timed-lid-closed-agent-session.json"
  },
  {
   "id": "krishhgg-insomnia--test-lid-close-actions-before-long-run",
   "title": "Test lid-close behavior before a long unattended run",
   "best": false,
   "url": "https://dedupedai.com/use-cases/krishhgg-insomnia/test-lid-close-actions-before-long-run/",
   "json": "https://dedupedai.com/use-cases/u/krishhgg-insomnia/test-lid-close-actions-before-long-run.json"
  },
  {
   "id": "krishhgg-insomnia--recover-after-session-that-could-not-be-undone",
   "title": "Recover a Mac after a session that could not be undone",
   "best": false,
   "url": "https://dedupedai.com/use-cases/krishhgg-insomnia/recover-after-session-that-could-not-be-undone/",
   "json": "https://dedupedai.com/use-cases/u/krishhgg-insomnia/recover-after-session-that-could-not-be-undone.json"
  },
  {
   "id": "krishhgg-insomnia--keep-tmux-coding-agent-alive-through-wifi-drop",
   "title": "Keep a tmux coding agent going through a Wi-Fi drop",
   "best": false,
   "url": "https://dedupedai.com/use-cases/krishhgg-insomnia/keep-tmux-coding-agent-alive-through-wifi-drop/",
   "json": "https://dedupedai.com/use-cases/u/krishhgg-insomnia/keep-tmux-coding-agent-alive-through-wifi-drop.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
