A TUI implementation of the Mirava project. It helps developers in I.R. Iran keep working during internet blackouts by finding accessible mirror endpoints.
Mirava is an interactive terminal app that helps you find working mirror endpoints for:
- Linux package repositories (Debian/Ubuntu/Arch/Alpine and more)
- Language/package registries (PyPI, npm, Docker Registry, etc.)
It checks both:
- Reachability (
OK/FAIL) - Package availability (
FOUND/NOT FOUND)
pip install mirava-tui
mirava- Open the repository's Releases page.
- Download the binary for your platform.
- Run it from your terminal.
Examples:
# Linux / macOS
chmod +x mirava-<target>
./mirava-<target># Windows PowerShell
.\mirava-windows-x64.exeRequirements:
- Python 3.9+
Install and run:
pip install -e .
miravaOr without installation:
python -m miravaWhen Mirava starts, choose one of these modes:
OS mirrors: Check OS repository mirrors. Package input is optional.Registry mirrors: Check registries like PyPI/npm/Docker. Package/image input is required.
Keyboard controls:
Up/Down(ork/j) to moveEnterto selectbto go backqto quit
Mirava prints a results table with these columns:
Reach: Endpoint health (OKorFAIL)Package:FOUND,NOT FOUND, orSKIPPEDLatency: Lower is typically betterMirror,Endpoint,Reason: Context and failure details
Tips:
- Prefer rows with
Reach=OKand lower latency. NOT FOUNDusually means the mirror is reachable, but that specific package/image is missing.SKIPPEDappears when package checking was optional and no package name was given.
- Mirror checks use live network requests, so results can change over time.
- Some mirrors may be reachable but slow; run multiple checks if needed.