# SQLite path (default: gleamview.db in CWD) DATABASE_URL=sqlite:gleamview.db # Public URL used for OAuth metadata / did:web (use 127.0.0.1, not localhost) PUBLIC_URL=http://127.0.0.1:3000 HOST=0.0.0.0 PORT=3000 # Session cookie signing (at least 64 chars in production) SESSION_SECRET=dev-secret-change-me-please-use-at-least-64-characters-long!! # Bootstrap admin API key shown once on first start if no users exist # GLEAMVIEW_ADMIN_KEY=gv_admin_... JETSTREAM_URL=wss://jetstream1.us-east.bsky.network # Set to 0 to disable Jetstream JETSTREAM_ENABLED=1 PLC_URL=https://plc.directory RELAY_URL=https://bsky.network # Dev-only: allow unauthenticated local procedure writes into the index # (HappyView always proxies to the user's PDS; GleamView MVP can index locally) ALLOW_LOCAL_WRITES=1 # OAuth session storage (default: $XDG_STATE_HOME/gleamview or ~/.local/state/gleamview) # GLEAMVIEW_STATE_DIR=/var/lib/gleamview # Dev-only: allow unauthenticated local procedure writes into the index # Set to 0 to require OAuth sessions and proxy writes to the user's PDS # ALLOW_LOCAL_WRITES=1