pleb.school is a forkable, configuration-driven education stack. Swap branding, themes, and relays — then deploy a fully branded learning hub with Lightning payments and Nostr identity for your community.
Your brand, your content, your domain
Course
Video Series
Document
What's Included
Everything you need to run a branded learning hub for your community, plugged into Nostr and Lightning from day one.
Three content types out of the box. Structured multi-lesson courses, video embeds, and long-form markdown documents — all rendered from Nostr events.
Monetize with NIP-57 zaps. Learners pay in sats directly to creators — no payment processor, no custodian, no platform fees.
Multi-provider authentication: NIP-07 browser extension, email magic links, GitHub OAuth, or anonymous browsing. Users own their identity.
Complete theme system with OKLCh color science. 20+ fonts, dark/light modes, and every color is a CSS variable you control.
Customize copy, content layout, auth providers, payment presets, relays, and admin roles — all through JSON files, no code changes needed.
Content lives on Nostr relays, not locked in your database. Portable, censorship-resistant, and discoverable across the Nostr ecosystem.
Built For
Whether you're an educator launching a course catalog, a community running a knowledge base, or a developer building on open protocols.
Launch a white-label academy on your domain with your branding, pricing, and content model. Define how courses, documents, and videos are presented using JSON configs.
Give learners a single place to watch talks, follow structured courses, and read long-form content — with progress tracking, Lightning tips, and Nostr identity baked in.
Start from a production-ready Next.js 15 stack wired to Prisma, Nostr relays, and Lightning zaps. Swap everything by editing JSON — no need to rewrite business logic.
Get Started
No lengthy setup. Fork, configure JSON, deploy. You're live.
Create your own repository from the pleb.school template. Keep upstream in a branch if you want to pull future updates.
Update JSON configs for copy, theme, content layout, auth providers, payment presets, and Nostr relay sets. No code changes.
Point environment variables at your PostgreSQL and Nostr relays. Deploy to Vercel, Fly.io, or self-host with Docker.
A production-grade stack that takes the open-source ethos seriously.
Multi-format content types
Feeds, auth & content discovery
Zaps, tips & paid content
MIT-licensed, own your data
Your database stores the metadata that ties everything together — pricing, progress, and access control. But all the content, zaps, interactions, and user identities live on Nostr relays. You get the structure of a traditional app with the portability and censorship-resistance of open protocols.
Make It Yours
pleb.school is designed to be forked. The reference deployment runs on Vercel, but the stack stays portable. Point it at your own relays and database, and ship a fully branded education experience without rewriting the core architecture.
{"site": {"title": "your-academy.com","brandName": "Your Academy","description": "Your education platform"},"homepage": {"hero": {"badge": "Your tagline here","title": {"line1": "Your headline","line2": "Built for","animatedWords": ["Bitcoin", "Nostr"]},"buttons": {"startLearning": "Start Learning"}}}}Use the demo as a sandbox, then fork the repo, customize the configs, and ship a Nostr-native academy that lives on your domain.
MIT Licensed · Free forever · Community driven