Commit Graph

10 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
Devin Buhl fa28701928 feat: add env configuration support (#57) 2023-04-11 13:51:29 +08:00
Nicolas Ledez a5d18ef24c Added url_base parameter to customize the root url and allow hosting with another application. (#41)
* Added `url_base` parameter and code to rewrite URL

* Manage redirect on stats login

Co-authored-by: Nicolas Ledez <github.public@ledez.net>
2022-07-09 00:44:49 +08:00
yas-nyan 86763bd3aa Feature: TLS and HTTP/2 (#39) 2022-03-27 02:47:16 +08:00
Maddie Zhan 7204ae2e19 Embed default assets 2021-09-17 21:06:00 +08:00
Maddie Zhan fc6e99b45c Let Viper handle the config file 2020-11-10 16:33:19 +08:00
Maddie Zhan a0a6db8597 Add Proxy Protocol support
Closes #9
2020-08-19 17:02:37 +08:00
Maddie Zhan 60329fc832 Add option to specify config file 2020-06-16 16:24:29 +08:00
Maddie Zhan bd721cdb07 Allow user to specify assets path in settings
Fixes #2
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