Skip to main content

A lightweight CLI for Mihomo proxy management in restricted environments

Project description

Mimamori

"Mimamori" (見守り) means "watching over" or "monitoring" in Japanese - your guardian for proxy management in restricted environments.

A sleek, lightweight CLI frontend for Mihomo, inspired by mihoro, designed specifically for proxy management on Linux systems without root privileges. Perfect for research GPU servers, university clusters, and other environments where admin rights are limited.

[!WARNING] Mimamori is currently in early development. Features may be incomplete, unstable, or subject to significant changes. Use at your own risk.

Why Mimamori?

Seamless proxy management for restricted environments:

  • No root access required - runs entirely in user space
  • Reliable service - managed via systemd user services
  • Simple workflow - quick setup and intuitive commands

Quick Start

# Install mimamori using uv
uv tool install mimamori  # or `pip install mimamori` if you prefer pip

# One-command setup with default settings - installs and configures everything automatically
mim setup --yes

# After restarting your shell, enjoy a seamless workflow:
pon                # Enable proxy in current shell
curl google.com    # All network traffic now routes through your proxy
poff               # Disable proxy when finished

# Or use the proxychains-style command prefix:
pp curl google.com # Run specific commands through proxy without affecting shell

[!CAUTION] The pp (or mim proxy run) command, while similar to gg/proxychains-ng in usage, only configures environment variables. While most common applications respect these variables, some programs may ignore them. Future versions may implement true transparent proxying.

Usage

Mimamori offers these additional commands for enhanced user experience:

mim status    # View comprehensive status dashboard (service, connectivity, ports, logs)

mim select    # Choose which proxy node to use

Technical Details

  • Mimamori operates in GLOBAL mode without traffic rules. This is optimized for GPU servers that primarily access international resources (PyPI, Google Drive, etc.) with minimal need for domestic website allowlisting.

  • The default configuration automatically selects functioning nodes from your subscription using the AUTO-FALLBACK strategy group. Use mim select when you need to manually choose a specific node.

Comparison with Similar Projects

  • vs. gg: While gg provides an excellent portable solution with its own implementation, Mimamori leverages Mihomo's extensive protocol support and benefits from its regular maintenance.

  • vs. mihoro: Mimamori builds upon mihoro's approach while enhancing the user experience through automated binary downloads, command wrapping capabilities, and elegant proxy status visualization.

Similar Tools

  • mihoro: Mihomo CLI client on Linux. Formerly clashrup.
  • gg: A command-line tool for one-click proxy in your research and development without installing v2ray or anything else (only for linux).
  • proxychains-ng: A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies.

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

mimamori-0.3.1.tar.gz (41.3 kB view details)

Uploaded Source

Built Distribution

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

mimamori-0.3.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file mimamori-0.3.1.tar.gz.

File metadata

  • Download URL: mimamori-0.3.1.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for mimamori-0.3.1.tar.gz
Algorithm Hash digest
SHA256 205ebec509b991f13573e72864f546b07c343d632b4ef914b5b83f00ddb2b4e2
MD5 d7f24bdb930433b78b63ec75b5f183b1
BLAKE2b-256 4d778652cc362b5b84b5bf2002803313c4e55ca06ffa9146d54fba98be971f5e

See more details on using hashes here.

File details

Details for the file mimamori-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: mimamori-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for mimamori-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b78cb92e0084bff63016d6f12e40af7a780473b139570ec6870b0bfef1b3af1
MD5 ad2bad5eeb369404236e10c0892e6804
BLAKE2b-256 6dcd2717b5b5b86513e76d64c3abd99f4b4f7d020f8930f04cbe414cd4a7dd3c

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