aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2443a461a6193ca0d9a96e96fb4f3d3bcb3d7a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Tor Metrics :: [yui.cat](https://yui.cat/) source

Network-oriented Tor metrics and statistics made with love (not javascript).

* No javascript
* Static HTML/CSS generation at runtime
* Minimal library dependence (jinja2)
* Sort by ASN, country, and platform
* Respectful Onionoo queries (If-Modified-Since)

```bash
# Requirements: python3, jinja2 (pip install jinja2)

git clone https://github.com/tempname1024/tor-metrics.git
cd tor-metrics/tor-metrics
python3 generate.py

# Files are written to www/ by default
```

```
TODO:
* Per-relay page generation (display contact, exit policy, etc)
* Top exit/guard/relay families (see https://nusenu.github.io/OrNetStats/)
* Interesting statistics (ASN exit concentration, IPv6-supporting relays, etc)
* Implement something similar to https://metrics.torproject.org/bubbles.html
```

This project includes country flags by [GoSquared](https://github.com/gosquared/flags) and relay flags by the [Tor Project](https://www.torproject.org/).