DevicePanel: Lookup City of IP
The matrix server doesn't give us much information about user devices.
We can implement a city lookup using geoip
.
The database is released under the Creative Commons Attribution-ShareAlike 4.0 International License
and is updated once a week. Since the lookup is done locally we won't have privacy issues. Unfortunately Maxmind requires an account to download the database, but we could eventually redistributed the database via GNOME Gitlab.
There is also a rust crate for reading the database: https://crates.io/crates/maxminddb
Related: https://gitlab.gnome.org/GNOME/fractal/-/issues/452 CC: @bertob
Edited by Julian Sparber