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# Logging
8LOG_LEVEL=info # debug | info | warn | error | fatal
9
10# Database
11DATABASE_URL=postgres://atbb:atbb@localhost:5432/atbb
12
13# Web UI configuration
14# WEB_PORT=3001 # set in web package, or override here
15APPVIEW_URL=http://localhost:3000
16
17# Forum Service Account credentials (for AppView writes)
18FORUM_HANDLE=your-forum-handle
19FORUM_PASSWORD=your-forum-password
20
21# OAuth Configuration
22OAUTH_PUBLIC_URL=http://localhost:8080
23# The public URL where the forum is accessible (used as OAuth client_id and redirect_uri base).
24# AT Protocol fetches {OAUTH_PUBLIC_URL}/.well-known/oauth-client-metadata — nginx routes
25# this to AppView, so OAUTH_PUBLIC_URL must be the nginx address (not AppView directly).
26# For local dev with devenv: http://localhost:8080 (devenv nginx runs on port 8080)
27# For production: https://your-forum-domain.com
28
29SESSION_SECRET=CHANGE_ME_SEE_COMMENT_BELOW
30# Used for signing session tokens (prevent tampering)
31# Generate with: openssl rand -hex 32
32
33SESSION_TTL_DAYS=7
34# How long sessions last before requiring re-authentication (default: 7 days)
35
36# Optional: Redis session storage (leave blank to use in-memory)
37# REDIS_URL=redis://localhost:6379
38# If set, uses Redis for session storage (supports multi-instance deployment)
39# If blank, uses in-memory storage (single-instance only)
40
41# Role seeding
42SEED_DEFAULT_ROLES=true # Set to "false" to disable auto-seeding on startup
43DEFAULT_MEMBER_ROLE=Member # Role name to auto-assign to new memberships (empty for manual assignment)