Gaffa
A cross-platform process manager for procfile based applications in a single terminal. Has an interactive terminal UI.
There are some good Procfile-based process management tools around already:
but they didn't work on the windows machines i have to work on. I do not need a lot of features, just some convenience to run my processes in a single terminal with a single command from my justfile.
A gaffa is someone who manages a group of performers, think of a rock band or
circus. Whatever you like. 🧙♀️
Features
- Cross-platform: Works on Windows, macOS, and Linux without tmux dependency
- Process Management: Start, stop, and restart processes individually in interactive mode
- Live Monitoring: Process status, uptime, and restart counts
- Interactive Mode: Terminal UI with keyboard shortcuts and mouse scrolling
Installation
Available on crates.io: gaffa
Or build from source:
Usage
# Run all processes from Procfile
# Run specific processes
# Interactive mode
# Log output to a file
# Custom Procfile
# Set environment variables
# Load environment from file
# Full command example
Output Buffering
Some processes buffer their output when not connected to a terminal. To see real-time output:
- Python: Set
PYTHONUNBUFFERED=1environment variable