5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2025-02-05 23:36:16 +00:00
2018-11-24 19:31:09 -06:00
2014-03-30 17:43:14 +03:00
2018-11-17 15:08:51 -06:00

Yggdrasil map

Forked from the code for http://www.fc00.org (http://h.fc00.org on Hyperboria).

Sending your view of the network

This code reads a map of known nodes from y.yakamo.org:3000/current (reachable over yggdrasil). In order to display an accurate map of the network, we need your help. If you run a yggdrasil node, plase send your network view using the send-view.py script.

Web server

git clone https://github.com/Arceliar/yggdrasil-map.git
sudo apt-get install python-flask python-flup python-mysqldb python-pygraphviz python-networkx

cd yggdrasil-map/web
cp web_config.example.cfg web_config.cfg
python web.py

You would need to edit web.py to adjust the address/port the server listens on, and may want to edit the web_config.cfg file. Note that most of the options in web_config.cfg are unused after forking from the fc00.org code, so this is mostly just a workaround until we have time to clean up this code.

Run web/updateGraph.py periodically to rerender nodes graph. You may want to customize reverse-proxy IP retrieval logic in web.py.

Description
Yggdrasil network map
Readme GPL-3.0 279 KiB
Languages
Python 48.3%
JavaScript 23.8%
Go 12.2%
HTML 6.1%
CSS 5.3%
Other 4.3%