Mintaka streamlines your development by running long processes in parallel and highlighting errors in real-time. Say goodbye to the chaos of multiple tmux windows. With Mintaka, you can effortlessly monitor all your processes and dive straight into problem-solving when issues arise, enhancing your productivity and keeping your focus where it matters.
Mintaka is a powerful tool that enables the efficient management of long-running processes through parallel execution and automated problem detection. Designed for developers, Mintaka enhances your development workflow by allowing you to run multiple processes concurrently—such as server, Cosmos, esbuild, and TypeScript compiler—without the hassle of frequently checking each process individually.
Instead of running each process in separate tmux windows or panes, Mintaka consolidates the status of all processes into one view, highlighting any that encounter issues. This way, you can address errors promptly, focusing on the first problematic process while keeping an eye on the others.
Key Features
- Parallel Execution: Run multiple processes simultaneously, enhancing productivity.
- Problem Detection: Automatically focuses on the first process that fails, allowing quick resolution.
- Configurations: Easily configure processes using a TOML file, specifying commands, working directories, and status-checking regex expressions.
Example Configuration
To configure your processes, simply create a config.toml
file:
[[processes]]
name = "Server"
command = ["npm", "start"]
[[processes]]
name = "Cosmos"
command = ["npm", "run", "cosmos"]
[[processes]]
name = "Build"
command = ["npm", "run", "build-watch"]
error_regex = "Build finished with ([0-9]+) errors"
[[processes]]
name = "tsc"
command = ["npm", "run", "check:tsc", "--", "--watch"]
type = "tsc-watch"
[[processes]]
name = "eslint"
command = ["npm", "run", "check:eslint"]
after = "tsc"
Status Tracking
Mintaka tracks various statuses of your processes:
- Inactive: The process has not started.
- Running: The process is currently active.
- Success: The process has completed successfully.
- Error: Indicates a failure occurred during the process.
- Exited: The process has stopped.
By ensuring that you are aware of which process to tackle first, Mintaka streamlines your workflow and minimizes downtime.
Keyboard Shortcuts
a
: Toggle autofocus on/off to automatically focus on the first error.r
: Restart the currently focused process.- Arrow Keys: Navigate through the list of processes.
Ctrl+c
: Exit Mintaka.
While Mintaka is currently in early development, with some potential for bugs and performance issues, its innovative approach to monitoring and managing processes makes it a valuable addition to any developer's toolkit. Get started today to elevate your coding experience!