https://github.com/hiroakis/tor-status-proxy
https://github.com/hiroakis/tor-status-proxy
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hiroakis/tor-status-proxy
- Owner: hiroakis
- Created: 2017-06-04T15:34:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-04T16:38:48.000Z (about 9 years ago)
- Last Synced: 2025-06-03T02:08:34.942Z (about 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tor-status-proxy
It caches the exit node list and the all node list from https://torstatus.blutmagie.de/
# Demo
https://tor-status-proxy.herokuapp.com/
# Installation
Build and run. See Makefile.
* options
```
-h string
The listen IP. (default "0.0.0.0")
-i int
The polling interval in sec. (default 3600)
-p int
The listen port. (default 9000)
```
# Example
```
$ curl https://tor-status-proxy.herokuapp.com/all
=> all nodes list
$ curl https://tor-status-proxy.herokuapp.com/exit
=> exit nodes list
$ curl -XPOST -i -d "ip=IPADDR" https://tor-status-proxy.herokuapp.com/istor
=> If your IP is tor node, the response code will be 200.
$ curl -XPOST -i -d "ip=IPADDR" https://tor-status-proxy.herokuapp.com/isexit
=> If your IP is tor exit node, the response code will be 200.
```
# License
MIT