Audience: Users
Scope: Installation and first run
Allium generates static HTML websites showing Tor relay statistics:
- AROI leaderboards ranking authenticated operators (18 categories)
- Network health dashboard
- Individual pages for ~7,000 relays
- Geographic and platform analysis
curl -sSL https://raw.githubusercontent.com/1aeo/allium/master/setup.sh | bashgit clone https://github.com/1aeo/allium.git
cd allium
pip3 install -r config/requirements.txt
cd allium
python3 allium.py --progresscd allium
python3 allium.py --progressGeneration takes 2-5 minutes. Output goes to www/.
cd www
python3 -m http.server 8000
# Open http://localhost:8000www/
├── index.html # AROI leaderboards (main page)
├── top500.html # Top 500 relays by consensus weight
├── network-health.html # Network health dashboard
├── search-index.json # Search data
├── misc/
│ ├── all.html # All relays
│ ├── aroi-leaderboards.html # AROI leaderboards
│ ├── authorities.html # Directory authorities
│ └── ... # Sorted listings
├── relay/<fingerprint>/index.html # Individual relay pages
├── contact/<hash>/index.html # Operator pages
├── country/<code>/index.html # Country pages
└── static/ # CSS, images, flags
# Show progress
python3 allium.py --progress
# Custom output directory
python3 allium.py --out /var/www/tor-metrics
# Low memory mode (~400MB instead of ~2.4GB)
python3 allium.py --apis details
# All options
python3 allium.py --help| Error | Solution |
|---|---|
| "Jinja2 not found" | pip3 install -r config/requirements.txt |
| "Permission denied" | python3 allium.py --out ~/allium-output |
| "No module named 'lib'" | Run from allium/ directory: cd allium |
| Out of memory | python3 allium.py --apis details |
- Configuration - All CLI options
- Deployment - Web server setup
- Troubleshooting - Common issues
- Current Capabilities - All features