From 28ce5317c6dd8c66c80f2bd2fd9b6a3e8f761be7 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Sat, 17 Nov 2018 15:08:51 -0600 Subject: [PATCH] branding --- README.md | 31 +++++++++---------------------- web/templates/about.html | 14 +++++++------- web/templates/base.html | 6 +++--- 3 files changed, 19 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 29b2d0b..fe09a27 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,21 @@ -# fc00.org +# Yggdrasil map -Source code for http://www.fc00.org (http://h.fc00.org on Hyperboria). +Forked from the 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. - -```bash -# 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 - -``` +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](https://github.com/yakamok/Niflheim-api/blob/master/send-view.py) script. ## Web server ```bash -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 +git clone https://github.com/Arceliar/yggdrasil-map.git +sudo apt-get install python-flask python-flup python-mysqldb python-pygraphviz python-networkx -cd fc00.org/web +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. diff --git a/web/templates/about.html b/web/templates/about.html index 212d9e8..085a749 100644 --- a/web/templates/about.html +++ b/web/templates/about.html @@ -3,20 +3,20 @@ {% block content %}
-

About fc00

-

fc00 is a project that aims to demystify what Hyperboria network is like. Currently the only thing we have here is a map of the network. The full source code is at GitHub.

+

About

+

This is a project that aims to demystify what the Yggdrasil network is like. Currently the only thing we have here is a map of the spanning tree subset of the network. The full source code is at GitHub.


Network map

-

The network page has a map of Hyperboria as it is now. The map is not complete since it is hard/impossible to get a full picture of the network. A rough estimate is that at least half of the nodes are pictured here, probably more. The nodes and links that are shown on the page are very likely to exist but this should not be taken as a guarantee.

- +

The network page has a map of Yggdrasil's spanning tree as it is now. The map is not complete since it is hard/impossible to get a full picture of the network, and it only includes the minimum subset of links needed to construct the spanning tree.

+

Contact

-

fc00 was orginally created by Randati. fc00 is currently run by zielmicha. - If you have something to say or you would like to help, contact him via michal@zielinscy.org.pl.

+

This project was foked from zielmicha's fork of Randati's fc00. + The yggdrasil developers can be contacted over matrix or IRC, for more info see: yggdrasil-network.github.io.

{% endblock %} diff --git a/web/templates/base.html b/web/templates/base.html index e90ff2a..ca9c4ac 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -2,19 +2,19 @@ - fc00::/8 – Mapping Hyperboria + 0200::/7 – Mapping The Yggdrasil Network