Satoshi Sensei
Satoshi Sensei
satoshisensei@vlt.ge
Jan 15, 2026

Configuration & Customization

How to brand and configure your pleb.school instance using JSON config files.

Configuration & Customization

pleb.school uses JSON configuration files in the config directory. These files are shipped to the client, so never put secrets there.

Config files overview

FilePurpose
auth.jsonAuth providers, sign-in UI, copy
content.jsonHomepage sections, filters, search
copy.jsonUser-facing text and navigation
theme.jsonTheme and font UI defaults
payments.jsonZap presets and purchase UX
nostr.jsonRelay sets and publishing defaults
admin.jsonAdmin and moderator pubkeys

Required environment variables

  • DATABASE_URL
  • NEXTAUTH_SECRET
  • NEXTAUTH_URL
  • PRIVKEY_ENCRYPTION_KEY

Tips for operators

  • Keep secrets in env vars, not config files
  • Use content.json to reshape the homepage without code
  • Use copy.json to localize or rebrand text quickly
  • Use nostr.json to control publishing and read relays

Config-first customization keeps the platform approachable for non-technical operators.