A TUI for Ersilia's Tailnet
A terminal dashboard to see, open, and keep awake tmux sessions across every
machine on Ersilia's Tailscale tailnet — over Tailscale SSH, from
one screen.
Built for Ersilia, where work is spread across shared laptops, workstations, and servers on a private tailnet. It is internal tooling, shared here in case it helps others too.
Requirements
tmux(required — tuimux is a front-end for it), plusssh,tailscale, and a terminal. Sessions open in the terminal the dashboard runs in: Ghostty or Terminal.app on macOS; Ghostty (tabs needtuimux autostart onand a single Ghostty window; otherwise windows), Ptyxis or GNOME Terminal on Linux; any other throughTUIMUX_TERM_CMD.- Python ≥ 3.11.
Install
pip install git+https://github.com/ersilia-os/tuimux
Usage
| Command | What it does |
|---|---|
tuimux |
the dashboard — all you normally need |
tuimux attach [name] |
put this terminal into a tmux session (attach or create) |
tuimux detach |
detach this terminal; the session keeps running |
tuimux autostart on|off|status |
auto-tmux every new local terminal |
tuimux mouse on|off|status |
tmux mouse mode (wheel scrolls the pane); on by default in the sessions tuimux opens |
tuimux login [host user[,user…]] |
show/set the SSH user(s) per host |
tuimux devices |
list every device in the tailnet |
tuimux doctor |
check your setup |
Open, rename, detach, close, and keep-awake all happen inside the dashboard. The footer lists the keys: f fits a session to your terminal when it shows at another computer's size, / filters the table as you type (escape clears it) and j jumps to the next session waiting on you. A live preview of the highlighted session shows under the table (v switches it to routines, or hides it). The CPU · RAM · GPU column says how big and how busy each computer is (16c 35% · 64G 64% · A100 80%, or 4×A6000 2 free for several cards), amber from 90%. GPU figures need nvidia-smi; a Mac shows only its chip.
Routines
Claude prompts you run on a schedule, each on one fixed computer. When one is due, tuimux starts a routine-<name> session there with claude already working on the prompt, and it waits for you to join. The dashboard is the scheduler: routines start while it's open, and anything missed starts once when you next open it.
v switches the bottom panel between the preview, your routines and nothing. In routines:
| Key | |
|---|---|
enter |
run it now (or open its session if a run is open) |
n / e / c / x |
add / edit / duplicate / delete (ctrl+o in the form opens the prompt in $EDITOR) |
space |
menu: run or open, mark done, edit, duplicate, turn off or on, delete |
d |
mark the current run done (closes its session; closing it yourself counts too) |
Routines are grouped by computer. THIS RUN says what to do about the current period's run, and since when: scheduled (not started yet; NEXT says when), working · since 09:00, answer it · since Mon (Claude asked you something), read it · since Mon (it finished and you haven't looked), close it, done Mon ✓, failed Mon. Amber means it waits on you, red that something broke; only answer it blinks, and the sessions box's border counts what waits on you from any view. When the work looks finished, Claude asks “Done with ?”; yes notes a one-line outcome and closes the run (ask_done = false skips it). The card under the table shows what a run produced and the runs before it. MODE says whether a routine is interactive or unattended.
They live in ~/.config/tuimux/routines.toml:
[[routine]]
name = "lit-digest"
host = "miquel-macmini"
login = ""
folder = "~/Documents/GitHub/ersilia-skills"
schedule = "weekly mon 09:00" # daily 09:00 · weekdays 09:00 · monthly 1 09:00 · every 6h
enabled = true
ask_done = true
mode = "interactive" # or "unattended"
allow = "" # unattended only, e.g. "Read,Grep,WebFetch,Bash(gh *)"
prompt = """
/literature-digest
"""
Unattended routines run claude -p instead: Claude asks nothing, the session closes itself when it finishes, and THIS RUN shows working, then done or failed. Tools outside allow (and your ~/.claude/settings.json allow rules) are denied, and Claude skips those steps. The output is kept in ~/.cache/tuimux/routines/<name>.log. Use them for skills that need no answers from you.
Setup conventions
tuimux assumes a small, consistent tailnet. The simplest way to have everything work from the start:
- Enable Tailscale SSH on every computer —
sudo tailscale up --ssh. Phones and tablets are status-only (never SSH'd). - Use the same SSH username (and password) on all machines.
tuimuxlogs in as your local$USERby default, so a consistent username makes every box reachable with no per-host setup. Override per host withtuimux loginwhen needed. - Give each device a tailnet name matching its hostname, so the dashboard names line up with the machines.
- MagicDNS is optional. If a machine's name doesn't resolve,
tuimuxconnects to its Tailscale IP instead. - Tag shared machines that several people log into with
tag:dev— the Tailscale ACL tag we use for inbound multi-user access.
About the Ersilia Open Source Initiative
The Ersilia Open Source Initiative is a tech-nonprofit organization fueling sustainable research in the Global South. Ersilia's main asset is the Ersilia Model Hub, an open-source repository of AI/ML models for antimicrobial drug discovery.
Metadata
Release files for tuimux 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tuimux-0.5.5.tar.gz | 146.8 kB | Without provenance | Details for tuimux-0.5.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tuimux-0.5.5-py3-none-any.whl | Python 3 | none | any | Details for tuimux-0.5.5-py3-none-any.whl |
Total release size: 265.1 kB
Release files / tuimux-0.5.5.tar.gz
| Download URL | tuimux-0.5.5.tar.gz |
|---|---|
| Size | 146.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3045ae7ba8fa249c00eb66817dc1164db2d914bbf83189765f4a95ed9d3e9ad9
|
|
BLAKE2b-256 checksum How to use checksums |
028ad13fdf6c80971dbe205f7d308f0654e29c8cde94641d9af10b18d6cded08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / tuimux-0.5.5-py3-none-any.whl
| Download URL | tuimux-0.5.5-py3-none-any.whl |
|---|---|
| Size | 118.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
544ac00653bdfc6f97412914a6fafefedc3697d571aa9e87574dd7631538ef17
|
|
BLAKE2b-256 checksum How to use checksums |
b3aed864ffe652b142f4d9cfd85db5020e2def5ad60e3f0bbdab15d7a402a172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for tuimux 0.5.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.