Commit Graph

7 Commits

Author SHA1 Message Date
Maddie Zhan cd20f44d20 Sync PHP backend feature parity: IP detection, database backends, API endpoints, and frontend
- IP detection: Cloudflare IPv6, ULA IPv6, proxy header chain, offline GeoIP DB
- Database: add SQLite (pure Go, no CGo) and MSSQL backends
- API: add JSON result sharing endpoint and ID obfuscation
- Frontend: add modern CSS design, design switcher, favicon
- Compatibility: ?cors parameter support, human-friendly distance rounding
- Update Go to 1.21, add modernc.org/sqlite and maxminddb deps
2026-04-30 13:53:52 +08:00
Michael Stapelberg 603cbdeec5 go.mod: make module name match repository (#74) 2026-02-25 18:32:44 +08:00
Maddie Zhan dcb9882978 Allow negative coordinates
Fixes #25
2021-05-21 14:21:45 +08:00
Maddie Zhan cf93e8c545 gofmt 2020-08-20 10:32:50 +08:00
Maddie Zhan b138d9b6bc Use a proven library to calculate distance
Also rounding distance at 2 decimals instead of round to 5
2020-08-20 10:22:47 +08:00
Maddie Zhan 60329fc832 Add option to specify config file 2020-06-16 16:24:29 +08:00
Maddie Zhan fad1302a73 Migrate code from Go branch to new repo 2020-06-02 18:10:50 +08:00