5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-12-27 21:55:39 +00:00
Yggdrasil network map
Go to file
Christer Warén cc5e8ca1ce
Use new variable choices
Making possible to change IP and port with setting environment variables to docker run command
2019-01-22 03:04:44 +02:00
contrib/docker Use new variable choices 2019-01-22 03:04:44 +02:00
scripts use to get a map of the network 2018-12-08 00:41:40 -06:00
web Update about.html 2019-01-16 00:29:02 -06:00
.gitignore Script for starting multiple cjdns nodes 2014-06-05 17:50:37 +03:00
LICENSE HTTP -> HTTPS 2018-12-12 02:53:39 +02:00
README.md Changing addresses to new domain 2019-01-22 03:00:28 +02: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). You may alternatively generate your own view of the network by running a crawler script, but this may take some time (figuring out how to run it and use the results is left as an exercise to the user).

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.