ALL INTELLIGENCE
Hacker News AIT2·Tools

Open Source ASCII Cell Aquarium Brings Biology to the Terminal

Original title: Show HN: An ASCII cell aquarium for your terminal
42AI Score

A developer released terminal-cells, an ASCII biology animation that runs in the terminal, with immune cells chasing bacteria, cell division and bacteriophages causing occasional trouble. Inspired by cbonsai and asciiquarium, it is built on Python curses with no third-party runtime dependencies and installs via pipx, an Ubuntu PPA or Homebrew.

Full Report

Contents4 sections

cells

A living microscope slide in your terminal. Immune cells chase bacteria, cells divide, and bacteriophages occasionally cause trouble.

Animated terminal microscope slide with immune cells, microbes, and red blood cells

Inspired by cbonsai and asciiquarium. This is a biological illustration with exaggerated sizes and timing.

Install and run

Python 3.10+ on Linux or macOS, with curses; Windows users can use WSL. No third-party runtime dependencies. Install with pipx:

BASH
pipx install terminal-cells
cells

If pipx or cells is not found, see Installation and PATH.

On Ubuntu 24.04 or 26.04:

BASH
sudo add-apt-repository ppa:bogobogosort/cells
sudo apt update
sudo apt install terminal-cells
cells

With Homebrew on macOS or Linux:

BASH
brew install kborer/cells/terminal-cells
cells

The package is terminal-cells; the command is cells. From a source checkout, run ./cells. See Ubuntu packages for .deb downloads and builds, or terminal troubleshooting if colors, glyphs, or curses fail.

Explore the slide

Use a terminal at least 80×24; 120×40 or larger gives organisms more room. Press q to quit, Space to pause, + / - to change speed, r for a new slide, and ? for help and the species legend.

BASH
cells --scene microbial --observe  # Microbes, with lifecycle captions
cells --scene blood               # A blood-inspired community
cells --calm --theme light        # Slower movement on a light background
cells --ascii                    # Plain ASCII glyphs
cells --screensaver              # Exit on any key

Macrophages, neutrophils, red blood cells, nine microbial forms, fungi, and phages share the slide. Watch engulfment, mitosis, budding, viral replication, and rare visitors. Periodic arrivals keep populations varied during long runs.

BASH
cells --interactive

Choose 1 Inspect, 2 Lyse, 3 Feed, or 4 Stir, then click to apply. Keyboard targeting also works: arrows or hjkl to aim, Tab to select, Enter to apply. Tools act while the slide keeps moving.

Learn more

The GIF uses rendered simulation frames. The 12-second terminal recording captures the curses app; replay it with asciinema play docs/demo.cast after cloning.

Contribute

Biology suggestions, microscope references, screenshots, and terminal testing are welcome; programming experience is not required. For code or documentation changes, start with the first-change guide and starter issues.

Zero-Clause BSD (0BSD): use, modify, and redistribute for any purpose, without an attribution requirement.


作者发帖说明(HN):

I made a virtual microscope slide for your terminal (inspired by asciiquarium and cbonsai). Cells divide, immune cells chase bacteria, and bacteriophages occasionally cause trouble. You can try it with:

$ pipx install terminal-cells

$ cells

I'd appreciate any suggestions for additional animations to add, especially entities or events that would be visually distinct given the graphical limitations. Any cell biologists in the house?