A timer, or no timer.
Stay awake for a duration, until a clock time, or until a process exits. Leave it indefinite when you need the breathing room.
coffee-term -d 1h30mKeep the session going. A cosy terminal dashboard that keeps your machine awake, with a timer, live stats, and a coffee on the side.
Brew your first sessionLinux + macOS / Node.js 22.22.2+
' .
) ( )
) ( (
) ) (
( ) (
╭──────────────╮
│▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
│ │──╮
│ │ │
╰╮ ╭╯──╯
╰────────────╯
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀● AWAKE
For long builds, remote sessions, and whatever needs a little more time. Set the conditions once, or change them as you go.
Stay awake for a duration, until a clock time, or until a process exits. Leave it indefinite when you need the breathing room.
coffee-term -d 1h30mAdjust your options without restarting. Pause with a keystroke, switch phosphor themes, or let the display sleep while the system stays awake.
space pause / t theme / q quitSee system and display locks separately, alongside elapsed time, battery, power, and load. A missing lock is reported clearly.
How awake workscoffee-term is on npm. Install it once and the coffee-term command is on your PATH. All you need is a recent Node.js.
npm install -g coffee-term
coffee-termJust want a taste? Run it once without installing:
npx coffee-termVerified on Ubuntu with GNOME on Wayland. X11 display locking is unit-tested; other Wayland desktops support the system lock only.
Uses the built-in caffeinate. Implemented and unit-tested; hardware verification is still pending.
Windows and WSL are not supported.