# gitea-heatmap-sidecar A tiny HTTP service that exposes daily contribution counts for an allowlisted Gitea user — **including private repo activity** — for rendering a GitHub-style heatmap on a public profile page. Stock Gitea (and Forgejo) intentionally do not expose private contribution counts to anonymous viewers. This is a sidecar workaround: read directly from Gitea's `action` table with a read-only DB user, return per-day counts as JSON, and let a custom profile template render the squares client-side. ## What it shows / what it doesn't - ✅ Daily counts (the green squares) - ✅ Hover tooltips with the date and count - ❌ Repo names, commit messages, branches, file content — none of that ever leaves the database. Only counts. ## Architecture ``` [anonymous visitor] → GET /didericis (Gitea) ↓ profile.tmpl override loads