Skip to content
/ sudare Public

Manage Procfile-based applications with terminal multiplexer

License

Notifications You must be signed in to change notification settings

atty303/sudare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

black

white

Manage Procfile-based applications with terminal multiplexer

2023-01-01_23-59-02

Example Procfile

ping[google]: ping 8.8.8.8
ping[cloudflare]: ping 1.1.1.1
time: while true; do date; sleep 1; done
echo[hello]: echo Hello, world!
echo[good-by]: echo Good-bye world!
boolean[true]: true
boolean[false]: false
256-color: curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/e50a28ec54188d2413518788de6c6367ffcea4f7/print256colours.sh | bash

Features

  • It is written in Rust, so it is small and light.
  • Output multiplexing makes it easy to see the output of individual processes.
  • You can group processes and activate one of them.
  • There is no ability to scale the number of processes.

Install

Supported Architectures

Architecture Triple Operating System
aarch64-apple-darwin macOS (Apple Silicon)
x86_64-apple-darwin macOS (Intel)
x86_64-unknown-linux-gnu Linux (Intel)

via Homebrew

brew install atty303/tap/sudare

Usage

sudare <procfile>

Keymap

Key Function
ESC Exit
n, DOWN Next process group
p, UP Previous process group
0-9 Select active process in group
j Scroll up
k Scroll down

Procfile extension

You can group processes and activate one of them.

group-name[process-name-1]: echo foo
gorup-name[process-name-2]: echo bar