π»
Screen Process Viewer (spv)
A modern, elegant TUI for managing your GNU Screen sessions.
Made with love by @non-erx!β€οΈ
spv is a terminal-based tool written in Go that provides a beautiful and responsive two-pane interface to monitor, manage, and interact with all your screen sessions. It's designed to be fast, intuitive, and highly customizable.
π Installation
You can install spv in one of three ways:
1. Using go install (Recommended)
If you have Go installed, this is the easiest method:
go install github.com/non-erx/spv@latest
2. From Source
Clone the repository and build the binary yourself:
git clone https://github.com/non-erx/spv.git
cd spv
go build -ldflags="-s -w" -o spv
π‘ Usage
Simply run the binary from your terminal:
./spv
Keybindings
All keybindings are conveniently displayed in the footer of the application:
| Key |
Action |
| ββ |
Navigate through the session list |
| Enter |
Attach to the selected session |
| a |
Add a new session |
| k |
Kill the selected session |
| r |
Refresh the session list and stats |
| t |
Toggle autostart for the selected session |
| ? |
Show the about screen |
| q |
Quit the application |
π¨ Theming
spv comes with a few built-in themes. To set a theme and save it as your default, run:
./spv theme <theme_name>
Available Themes: slate (default), pink, forest, mellow, arctic, solarized, dracula, gruvbox, nord.
π Screenshots
β¨ Features
π₯οΈ Elegant TUI: A beautiful and responsive two-pane interface for at-a-glance information, built with Bubble Tea.
π Live Data: Auto-refreshes every second with real-time CPU, RAM, and session status updates.
π Dynamic Header: Displays the latest commit message from this GitHub repository, keeping you in the loop.
π¨ Customizable Themes: Choose from multiple built-in themes and save your preference.
πΎ Persistent Sessions: Remembers session commands and descriptions across restarts via a simple JSON configuration file.
β‘ Autostart Configuration: Easily flag sessions to be started on system reboot. For Linux systems, spv manages the necessary service files. Autostart is not supported on macOS or Windows.
π Detailed View: See a session's ID, status (Attached/Detached), autostart configuration, the command it's running, and a custom description.
β¨οΈ Intuitive Workflow: A multi-step wizard guides you through creating new sessions (Name β Command β Description). Autostart status is now toggled directly on existing sessions with the 't' key.