spb/spbgit Public MIT
SPB Git — the platform hosting itself
JavaScript 73.9%
CSS 11.7%
Nunjucks 11.6%
Shell 2.7%
1# ─────────────────────────────────────────────2# SPB Git — Personal Git Platform3# ─────────────────────────────────────────────4# Author : Simon-Pierre Boucher5# Contact : contact@spboucher.ai6# File : .env.example7# Purpose : Example environment configuration (copy to .env)8# License : MIT © Simon-Pierre Boucher9# ─────────────────────────────────────────────1011# Port the Fastify server listens on (ngrok upstreams to this)12SPBGIT_PORT=74201314# Bind address — keep loopback, ngrok terminates TLS in front15SPBGIT_HOST=127.0.0.11617# Public origin used for canonical URLs, OG cards, feeds, clone URLs18SPBGIT_PUBLIC_URL=https://git.spboucher.ai1920# Where bare repositories live (source of truth)21SPBGIT_GIT_ROOT=/srv/git2223# Metadata (meta.json, tokens.json, activity.jsonl)24SPBGIT_DATA_DIR=/srv/spbgit/data2526# Rendered HTML, language stats, archives, OG images27SPBGIT_CACHE_DIR=/srv/spbgit/cache2829# pino log level: trace | debug | info | warn | error30SPBGIT_LOG_LEVEL=info3132# development enables template reload + pretty errors33SPBGIT_ENV=production3435# For local development, use project-relative dirs instead:36# SPBGIT_GIT_ROOT=./dev/git37# SPBGIT_DATA_DIR=./dev/data38# SPBGIT_CACHE_DIR=./dev/cache39