bpist-squalk-forum/.env.example
2026-09-24 16:24:29 +02:00

21 lines
1.8 KiB
Text

PUBLIC_RELAY_URL=ws://localhost:3334 # required — NIP-29 relay hosting the group(s)
PUBLIC_MODE=simple # simple | full (single forum vs. many rooms)
PUBLIC_GROUP_ID=mygrouprandomid # required in simple mode; the single forum's group id (ignored in full mode)
PUBLIC_TITLE= # top-bar title; empty falls back to the group name
# Render on the server (Node deploy) instead of shipping a static SPA
PUBLIC_SSR=no
# With SSR on, warm the server cache from client-side navigations (yes/no)
PUBLIC_SSR_WARM=yes
# Snapshot cache windows in seconds: served as is / served stale while refreshing
PUBLIC_SSR_CACHE_FRESH=300
PUBLIC_SSR_CACHE_STALE=21600
PUBLIC_SEARCH=no # yes | no — enable the search box (requires a relay with NIP-50 support)
PUBLIC_LABELS= # comma-separated discussion labels (e.g., bug,feature,question)
PUBLIC_NOSTRCONNECT_RELAYS= # comma-separated relays for nostrconnect:// (bunker) login; defaults to bucket.coracle.social,relay.primal.net
PUBLIC_BLOSSOM_URL= # Blossom server URL for uploads (e.g., https://blossom.primal.net)
PUBLIC_EXTERNAL_CLIENT= # external client for profiles/events, {e} is the bech32 entity; default https://njump.me/{e}
# Theme color overrides — quote the value, a leading # is read as a comment otherwise
PUBLIC_ACCENT_COLOR= # override the accent color (default #e32a6d), e.g. "#00ff00"; hover shade derived
PUBLIC_SECONDARY_COLOR= # override the secondary color (default #ffaf25), e.g. "#0000ff"; hover shade derived
PUBLIC_FAVICON= # favicon URL (absolute, or /favicon.png for a file in static/ or .local/<mode>/static/); default is a filled circle in the accent color