arne room17ann-kurrik

tandem

A terminal text editor for local multiplayer. Everyone on one machine who opens a file edits it together, and sees each other's cursors as they type.

Get it

Installs the newest release into ~/.local/bin after checking its SHA-256. Run it again to update.

What it does

alice · notes.md
# Saturday - groceries: eggs, rice, lime - call the plumber- fix the gate  ~ notes.md   ● alice (you)  ● bob   Ln 3, Col 30 saved notes.md
bob · notes.md
# Saturday - groceries: eggs, rice, lime - call the plumber- fix the gate  ~ notes.md   ● bob (you)  ● alice   Ln 5, Col 15 alice saved notes.md
alice and bob in one file, recorded from tandem

How it works

  1. The first tandem FILE starts a small host process for that file in the background.

  2. Every later editor on the same file connects to that host instead of opening the file itself.

  3. Edits travel as operations; the host transforms concurrent ones so every editor converges on one text.

  4. When the last editor quits, the host saves and exits. Nothing runs when nobody is editing.