[ninux-dev] La rete di bastian bittorf visualizzata con netjson

leonaard leone at inventati.org
Mon Sep 7 13:22:38 CEST 2015


eccolo qua
http://[2001:4c00:893b:1513::17]/netjsongraph.js/examples/index.html


genero il netjson ad ogni richiesta:

#!/bin/env python3
from netdiff import OlsrParser
print('Content-type: application/json\n')
print(OlsrParser('http://[2001:4c00:893b:1513::1]:2007').json())

e lo servo:

/usr/bin/python3 -m http.server --cgi




More information about the ninux-dev mailing list