Skip to main content

A TUI for Ersilia's Tailnet

License: GPL v3 Python

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), plus ssh, tailscale, and a terminal.
  • 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)
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: / 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. tuimux logs in as your local $USER by default, so a consistent username makes every box reachable with no per-host setup. Override per host with tuimux login when needed.
  • Give each device a tailnet name matching its hostname, so the dashboard names line up with the machines.
  • 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.

Ersilia Logo

Metadata

Release files for tuimux 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tuimux 0.5.1
File Size Uploaded Provenance Actions
tuimux-0.5.1.tar.gz 136.3 kB Without provenance Details for tuimux-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tuimux 0.5.1
File Interpreter ABI Platform Actions
tuimux-0.5.1-py3-none-any.whl Python 3 none any Details for tuimux-0.5.1-py3-none-any.whl

Total release size: 248.4 kB

Release files / tuimux-0.5.1.tar.gz

Download URL tuimux-0.5.1.tar.gz
Size 136.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b37a941d15ecd670af7f8a24b107eee39388b3654a1c253b95d5487b52682124
BLAKE2b-256 checksum
How to use checksums
646c46380939b4753833c401d3a53251ca5caf8ebc9f24727fc85c77442aff56
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.1-py3-none-any.whl

Download URL tuimux-0.5.1-py3-none-any.whl
Size 112.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e303be20958a142cb8b47b15ad870759f44702118d2606caf2d3b493b819b603
BLAKE2b-256 checksum
How to use checksums
0fbe6fdbf5fef1ac3a4085e5d5dfe7e86c9b1d6b102573c2f533d121477e7c96
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.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page