spv

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 15 Imported by: 0

README ΒΆ

πŸ’»

spv logo
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
spv slate spv pink
✨ 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.
Check out my silly web-page -> non-erx.dev

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL