A web service to check whether Marburg's Freifunk nodes have potentially renamed themselves. For this purpose, the same database (InfluxDB) is accessed as for the Grafana. Allows both querying single nodes and performing bulk requests.
- Install a recent Python 3 together with the dependencies specified in
setup.py: bjoern, bottle, cachetools, and influxdb-python. - Copy
knotenwanderung_example.initoknotenwanderung.iniand edit it. python -m knotenwanderung.knotenserv knotenwanderung.ini
Take a look at the module.nix file and adjust it to your needs. After being
included, one might configure its system as follows:
{
services.knotenwanderung = {
enable = true;
# Values from the ini configuration.
config = {
influxdb = {
host = "influx.example.com"; port = 1312; database = "ff";
};
bottle = {
host = "localhost"; port = 8080;
};
};
};
}This application is released under the GNU Affero General Public License, as
specified in the LICENSE file. However, this repository also contains a
compiled version of Bootstrap (MIT License) and jQuery
(jQuery License).