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.
01Get it
curl -fsSL https://updates.a17k.com/tandem/install.sh | shInstalls the newest release into ~/.local/bin after checking its SHA-256. Run it again to update.
02What 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
03How it works
- 01
The first tandem FILE starts a small host process for that file in the background.
- 02
Every later editor on the same file connects to that host instead of opening the file itself.
- 03
Edits travel as operations; the host transforms concurrent ones so every editor converges on one text.
- 04
When the last editor quits, the host saves and exits. Nothing runs when nobody is editing.