Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zielmicha/fc00.org
Hyperboria (CJDNS network) map
https://github.com/zielmicha/fc00.org
Last synced: 3 months ago
JSON representation
Hyperboria (CJDNS network) map
- Host: GitHub
- URL: https://github.com/zielmicha/fc00.org
- Owner: zielmicha
- License: gpl-3.0
- Fork: true (Randati/fc00.org)
- Created: 2015-07-26T15:42:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-08T07:58:11.000Z (about 5 years ago)
- Last Synced: 2024-07-27T06:37:00.919Z (4 months ago)
- Language: Python
- Homepage: http://fc00.org
- Size: 146 KB
- Stars: 62
- Watchers: 9
- Forks: 21
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```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 -
```## Web server
```bash
git clone [email protected]:zielmicha/fc00.org.git
git clone [email protected]:zielmicha/nodedb.git web/nodedb
sudo apt-get install python-flask python-flup python-mysqldb python-pygraphvizcd 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.