A small utility for long sessionsOPEN SOURCE / MIT

Your machine.
Wide awake.

Keep 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 session

Linux + macOS / Node.js 22.22.2+

01 / In the terminal
Phosphor
~/projects ❯ coffee-term -d 1h30mTTY / 120 × 32
brewing
       '     .
        ) (     )
        ) (    (
       )   )   (
       (   )   (
  ╭──────────────╮
  │▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  │              │──╮
  │              │  │
  ╰╮            ╭╯──╯
   ╰────────────╯
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
A little company.
A little less sleep.
Session

● AWAKE

Elapsed
00:24:18
Remaining
01:05:42
● System systemd-inhibit● Display gnome-session-inhibit
Stats
Uptime
3h 02m
Battery
████████░░ 80%
Power
on AC
Load
0.42 0.38 0.35
Host
your-machine
❯ Options
❯ Mode
[ ‹ duration › ]
Duration
[ 1h30m ]
Display
[ ● on ]
AC only
[ ○ off ]
Min battery
[ off ]
Wait PID
[ none ]
↑↓ move←→ changeenter editspace pauset theme? helpq quit
ILLUSTRATIVE PREVIEW / SAMPLE SESSION DATALinux · GNOME · Amber phosphor
In the foreground. In your control.No account. No service. Just your terminal.View source

Stay for a while.
Leave on your terms.

For long builds, remote sessions, and whatever needs a little more time. Set the conditions once, or change them as you go.

01 — SESSION

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 1h30m
02 — CONTROL

Change it live.

Adjust 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 quit
03 — VISIBILITY

Know what's held.

See system and display locks separately, alongside elapsed time, battery, power, and load. A missing lock is reported clearly.

How awake works
03 / First brew

Install. Run.
Keep going.

coffee-term is on npm. Install it once and the coffee-term command is on your PATH. All you need is a recent Node.js.

Read the installation guide
Install with npm
npm install -g coffee-term
coffee-term

Just want a taste? Run it once without installing:

Run with npx
npx coffee-term
04 / Platform notes

Built for your terminal.
Honest about support.

Linux

Verified on Ubuntu with GNOME on Wayland. X11 display locking is unit-tested; other Wayland desktops support the system lock only.

macOS

Uses the built-in caffeinate. Implemented and unit-tested; hardware verification is still pending.

Platform details & troubleshooting

Windows and WSL are not supported.

Ready when you are

One more cup.
One less interruption.

Get started Explore the command reference