# neurosnap/zmx

Session attach/detach for the terminal

Repository: https://github.com/neurosnap/zmx
Canonical: https://ross.abutalabs.com/products/zmx
Homepage: https://zmx.sh
Language: Zig
License: MIT
License Family: permissive
Topics: ghostty, tmux, zig, session-persistence
Last push: 2026-08-20T16:35:16+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 82, longevity 23
- inputs: {"age_days": 327, "days_push": 13, "days_rel": 41, "gap_med": 55, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2083, forks 145 (observed 2026-08-28T04:06:11.707049+00:00)

## What it is
zmx is a lightweight terminal session persistence tool written in Zig that lets users attach and detach from shell sessions without killing them. It is a minimal tmux alternative focused solely on session persistence, deliberately omitting windows, tabs, and splits.

## Use cases
- persist terminal sessions across ssh disconnects
- detach from a long-running shell and reattach later
- share a terminal session between multiple clients
- send commands to a running session without attaching
- print scrollback history of a terminal session as plain text
- replace tmux when you only need session persistence

## When to choose
- you want tmux-like session persistence without panes, tabs, or splits
- you prefer native terminal scrollback over multiplexer-provided scrollback
- you need to script commands into a persistent session without attaching
- you run macOS or Linux and want a small, fast single-purpose tool

## When to avoid
- you need window/tab/split management that tmux or zellij provide
- you are on Windows
- you need a full terminal multiplexer with layouts and status bars

## Facets
- artifact type: cli-tool
- maturity: active
- function: terminal-ui, developer-tools, cli
- domain: developer-tools
- platform: cli
- tags: tmux-alternative, session-persistence, terminal-multiplexer, shell-sessions, zig, detach-attach, command-line, linux, macos

## Member repositories
- neurosnap/zmx (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.707049+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:53.816880+00:00, confidence not recorded.
  - readme: https://github.com/neurosnap/zmx (fetched 2026-08-28T04:06:11.707049+00:00, sha bece89a95115)
  - homepage: https://zmx.sh (fetched 2026-08-29T10:35:54.092743+00:00, sha f51ad60a1b3c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
