Map of IP addresses that are blocked in Russia
Switch branches/tags
Nothing to show
Clone or download

README.md

Map of IP addresses that are blocked in Russia

Visit blockedhere.pythonanywhere.com to explore it!

Project for MLH 2018 Moscow Hack.

Implemented with HERE Geo-API, inspired by RosKomSvoboda.

The data is taken from Zapret-Info repository and can be processed in 2 ways:

  • getting it from a particular snapshot of the IP list (faster, but less history is available);
  • cloning the whole repo and iterating through commits (takes time, gives the full history).

Usage (python 3.6 environment)

pip -r install requirements.txt
python init_db.py

Snapshot mode

  1. Get the list of blocked IPs, put it into data/dump.csv.

  2. Run:

python csv_parser.py
python geodata_loader.py

Complete mode

  1. Clone the whole Zapret-Info repo (default: to ../z-i/).

Inside the Zapret-Info directory, reset it to the first revision:

git reset --hard e784cde5c35ba786b4fa6499e8972c0175beab16
  1. Run:
python update_from_repo.py
  1. Wait..

Visualization

python app.py

Voilà!

Built by

Madidea Team ( alexeyqu, neganovalexey, paulin-mipt, Pitovsky )