Skip to main content

mr-manager


mr-manager is a Textual TUI for managing repositories in your ~/.mrconfig myrepos file. It discovers Git repositories under your home directory and lets you toggle which ones are tracked.

mr-manager-tui.png

Features

  • Discovers local Git repositories recursively.
  • Fast startup using a cached filesystem scan (configurable TTL).
  • Reads existing repo sections from ~/.mrconfig.
  • Interactive keyboard-driven selection UI.
  • Saves add/remove config updates safely.
  • Highlights missing configured repositories.
  • User-configurable discovery root and cache TTL persisted in ~/.config/mr-manager/config.yaml.

Installation

Python (pipx)

Requires Python >=3.13.

pipx install mr-manager

From source

Prerequisites: Python >=3.13, uv

uv sync --dev
uv run mr-manager

Usage

  • mr-manager: Start the interactive TUI
  • mr-manager -v: Print the installed version and exit

Keybindings

  • space: Toggle selected repository
  • j: Move down
  • k: Move up
  • s: Save changes
  • r: Refresh repository scan (bypasses cache)
  • c: Open configuration editor
  • q/ESC: Quit (asks for confirmation if unsaved changes exist)

User configuration

  • Config file path: ~/.config/mr-manager/config.yaml
  • When missing, defaults are used and the file is created when you save from the config editor.
  • Currently configurable:
    • Discovery Cache TTL (hours)
    • Discovery Root Directory

Development workflow

Run checks locally before opening a PR:

uv run ruff check --no-fix .
uv run ruff format --check .
uv run ty check
uv run pytest
uv run --group analysis pyscn check src/
markdownlint --config markdownlint.json --ignore-path .markdownlintignore "**/*.md"

Performance Benchmarking

The project includes a benchmarking script to track performance regressions across versions:

# Run a quick benchmark
uv run scripts/benchmark.py --runs 5

The benchmark supports step-based execution and persistent artifacts for later analysis:

# Full local run (collect + text summary + graph)
uv run scripts/benchmark.py --runs 5

# CI-style text-only run
uv run scripts/benchmark.py --runs 10 --steps collect,summary

Default artifacts are saved in .cache/mr-manager/benchmarks/<benchmark-id>/:

  • data.json raw measurements
  • summary.txt textual report
  • plot.png graph (when plot step is enabled)

Useful options:

  • --versions v0.0.1 main to benchmark specific refs
  • --scan-root <path> to control discovery root
  • --steps collect,summary,plot to resume from previous data
  • --force-collect to overwrite existing data.json

Documentation

Project docs are maintained in the wiki/ folder and published to GitHub Wiki via CI.

Metadata

Release files for mr-manager 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mr-manager 1.0.2
File Size Uploaded Provenance Actions
mr_manager-1.0.2.tar.gz 1.5 MB Without provenance Details for mr_manager-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mr-manager 1.0.2
File Interpreter ABI Platform Actions
mr_manager-1.0.2-py3-none-any.whl Python 3 none any Details for mr_manager-1.0.2-py3-none-any.whl

Total release size: 1.5 MB

Release files / mr_manager-1.0.2.tar.gz

Download URL mr_manager-1.0.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
aac88c1ee600cd61c0290840d4ae7575c26f582b568c7ec88a89ff8e06b26053
BLAKE2b-256 checksum
How to use checksums
1afee79202360076f74f255c89bfb7632fbce9bb609f7d3f80848e25ec149662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mr_manager-1.0.2-py3-none-any.whl

Download URL mr_manager-1.0.2-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba8d42ddebbf030e61c4a0a76232dbf4293d8e9492ca9fa2a6eba0ecbe62ca84
BLAKE2b-256 checksum
How to use checksums
a725e4f1ea19bcf7dd3ad3cc51599bb4f8155fe813651040a41f1c7e423bc175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for mr-manager 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page