Freifunk Franken Key Exchange
Go to file
Robert 360b41e3c0 Add hoodfile via hoodid 2023-09-04 23:43:21 +02:00
hood Update 20.01.23 2023-01-20 20:49:25 +01:00
poly Update database Jan 2022 2022-02-11 15:09:11 +01:00
voronoi Update database Jan 2022 2022-02-11 15:09:11 +01:00
.gitignore init 2020-01-12 18:16:36 +01:00
Readme.md init 2020-01-12 18:16:36 +01:00
get_hood.sh Update database Jan 2022 2022-02-11 15:09:11 +01:00
get_hoodid.sh Add hoodfile via hoodid 2023-09-04 23:43:21 +02:00
index.php Add hoodfile via hoodid 2023-09-04 23:43:21 +02:00

Readme.md

Keyxchange

Written in awk and sh to be runable anywhere.

Get the code

$ git clone https://git.freifunk-franken.de/freifunk-franken/VPNkeyXchange.git
$ cd VPNkeyXchange

Run it

$ ./get_hood.sh
$ ./get_hood.sh $LAT $LON

Example

$ ./get_hood.sh 49.92287650 11.03302002
{
    "version": 1,
    "network": {
        ...
    },
    "vpn": [
        ...
    ],
    "hood": {
        "id": "43",
        "name": "Bamberg",
        "essid": "bamberg.freifunk",
        ....
    }
}