Giter VIP home page Giter VIP logo

blockedmap's Introduction

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 )

blockedmap's People

Contributors

alexeyqu avatar dependabot[bot] avatar neganovalexey avatar paulin-mipt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blockedmap's Issues

Doesn't seem to work anymore

The website doesn't show anything on the map.
Last update: 28.06.2019, 23:42 (UTC) [62f4d8a].
Something is probably broken.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.