Freifunk Franken Key Exchange
Go to file
Robert Langhammer 587ad17fed Add "get hood by ID"
The previous server also offered a get_hood_by_ID.

Signed-off-by: Robert Langhammer <rlanghammer@web.de>
2024-01-21 21:52:39 +01:00
hood remove timestamp in hoodfiles 2024-01-20 14:53:09 +01:00
poly update hood data (20.01.2024) 2024-01-20 12:40:04 +01:00
voronoi update hood data (20.01.2024) 2024-01-20 12:40:04 +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 Answer empty coordinates with the Trainstation. 2024-01-21 21:39:21 +01:00
get_hoodid.sh Add "get hood by ID" 2024-01-21 21:52:39 +01:00
index.php Allow numeric and empty coordinates 2024-01-21 21:32:24 +01: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",
        ....
    }
}