Skip to main content

A TUI process manager for developers

Project description

🌊 Mer

Python Version License: MIT Built with Textual

Mer is a lightweight, terminal-based process manager (TUI) designed for developers who need to manage multiple background tasks simultaneously. Inspired by the simplicity of a dashboard, Mer lets you start, stop, and monitor logs for all your processes in one place.


✨ Features

  • 🚀 Multi-process management: Define your services in a simple YAML file.
  • 📚 Aggregated Logs: View combined logs from multiple processes or focus on a single one.
  • 🔗 Dependency Support: Automatically start prerequisite services before running a process.
  • Quick Commands: Run custom shell commands directly in a process's working directory.

🚀 Getting Started

Installation

pip install mer-manager

Usage

Run Mer from anywhere:

mer

⚙️ Configuration

Mer uses a processes.yml file to define your environment.

frontend:
  run: "npm run dev"
  cwd: "./web"

backend:
  run: "python app.py"
  cwd: "C:/Documents/api"
  needs: ["database"]

database:
  run: "docker-compose up redis"

Options:

  • run: The command to execute.
  • cwd (optional): The working directory for the process and where it'll be run.
  • needs (optional): A list of process names that must be running before this one starts.

⌨️ Keyboard Shortcuts

Key Action
Enter Toggle the selected process (Start/Stop)
Space Pin/Unpin the selected process's logs
R Run a custom command in the process's cwd
Q Quit Mer
Esc Close input dialogs

🛠️ Running Commands (R)

When you press R on a selected process, Mer opens an input dialog. This allows you to run ad-hoc commands (like npm install, git status, or custom scripts) in a separate shell window that opens directly in that process's working directory.

Note: This feature requires a cwd to be configured for the process.


📝 License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mer_manager-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mer_manager-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file mer_manager-0.1.0.tar.gz.

File metadata

  • Download URL: mer_manager-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mer_manager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1256ac132e331e9a26e65a35be53429902c27bed84ecfa117b7b5e1cbd016cc4
MD5 d8eee08be156684281ab567bc612514d
BLAKE2b-256 e31c9a8f790e505bef56bb999ada8ab36115851ce42c0de165284875f5f30df2

See more details on using hashes here.

File details

Details for the file mer_manager-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mer_manager-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mer_manager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff72dfb59f1db8b6c2a0460369807ccd11d7d6583281c927bfa0383db22e4b35
MD5 417eebb1299b62aa02b0377f291e6f33
BLAKE2b-256 48aa165736a92d8307df0a5b41de046957cd74f426d44a4f66087abf90643107

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page