Sign inSign up

mapleeve/aitrack-server-go

By mapleeve

•Updated 3 months ago

aitrack Go server — HMAC validation, AI edit attribution & analytics (chi/Go 1.25)

Image
0

325

mapleeve/aitrack-server-go repository overview

⁠aitrack-server-go

Go / chi v5.2 server for the aitrack⁠ AI coding governance platform. Lightweight alternative to the Java server with identical API surface.

⁠Quick start

docker run -p 8080:8080 \
  -e AITRACK_SECRET_KEY=changeme \
  -e AITRACK_ADMIN_KEY=adminkey \
  mapleeve/aitrack-server-go

⁠Key endpoints

EndpointDescription
POST /api/v1/ai-track/recordsIngest edit records
GET /api/v1/ai-track/statsAnalytics (group by token/repo/device)
POST /admin/tokensIssue developer credentials

⁠Environment variables

VariableDefaultDescription
AITRACK_SECRET_KEY—HMAC signing key (required)
AITRACK_ADMIN_KEY—Admin API key (required)
SERVER_PORT8080HTTP port
DATABASE_URLSQLite in-memorySwitch to ParadeDB/PostgreSQL in production

⁠Source

github.com/MapleEve/company-aitrack⁠

Tag summary

Content type

Image

Digest

sha256:8f251bf70…

Size

11.8 MB

Last updated

3 months ago

docker pull mapleeve/aitrack-server-go