Back to browse
GitHub Repository

Keep your Mac awake while your code agent works — even with screen off, lid closed

22 starsSwift

Keep Mac awake while your agent works even with screen off, lid closed

by loa_observer·Apr 30, 2026·3 points·0 comments

AI Analysis

MidSolve My ProblemCozy

Mac lid-closed awake toggle, but Amphetamine already does this better.

Strengths
  • Uses modern SMAppService for privileged helper instead of deprecated authorization APIs.
  • Single-toggle UX avoids digging into System Settings energy saver prefs.
  • Explicitly handles the lid-closed edge case many simple caffeine clones miss.
Weaknesses
  • Zero differentiation from Amphetamine or KeepingYouAwake beyond the agent marketing pitch.
  • Requires privileged helper installation which raises trust barriers for a simple toggle.
Target Audience

Mac developers running local agents or long builds

Similar To

Amphetamine · KeepingYouAwake · Caffeine

Post Description

I build a small tool for Mac to keep it work when the lid closed. It allows you to close the lid without worrying interupt your agents.

Similar Projects