zielmicha / fc00.org

Hyperboria (CJDNS network) map

Home Page:http://fc00.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fc00.org

Source code for http://www.fc00.org (http://h.fc00.org on Hyperboria).

Sending your view of the network

In order to display accurate map of Hyperboria fc00 need your help. If you run CJDNS node, please send your network view using sendGraph.py script.

# Install requests and cjdns for Python 3
pip3 install cjdns requests
# Get the script
wget https://raw.githubusercontent.com/zielmicha/fc00.org/master/scripts/sendGraph.py
# Edit configuration
nano sendGraph.py
chmod +x sendGraph.py

# Run this every 20-100 minutes
./sendGraph.py
# For example, add it to crontab
(crontab -l; echo "@hourly /root/sendGraph.py") | crontab -

Web server

git clone git@github.com:zielmicha/fc00.org.git
git clone git@github.com:zielmicha/nodedb.git web/nodedb
sudo apt-get install python-flask python-flup python-mysqldb python-pygraphviz

cd fc00.org/web
python web.py

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

About

Hyperboria (CJDNS network) map

http://fc00.org

License:GNU General Public License v3.0


Languages

Language:Python 45.0%Language:JavaScript 31.5%Language:HTML 10.8%Language:CSS 7.0%Language:Shell 3.8%Language:TSQL 1.9%