aitrack Go server — HMAC validation, AI edit attribution & analytics (chi/Go 1.25)
325
Go / chi v5.2 server for the aitrack AI coding governance platform. Lightweight alternative to the Java server with identical API surface.
docker run -p 8080:8080 \
-e AITRACK_SECRET_KEY=changeme \
-e AITRACK_ADMIN_KEY=adminkey \
mapleeve/aitrack-server-go
| Endpoint | Description |
|---|---|
POST /api/v1/ai-track/records | Ingest edit records |
GET /api/v1/ai-track/stats | Analytics (group by token/repo/device) |
POST /admin/tokens | Issue developer credentials |
| Variable | Default | Description |
|---|---|---|
AITRACK_SECRET_KEY | — | HMAC signing key (required) |
AITRACK_ADMIN_KEY | — | Admin API key (required) |
SERVER_PORT | 8080 | HTTP port |
DATABASE_URL | SQLite in-memory | Switch to ParadeDB/PostgreSQL in production |
Content type
Image
Digest
sha256:8f251bf70…
Size
11.8 MB
Last updated
3 months ago
docker pull mapleeve/aitrack-server-go