Skip to main content

A TUI process manager for developers

Project description

🌊 Mer

Python Version License: MIT Built with Textual

Mer is a terminal-based process manager 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.


Roadmap

  • Action to change .env from cwds easily.

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.2.0.tar.gz (12.8 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.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mer_manager-0.2.0.tar.gz
  • Upload date:
  • Size: 12.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 eb022762cbd0d8ef0d1befc31be337644cd0f3733c96ac2b48fedfaa429284d5
MD5 0028f66991ac602549a0f8799ccc7347
BLAKE2b-256 ff0646bb51809a55655aa1661a471ff39c80dbf2bfed2beb7e04d482e2cd0b34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mer_manager-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18c2c9148491a9256dc8adddf075bdf531fe0c399a46937608e9821b6ae91d0b
MD5 bb733ec9dd1f4069be413400307e885e
BLAKE2b-256 65b12834b408e92631b64aa8034405879fc5c8bd26649f6ba0086415e17b64ab

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