macOS CLI that keeps your Mac awake with the lid closed on battery, so a local Codex, Claude Code, or Cursor session keeps running.
Cost / License
- Free
- Open Source (MIT)
Application type
Platforms
- Mac
- Rust
Germany
EU

Apps similar to Adrafinil include goguma app, which is free and open source. Other options are Amphetamine, Caffeine for Windows, Stimulator and PowerToys - Awake. You're spoiled for choice with Prevent Sleep Mode Apps like Adrafinil: we list more than 50 alternatives for Mac, Windows, Linux, Android and the web.
macOS CLI that keeps your Mac awake with the lid closed on battery, so a local Codex, Claude Code, or Cursor session keeps running.

Smart auto-sleep & power management for developers, laptops & AI agents (Claude Code, Cursor, Aider, VS Code). Automatically sleeps or shuts down when coding tasks finish, plus instant deep sleep on charger unplug. Lightweight (~62 KB) & offline. Built by GMK Solution.




Keep your Mac awake only when needed, with a minimal control surface built for focused workflows.




A tiny macOS menu-bar app that keeps your Mac running even with the lid closed — so coding agents (Claude Code, Codex, etc.) keep working while you move around.

Close the lid. Keep coding. Hold My Lid keeps your Mac awake while Claude Code, Codex, and your other agents finish the job — lid shut, in your bag.
