Skip to content
robertazzopardiPublic

About

k9s-style terminal UIs in Rust: d7s (PostgreSQL, MySQL/MariaDB, SQLite client) and c8s (Docker containers)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

t7s

k9s-style terminal UIs in Rust (Ratatui). t7s is short for “terminals”: d7s (databases), c8s (containers), p7s (processes), and k9tui (shared UI crate).

Inspired by k9s — keyboard-driven, table-first TUIs for more than Kubernetes.

Apps

PostgreSQL, MySQL/MariaDB, and SQLite client: connections, keyring credentials, schema/table/row navigation, SQL editor. README.

d7s — connect, browse tables, filter, help, SQL

Docker TUI: containers (CPU/memory), images, volumes, networks, logs, exec. README.

c8s — container list, restart, live logs

System process viewer: live process list (CPU/memory), sort, filter, describe, signal picker. README.

p7s — process list, sort, filter, follow, signal picker

Shared UI crate (theme, tables, modals, top bar, hotkeys). README.

Install

cargo install d7s --locked
cargo install c8s --locked
cargo install p7s --locked

Prebuilt binaries are on GitHub Releases, or cargo binstall d7s / cargo binstall c8s / cargo binstall p7s.

Nix

The flake provides a dev shell (the pinned toolchain plus the tools just uses) and packages for both apps.

nix develop       # rustc, cargo, just, clippy, rustfmt, rust-analyzer
just              # list project commands

nix build         # build d7s (default package)
nix build .#c8s   # build c8s
nix build .#p7s   # build p7s
nix run .#d7s     # run d7s

direnv allow activates the shell automatically (see .envrc).

Contributing

PRs welcome. just check runs fmt, clippy, and tests (just --list for more).

Releasing

  1. Put notes under ## [x.y.z] in crates/<crate>/CHANGELOG.md (not only [Unreleased]).
  2. just release <k9tui|d7s|c8s> <version> — publishes to crates.io, then tags (vX.Y.Z / c8s-vX.Y.Z / k9tui-vX.Y.Z). Binstall picks up archive URLs from the published crate metadata.
  3. Tag runs .github/workflows/release.yml (per-target archives + SHA256SUMS; only d7s is GitHub Latest). k9tui has no binary release.
  4. Rebuild an existing tag: gh workflow run release.yml --ref main -f tag=v0.5.0. Delete stale bare assets if present: gh release delete-asset <tag> d7s -y (and d7s.exe).

About

k9s-style terminal UIs in Rust: d7s (PostgreSQL, MySQL/MariaDB, SQLite client) and c8s (Docker containers)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages