| Crates.io | tenement |
| lib.rs | tenement |
| version | 0.1.4 |
| created_at | 2025-12-06 19:47:47.4061+00 |
| updated_at | 2025-12-06 20:34:23.71561+00 |
| description | Hyperlightweight process hypervisor for single-server deployments |
| homepage | https://tenement.dev |
| repository | https://github.com/russellromney/tenement |
| max_upload_size | |
| id | 1970649 |
| size | 44,664 |
Hyperlightweight process hypervisor for single-server deployments.
tenement spawns and supervises processes with Unix socket communication, health checks, and automatic restarts. No Docker, no Kubernetes, no complexity—just fast, simple process management.
curl -LsSf https://tenement.dev/install.sh | sh
Or with pip/uv:
pip install tenement
# or
uv tool install tenement
Or with Cargo:
cargo install tenement
# tenement.toml
[process.api]
command = "./my-api"
socket = "/tmp/api-{id}.sock"
health = "/health"
[process.api.env]
DATABASE_PATH = "{data_dir}/{id}/app.db"
$ tenement spawn api --id user123
Spawned api:user123
Socket: /tmp/api-user123.sock
$ tenement ps
INSTANCE SOCKET UPTIME HEALTH
api:user123 /tmp/api-user123.sock 2m healthy
$ tenement stop api:user123
Stopped api:user123
| Alternative | Problem |
|---|---|
| Docker | Heavy, slow cold starts, network overhead |
| systemd | No on-demand spawn, no routing |
| K8s/Nomad | Overkill for single server |
| Bash scripts | No health checks, no supervision |
tenement gives you:
Full documentation at tenement.dev
Apache 2.0 - Use it however you want.