├── .github └── workflows │ └── onionoo.yml ├── README.md ├── details-full.json └── details-running-relays-fingerprint-address-only.json /.github/workflows/onionoo.yml: -------------------------------------------------------------------------------- 1 | name: Mirror Tor onionoo data 2 | 3 | on: 4 | schedule: 5 | - cron: '27 */12 * * *' 6 | workflow_dispatch: 7 | 8 | jobs: 9 | onionoo: 10 | name: Mirror Tor onionoo data 11 | runs-on: ubuntu-24.04 12 | steps: 13 | - name: Checkout 14 | uses: actions/checkout@v3 15 | 16 | - name: Update onionoo data 17 | run: | 18 | curl -f --max-time 60 --compressed -o "details-full.json" "https://onionoo.torproject.org/details" 19 | curl -f --max-time 60 --compressed -o "details-running-relays-fingerprint-address-only.json" \ 20 | 'https://onionoo.torproject.org/details?type=relay&running=true&fields=fingerprint,or_addresses,country' 21 | 22 | - name: Commit report 23 | run: | 24 | git config --global user.name 'Github Actions' 25 | git config --global user.email 'none@users.noreply.github.com' 26 | git add details-full.json details-running-relays-fingerprint-address-only.json 27 | git commit -m "Onionoo update" 28 | git push 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Tor relay onionoo mirror 2 | ======================== 3 | 4 | This repository mirrors Tor Project relay information, also known as metrics/onionoo. 5 | It is indented to be used with [Tor Relay Availability Checker](https://github.com/ValdikSS/tor-relay-scanner). 6 | --------------------------------------------------------------------------------