selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

MirrorProxy logo

Self-host MirrorProxy

v1.7.1

All-in-one mirror acceleration proxy for developers

ReleaseOpen SourceMIT
Updated6 hours ago
LanguageRust
Setup difficultyModerate
Stars
308
Ports
3000 (main HTTP server and admin console), 3001 (management/metrics endpoint (optional)), 80 (ACME HTTP-01 challenge (when direct_https enabled)), 443 (ACME HTTPS (when direct_https enabled))
Requires
SQLite
Docker
kudang/mirrorproxy
Install with Docker Compose

What is MirrorProxy?

MirrorProxy is a self-hosted mirror acceleration platform that acts as a unified proxy for software sources developers rely on daily. It supports around 30 proxy adapters covering code hosts (GitHub), container registries (Docker Hub, GHCR, Quay, GCR, etc.), language ecosystems (npm, PyPI, Cargo, Go modules, Maven, NuGet, Composer, RubyGems, and many more), developer toolchains (Homebrew, WinGet, Rustup, NVM), and over 30 Linux/BSD operating system repositories. The server fetches and caches content on-demand with bounded disk caching, supports multiple upstreams per source with automatic failover and health checks, and provides a web administration console for managing users, teams, monthly quotas, IP/CIDR access rules, rate limiting, and passkey/WebAuthn authentication. It integrates OAuth/OIDC for single sign-on, exposes Prometheus metrics and optional OTLP tracing, and can automate HTTPS via ACME (HTTP-01/DNS-01) or run behind Caddy/Nginx/Traefik. Deployment options include Docker Compose, standalone Linux binaries (x86_64 and ARM64), and systemd service installation. A cross-platform CLI client (Linux, macOS, Windows) helps configure local package managers to use the proxy. The project is MIT-licensed and written in Rust.

Should you self-host MirrorProxy?

MirrorProxy scores 51/100 on selfhost.directory (how scoring works) and ranks #14 of 25 in Proxy. It has 308 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v1.7.1, came out on 28 October 2026. New versions land roughly every 4 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is frp (85/100, 110 238 stars). It scores higher overall, so compare the two before you pick. See MirrorProxy vs frp side by side.

Features

  • Automatic HTTPS via ACME
  • Cross-platform CLI client
  • Docker Compose Deployment
  • Flexible network access
  • Mirror acceleration
  • Offline GeoIP
  • Prometheus Metrics
  • Quota Management
  • Resilient upstreams
  • Secure access controls
  • Traffic and health insight
  • Unified source management
  • User and team management
  • WebAuthn/Passkey authentication

MirrorProxy README

How to install MirrorProxy

Install MirrorProxy with Docker Compose

Docker and Docker Compose
Environment variables
MIRRORPROXY_ADMIN_PASSWORD, MIRRORPROXY_IMAGE, MIRRORPROXY_PORT

MIRRORPROXY_ADMIN_PASSWORD='choose-a-strong-password' docker compose up -d

Uses compose.yaml from the repository. Named volume persists database, cache, and GeoIP data.

MirrorProxy releases & version history

More in Package Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…