skip to content

// macos app

Wakehold

Keeps a Mac awake exactly as long as the work is alive, then lets it sleep.

A session-aware wake controller for macOS: a menu bar app, a CLI and a local control endpoint. A running process, a listening port, a wrapped command, an agent session or a timer each hold the machine open, and the hold releases itself when the last one ends.

source
// hourglass11/21
year
2026
type
macos app
group
macos apps
stars
5

the problem

//01the problem

Keep-awake tools are a switch you flip on and forget to flip off. They model a timer, not the thing you actually care about.

how it works

//02how it works

  1. 01

    Sessions, not switches

    Tell it what to watch: a build, a dev server on :3000, a Claude Code session, an app. It stays awake while that thing runs.

  2. 02

    Cleans up after itself

    When the last session ends it can sleep the display, sleep the Mac, shut down, restart or notify. Run the agent overnight, shut down when it finishes.

  3. 03

    Legible

    The menu lists every reason the Mac is awake, including other apps' power assertions like a call or audio playing.

highlights

//03highlights

  • Menu bar app, CLI and local HTTP control endpoint
  • Watches processes, ports, commands, agents and timers
  • Native Swift with IOKit power assertions

built with

  • Swift
  • SwiftUI
  • IOKit

//04contact

Say hello. I read everything.

Email is the fastest way to reach me. For anything that needs a conversation, book a call.

to

name
Khaled Saeed
country
Lebanon