Files
GiteaHelpers/stats/go.mod
hzhang 2cfa6ca76a feat: add stats helper service
Periodically snapshots Gitea instance metrics from a read-only MySQL
user and writes stats.json into Gitea custom/public/assets for the
home page to fetch same-origin. Config via env vars only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 12:01:53 +01:00

6 lines
73 B
Modula-2

module hlx-stats
go 1.23
require github.com/go-sql-driver/mysql v1.8.1