(READ ONLY) Margin is an open annotation layer for the internet. Powered by the AT Protocol. margin.at
extension web atproto comments
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 24 lines 721 B view raw
1# Margin Configuration 2 3# Server 4PORT=8080 5BASE_URL=https://example.com 6 7# Database (PostgreSQL connection string) 8DATABASE_URL=postgres://user:pass@localhost:5432/margin 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=/data/oauth_private_key.pem 15 16# Optional: Override default ATProto network URLs (you probably don't need these) 17# BSKY_PUBLIC_API=https://public.api.bsky.app 18# PLC_DIRECTORY_URL=https://plc.directory 19# BLOCK_RELAY_URL=wss://jetstream2.us-east.bsky.network/subscribe 20 21# Analytics (PostHog) — leave blank to disable 22# POSTHOG_PROJECT_TOKEN=phc_ 23# POSTHOG_HOST= 24# POSTHOG_UI_HOST=https://us.posthog.com