Maddie Zhan
f0c79fd6f1
fix: remove unsupported archs on linux platform
2026-04-30 14:19:59 +08:00
Maddie Zhan
5c33d51392
fix: remove unsupported archs on freebsd platform
2026-04-30 14:16:45 +08:00
Maddie Zhan
c9cbed8313
chore: migrate goreleaser config to v2
2026-04-30 14:09:01 +08:00
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
风起
123cd29ffb
fix document bug ( #71 )
2026-02-25 18:31:10 +08:00
Qasim Mehmood
faa59b8261
Faster multi stage build using cross compilation ( #72 )
...
Co-authored-by: maddie <maddie@users.noreply.github.com >
2026-02-25 18:30:21 +08:00
Cobalt
aba2be835f
docker: use scratch for runtime image ( #77 )
2026-02-25 18:27:10 +08:00
Nick Miller
553a8c18cc
Fix IP redaction: assign ReplaceAllString return values ( #79 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-25 18:26:50 +08:00
mickkael
7001fa4fa5
Create arm-registry.yml ( #58 )
2023-04-11 13:51:41 +08:00
Devin Buhl
fa28701928
feat: add env configuration support ( #57 )
2023-04-11 13:51:29 +08:00
adamus1red
4afbe82283
Add docker multi-arch build ( #55 )
...
Add buildx & qemu for generating the multi-arch digest
Add builds for platforms amd64, arm64, Armv7 (Raspberry Pi 32bit), and 386
2023-04-11 13:50:59 +08:00
Tim Small
a3eec03845
Bump go-systemd from unreleased git version to release v22.4.0 ( #54 )
2023-04-11 13:50:39 +08:00
Sharl.Jimh.Tsin
2ea9df0aba
fix cookies not match while using subPath ( #51 )
2023-04-11 13:50:20 +08:00
minus
8e31fe25ac
Make Docker image easier to use ( #50 )
...
* Use single server example as default frontend
This just works out of the box
* Refactor Dockerfile
- Remove the asset dir since it's embedded in the executable anyway
- Use the code in the current directory to build instead of downloading.
Makes local testing very easy.
- Cache Go dependencies
- Run without root privileges. Note that using a BoltDB database
requires mounting a volume with the correct permissions. The default
database has thus been changed to memory so that starting the image
just works.
* Automatically publish images
2022-07-26 23:30:23 +08:00
kayos
580fc08e0e
Fix wrong format type in Fatalf call ( #48 )
...
> `web/listener_linux.go:57:3: github.com/sirupsen/logrus.Fatalf format %s has arg len(listeners) of wrong type int`
for ints we use %d
2022-07-23 20:20:28 +08:00
Maddie Zhan
9cbc95a6db
Fix Windows build
...
Fixes #44 , closes #45
v1.1.5
2022-07-09 01:03:33 +08:00
Maddie Zhan
fa749f3b45
goreleaser: don't upx compress Linux MIPS bianries
2022-07-09 00:54:04 +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
Marc
f09f2df2e3
Changed installation guide ( #40 )
...
- Added a notice about install the software using prebuilt binary packages.
- Added a notice about installing the software using my Ansible role.
2022-07-09 00:44:00 +08:00
yas-nyan
86763bd3aa
Feature: TLS and HTTP/2 ( #39 )
2022-03-27 02:47:16 +08:00
Maddie Zhan
22f21a270b
Add missing go.mod dependency
2022-01-18 15:52:20 +08:00
kaustubh105
5944c3ca28
Rework session management ( #37 )
...
Co-authored-by: Kaustubh <kaustubh@rop.app >
2022-01-18 15:48:01 +08:00
Tim Small
c67b8ec91d
Support systemd socket activation ( #35 )
...
* Support systemd socket activation
If the process has been started with systemd socket activation
configured, then serve requests on the passed-in socket instead of
attempting to bind to an address.
* Add example systemd unit files.
Add example systemd unit files which make use of systemd's security
facilities, and also allow binding to port 80 whilst running as an
unpriviliged process (using systemd socket activation).
2022-01-18 15:47:32 +08:00
Sean McAvoy
281aff1725
Update Dockerfile ( #36 )
...
update alpine to 3.15 (same as golang:alpine)
2022-01-18 15:46:15 +08:00
Axel Gembe
158e37d3ae
Docker: Fix asset copy step to copy from the correct directory ( #33 )
...
Assets were moved from the `assets` folder to the `web/assets` folder in
commit 7204ae2e19 but the `Dockerfile` has
not been adjusted to copy from there.
2021-10-17 21:51:13 +08:00
Maddie Zhan
2583e5113a
Use default html assets
2021-09-27 11:11:08 +08:00
Maddie Zhan
42cc7740a5
Fix windows/arm64 build
v1.1.4
2021-09-18 13:56:26 +08:00
Maddie Zhan
bee29e8b7e
Update goreleaser config
2021-09-18 13:12:01 +08:00
Maddie Zhan
89a5de0105
Support in-memory telemetry/stats database
2021-09-18 02:19:14 +08:00
Maddie Zhan
800760054e
Embed tzdata and rootcerts in binary
...
For use in environments without tzdata or root certs (like embedded devices)
Fixes #29
2021-09-18 01:58:35 +08:00
Maddie Zhan
8c1aa6b39b
Support none database type to disable stats/telemetry
...
Fixes #21
2021-09-18 01:48:10 +08:00
Maddie Zhan
7204ae2e19
Embed default assets
2021-09-17 21:06:00 +08:00
Maddie Zhan
83d25e00fe
Update dependencies
2021-09-17 20:32:57 +08:00
Maddie Zhan
a9adc15ce9
Sync frontend components with PHP version
2021-09-17 20:32:31 +08:00
udarnik386
2ca5dbf071
Add RPM package SPEC ( #23 )
2021-07-05 14:02:19 +08:00
Maddie Zhan
dcb9882978
Allow negative coordinates
...
Fixes #25
2021-05-21 14:21:45 +08:00
Maddie Zhan
c755a05b61
Update dependencies
v1.1.3
2021-03-18 18:20:08 +08:00
Maddie Zhan
e2d2f66e97
Remove web server logger
...
Fixes #18
2021-03-18 18:17:20 +08:00
Maddie Zhan
f033591c81
Fix ISP string
2020-12-21 12:07:27 +08:00
Maddie Zhan
890bc10096
Update PNG output to match PHP impl. better
2020-12-21 00:17:35 +08:00
Enrico
fe438802ca
Fix missing format calls and minor error handling ( #17 )
2020-12-16 17:42:24 +08:00
Maddie Zhan
fc6e99b45c
Let Viper handle the config file
v1.1.2
2020-11-10 16:33:19 +08:00
maddie
c815103e20
Merge pull request #11 from JackyCZJ/master
...
fix(mysql) timestamp marshall error , fix
v1.1.1
2020-08-24 18:32:48 +08:00
JackyCZJ
19432dbb37
fix(mysql) timestamp marshall error , fix
...
Signed-off-by: JackyCZJ <chenzj@esixnetwork.net >
2020-08-24 18:28:36 +08:00
Maddie Zhan
31d51deba5
Update README
2020-08-20 15:44:41 +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
01347b8514
Update dependencies
v1.1.0
2020-08-19 17:03:19 +08:00
Maddie Zhan
a0a6db8597
Add Proxy Protocol support
...
Closes #9
2020-08-19 17:02:37 +08:00