Web-based whois gateway written in Python for lighttpd
- Clone this git repo into the home directory of your project
 - Update 
rebuild_geolocation.shwith the download url for GeoLite2 City from your maxmind account, and run the script - Enter a 
webservice python3.7 shell, and runrebuild_venv.sh - Update 
PROJECTname inwww/python/src/app.py, if needed - Create a file 
ipinfo_tokenwith your ipinfo token - Run 
webservice python3.7 start 
https://tools.wmflabs.org/whois/202.12.29.175/lookupor/gateway.py?ip=202.12.29.175&lookup=true- human-readable Whois result page, with a query form
 
https://tools.wmflabs.org/whois/202.12.29.175/lookup/jsonor/gateway.py?ip=202.12.29.175&lookup=true&format=json- Whois result in JSON
 
https://tools.wmflabs.org/whois/202.12.29.175or/gateway.py?ip=202.12.29.175- List of links to regional databases
 
https://tools.wmflabs.org/whois/202.12.29.175/redirect/NAMEor/gateway.py?ip=202.12.29.175&provider=NAME- Redirect to a search result page provided by NAME
 
See LICENSE.md.