Repository navigation
v0.3.4 — field-proven on two machines
lichbook keeps a MacBook awake with the lid closed — but only while it is plugged in. Unplug it, log out, or turn it off, and it sleeps like any mortal machine.
Install
brew tap jojoatkinson/lichbook https://github.com/JoJoAtkinson/lichbook
brew trust jojoatkinson/lichbook
brew install lichbook
lich install
lich onHighlights at v0.3.4
- CLI + menu bar skull (💀/⚰️) + optional Control Center toggle — the menu bar app is built on your machine during
brew install(ad-hoc signing, no downloads to trust) - Roaming: stay awake on battery — one trip, a timed window, or a standing setting — always under a hard battery floor (default 20%)
- For AI agents:
lich donehands the machine back when the work is finished - Fail-open install with per-user sudoers scoped to exactly two
pmsetcommands; works for non-admins once an admin grants the rule lich upgrade— one word updates everything (brew or clone)- Every state change logged; formal behavior reference in docs/STATE-TABLE.md, with the core paths field-tested and cited
Tested on macOS 26 (Tahoe), Apple Silicon. Earlier versions: fail-open, loosely supported, no promises.