WIP! A BB-style forum, on the ATmosphere!
We're still working... we'll be back soon when we have something to show off!
node
typescript
hono
htmx
atproto
1# AppView configuration
2PORT=3000
3FORUM_DID=did:plc:your-forum-did-here
4PDS_URL=https://your-pds.example.com
5JETSTREAM_URL=wss://jetstream2.us-east.bsky.network/subscribe
6
7# Database
8DATABASE_URL=postgres://atbb:atbb@localhost:5432/atbb
9
10# Web UI configuration
11# PORT=3001 (set in web package, or override here)
12APPVIEW_URL=http://localhost:3000
13
14# Forum Service Account credentials (for spike and AppView writes)
15FORUM_HANDLE=your-forum-handle
16FORUM_PASSWORD=your-forum-password
17
18# OAuth Configuration
19OAUTH_PUBLIC_URL=http://localhost:3000
20# The public URL where your AppView is accessible (used for client_id and redirect_uri)
21# For production: https://your-forum-domain.com
22# For local dev with ngrok: https://abc123.ngrok.io
23
24SESSION_SECRET=CHANGE_ME_SEE_COMMENT_BELOW
25# Used for signing session tokens (prevent tampering)
26# Generate with: openssl rand -hex 32
27
28SESSION_TTL_DAYS=7
29# How long sessions last before requiring re-authentication (default: 7 days)
30
31# Optional: Redis session storage (leave blank to use in-memory)
32# REDIS_URL=redis://localhost:6379
33# If set, uses Redis for session storage (supports multi-instance deployment)
34# If blank, uses in-memory storage (single-instance only)