Skip to main content

Crate purple_ssh

Crate purple_ssh 

Source

Re-exports§

pub use runtime::helpers::*;

Modules§

animation
app
askpass
changelog
cli
CLI subcommand handlers. Each function handles one clap subcommand (provider, tunnel, password, snippet, add, import, sync, logs, theme, vault sign) and runs outside the TUI in a non-interactive terminal context.
cli_args
clap derive structs for the purple CLI.
clipboard
connection
containers
demo
demo_flag
event
file_browser
fs_util
fuzzy
Small reusable fuzzy ranking using the same nucleo configuration as the jump palette (smart case and normalization). Lets pickers offer type-to-filter without duplicating the full jump scoring pipeline. The matcher is cached in a thread-local so its scratch buffers are reused across keystrokes and frames instead of being reallocated on every call.
handler
history
import
key_activity
Per-host SSH connection activity log.
key_push
Push a public key onto a remote host’s ~/.ssh/authorized_keys.
logging
mcp
messages
Centralized user-facing messages.
onboarding
ping
preferences
providers
quick_add
runtime
snippet
snippet_impact
Static, execution-free blast-radius analysis of a snippet command, surfaced by the Snippets detail IMPACT card. A snippet is a single-line shell command run over SSH against a fleet of hosts; this judges what it does BEFORE a fleet run, so an operator sees the blast radius at a glance.
snippet_runs
Per-snippet run ledger persisted to ~/.purple/snippet_runs.json.
ssh_config
ssh_context
ssh_keys
tui
tui_loop
TUI event loop and the per-iteration helpers that drive it.
tunnel
tunnel_live
Live-data layer for active SSH tunnels. Two worker types:
ui
update
vault_ssh