# Side Project Tracker settings. Copy to .env (never committed) and fill in what you use. # Operator label in the console, CLI and Gaffer prompts. SP_OWNER_NAME=You # Optional monthly portfolio revenue target in GBP. A saved target (including clearing it) overrides this. SP_TARGET_MONTHLY= # The app reads .env from the repo folder at start; real environment variables win over it. # --- Where things live --------------------------------------------------------------------------------------------- # SP_DB=data/sideprojects.db # the SQLite file (the only state: back it up with its -wal file) # SP_SEED_DIR=seed # projects.json, playbooks.json and growth.json, read at every start # SP_SITE_URL=http://127.0.0.1:8765 # the console's address, used in links in Discord messages # --- Privacy ------------------------------------------------------------------------------------------------------ # A non-loopback bind requires the operator token. Set SP_REQUIRE_TOKEN=1 behind a proxy or tunnel. # Browsers use any username and this password. Operator scripts can use Authorization: Bearer. # SP_ACCESS_TOKEN= # SP_REQUIRE_TOKEN=1 # Distinct automation credential for Gaffer, sp and the Mac sync (requires SP_ACCESS_TOKEN on the tracker). # SP_AGENT_TOKEN= # The key that approves spending real money (sent as X-Owner-Key by the console, asked for once). Until it is set, # no budget above £0 can be asked for and no spending can be approved. # SP_OWNER_KEY= # --- Collectors (all off until configured) ------------------------------------------------------------------------- # SP_COLLECT=1 # run the collectors on their schedule inside the app # GITHUB_USER=your-github-login # stars, forks, issues and last push of your public repos # GITHUB_TOKEN= # optional: raises GitHub's rate limit (no scopes needed) # POSTHOG_API_KEY= # a personal key with "Query: Read": views, visitors, pages, funnel events # POSTHOG_HOST=https://eu.posthog.com # POSTHOG_PROJECT= # your PostHog project id # SP_PULSE_DIR=data/pulse # daily stats files: days/YYYY-MM-DD.json (docs/API.md, "Daily stats files") # SP_LOOM_REGISTRY=data/loom-registry.json # a read-only copy of a loom registry, if you deploy with loom # SP_TILLS_FILE=config/tills.json # payment paths to walk daily without paying (config/README.md) # SP_DEMAND_FILE=config/demand.json # products whose demand the Hacker News list looks for (config/README.md) # SP_SHARED_LOADER=stats.example.com/a.js # an analytics loader your sites share, so the audit recognises it # SP_PRIVATE_DOMAINS=apps.myhome.example # comma-separated: names inside your own network, never requested # SP_USER_AGENT=sideprojects-monitor/1.0 # sent with every request the collectors make # --- Notifications and models -------------------------------------------------------------------------------------- # SP_DISCORD_WEBHOOK= # approvals waiting, agent runs, host and till alerts, the weekly summary # SP_CHAT_PROVIDERS=[{"name": "local", "base_url": "http://localhost:1234/v1", "model": "your-model"}] # # the Ask page's model chain (OpenAI-compatible, or "kind": "anthropic") # ANTHROPIC_API_KEY= # when a provider uses it (key_env names the variable) # --- Open in Claude Code (optional, Mac) --------------------------------------------------------------------------- # SP_DEV_ROOT=~/dev # sessions start only in project folders under here # SP_SESSION_EXCLUDE=/Users/you/dev/work # comma-separated folders a session must never start in # SP_TRACKER_DIR= # where a session starts when the project's folder is not allowed