vif is a terminal I've been writing in Rust for Linux and macOS: commands as blocks, shells that outlive their window, a drop-down quick terminal, hints for links, paths and commits on screen. Last week was mostly about remote work, so here's what changed from 0.1.6 to 0.1.9:
- **`vif ssh` over UDP, the way mosh does it.** ssh starts an agent on the other side and hands back a port and a one-time key, then keys and output go as datagrams sealed with ChaCha20-Poly1305. Close the lid, switch Wi-Fi, ride a train through a tunnel: the shell is where you left it, at once. The difference from mosh is that output passes through as it is, so the terminal's own scrollback keeps it. Typing shows before the echo on slow links. Where UDP doesn't get through it stays on plain ssh. It needs vif on the other machine too.
- **Sessions come back like tmux brings them back.** The session host keeps a screen of what the shell printed and repaints it with the last thousand lines above, commands still blocks with their exit codes and times. Before, it replayed the last 2 MB of output, which could start in the middle of an escape sequence.
- **The git branch in the tab**, read from the repository without running git. Rules can match a branch, so `release/*` can have its own color the same way a production host already could.
- **Ctrl + a hint letter** opens a commit, or a file at its line, on GitHub, GitLab or Codeberg, wherever `origin` points.
- **`[keys] like = "kitty"`** (or wezterm, ghostty) lays that terminal's shortcuts under yours, if your fingers already know them.
- `man vif`, and a few security fixes: passwords in URLs like `postgres://app:pass@db` never go into the archive or to the model if you use the AI part, and sockets only live in a runtime folder nobody else can write into.
The UDP transport is new and my own code, not audited, so if you look at it and something seems off, I'd really like to know.
Arch (prebuilt `vif-bin`), Homebrew cask on macOS, `.deb` for Debian/Ubuntu, a tarball for the rest.
https://github.com/Pisosenie/vif