feat: Implement Satra lightweight TUI process launcher and tracker - #1
Merged
Merged
Conversation
- Launch detached background processes via setsid - Interactive Ratatui TUI with live session monitoring - Tab-based focus navigation between input bar and session list - Session Detail popup with process inspection, Kill, Restart, and Delete actions - Auto-cleanup for terminated processes after 5 minutes - Shell install script with architecture detection (x86_64, aarch64) - Unit tests and GitHub Actions CI/Release workflows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements Satra, a lightweight terminal-based process launcher and live session tracker built in Rust using
ratatuiandcrossterm.Key Features
brave,thunar) launch in the background usingsetsidandStdio::null(), keeping the input prompt instantly available for further commands.Tab: Seamlessly switch focus between input prompt and process list.↑/↓: Navigate list when focused.Enter: Open Session Detail popup or launch command.ESC: Return focus to input bar.[k]: Kill process.[r]: Restart process.[d]: Delete from list (terminates if running).[q]/[ESC]: Close detail panel.Ctrl+C) leaves spawned applications running detached.install.shdetects system architecture (x86_64,aarch64) and installs to~/.local/bin/satra.Verification
cargo fmt --check: Passedcargo clippy -- -D warnings: Passed (0 warnings)cargo test: All 6 unit tests passedcargo build --release: Built successfully