Git Product home page Git Product logo

locviz's Introduction

locviz: visualize ips on the map

screencast

This is a simple tool to visualize ip addresses on a map. For example, you can use it to monitor realtime stream of ip addresses from Web application request log.

Usage

  • Clone the git repo: git clone https://github.com/guozheng/locviz.git
  • Install package manager (we use yarn) libs: brew install yarn && yarn install
  • Start test client that writes ips to /tmp/request-ips: yarn startTestClient
  • Start the server and point Web browser to http://localhost:8080

Acknowledgement

  • Code is based on Alan Eng's snippet. It takes each zip code object that contains lat and lon and plots them on the map.
  • Many thanks for the libs used in package.json such as D3.js, Express, socket.io, socket.io stream, tail-stream, maxmind, etc.
  • IP to location mapping is done using the free MaxMind geolite2 data. It is from a manual download, there exists an update program. Other similar data packs can be found in this IP-based Geolocation FAQ article.

License

MIT License, see LICENSE.

locviz's People

Contributors

guozheng avatar zhreshold avatar

Watchers

James Cloos avatar

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.