Write on the margins of the internet. Powered by the AT Protocol.
margin.at
extension
web
atproto
comments
1# Margin Server Configuration
2
3# Server
4PORT=8080
5BASE_URL=https://example.com
6
7# Database (SQLite file path or PostgreSQL connection string)
8DATABASE_URL=margin.db
9
10# Static Files (path to built frontend)
11STATIC_DIR=../web/dist
12
13# OAuth private key for signing requests (auto-generated if missing)
14OAUTH_KEY_PATH=./oauth_private_key.pem
15
16
17# Optional: Override default ATProto network URLs (you probably don't need these)
18# BSKY_PUBLIC_API=https://public.api.bsky.app
19# PLC_DIRECTORY_URL=https://plc.directory
20# BLOCK_RELAY_URL=wss://jetstream2.us-east.bsky.network/subscribe