Auto-indexing service and GraphQL API for AT Protocol Records
quickslice.slices.network/
atproto
gleam
graphql
1# OAuth Configuration
2# SECRET_KEY_BASE: Must be at least 64 characters. Generate with: openssl rand -base64 48
3# IMPORTANT: This MUST be persistent across server restarts or sessions will be invalidated
4SECRET_KEY_BASE=CHANGE_ME_TO_A_RANDOM_64_CHARACTER_STRING
5
6# External Base URL - used to construct the OAuth redirect URI and client metadata URL
7# The redirect URI will be: ${EXTERNAL_BASE_URL}/oauth/callback
8# Defaults to http://localhost:8080 if not set
9# For loopback mode, use 127.0.0.1 (not localhost) per RFC 8252
10# EXTERNAL_BASE_URL=http://127.0.0.1:8080
11
12# OAuth Loopback Mode - when true, uses loopback client IDs for local development
13# This allows OAuth to work without ngrok/tunnels by using the special client ID format:
14# http://localhost/?redirect_uri=http://127.0.0.1:8080/...&scope=atproto
15# The remote PDS doesn't need to fetch client metadata in loopback mode.
16# Set to "true" for local development, leave unset for production
17# OAUTH_LOOPBACK_MODE=true
18
19# Server Configuration
20# HOST: The interface to bind to (use 0.0.0.0 for Docker, 127.0.0.1 for local dev)
21HOST=127.0.0.1
22# PORT: The port to listen on
23PORT=8080
24
25# Database Configuration
26# Supports both SQLite and PostgreSQL via connection URL format:
27# SQLite: sqlite:data/quickslice.db or sqlite::memory:
28# PostgreSQL: postgres://user:pass@localhost:5432/quickslice?sslmode=disable
29# For SQLite, the path is relative to the server root
30DATABASE_URL=sqlite:data/quickslice.db
31
32# Jetstream Cursor Tracking
33# When enabled (default), the server tracks the Jetstream cursor and resumes from the last
34# position on restart. This ensures no events are missed during deployments or restarts.
35# Set to "true", "1", or "yes" to disable cursor tracking (useful in development to avoid
36# backfilling events from previous sessions).
37# JETSTREAM_DISABLE_CURSOR=false
38
39# External Services Configuration (Migrated to Database)
40# These settings are now configured via the Settings UI (/settings)
41# Defaults:
42# - Relay URL: https://relay1.us-west.bsky.network
43# - PLC Directory URL: https://plc.directory
44# - Jetstream URL: wss://jetstream2.us-west.bsky.network/subscribe
45# - OAuth Supported Scopes: atproto transition:generic