afk

Twenty effects, zero dependencies, Apache-2.0

Walk away. Your terminal keeps busy.

Doom fire, Matrix rain, fireworks, a maze that solves itself, a Mandelbrot zoom, Pong playing against itself. Twenty effects behind one command, in twelve colour themes, with nothing to install but the tool itself.

Install

pip install afk-term

then just type afk

Star on GitHub See every effect

See it run

afk list printing all twenty built-in effects, each name tinted with a colour that effect actually draws with

Real captured output, not a mock. The colours are the ones afk prints on a terminal.

Why this exists

The good terminal screensavers already exist, but they are scattered across a dozen unrelated programs, each with its own flags, its own colour handling and its own idea of how to quit. Finding them is an afternoon. Remembering which one takes which flag is forever.

afk puts a coherent set behind one command, gives all of them the same themes, controls and quit behaviour, and runs the classics like cmatrix and asciiquarium directly rather than reimplementing them badly.

One command. No dependencies, no daemon, no account, no network.

What you get

Install and use

Python 3.9 or newer, and a terminal. That is the whole list.

  1. Install

    The package is afk-term because afk was taken. The command it installs is afk.

    pip install afk-term
  2. Run it

    No arguments picks a random effect. Any key brings you back.

    afk
  3. Pick one, or theme it

    Name an effect, apply one of twelve palettes, or rotate through everything with afk cycle.

    afk --theme dracula lava
  4. Let it start itself

    A real idle hook on zsh. On any other shell, afk shell-init tmux prints the tmux recipe instead of pretending.

    afk install-idle zsh --seconds 300

Optional: brew install cmatrix pipes-sh asciiquarium timg. afk runs them directly when they are there, and never mentions them when they are not.