/ffnodegame

Freifunk node highscore generator

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

ffnodegame
==========

Freifunk node highscore generator
Copyright (C) 2012 Anton Pirogov
Licensed under the GPLv3

requirements: ruby 1.9.3, sinatra gem
run with: ruby ffnodegame.rb

look over settings.rb and change the password before launching!

default settings:

The server loads the nodes.json data every hour and gives points to Freifunk nodes

gateway status: +100
each currently connected client: +25
each vpn link: +(10/quality)
each meshing link: +(50/quality)
node is offline: -100

reset scores with: http://localhost:port/reset?pw=<password>
force update with: http://localhost:port/update?pw=<password>