pleb.school
Demo
Early AccessConfigurable open education stack

Run your own Nostr-native course platform

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.

MIT licensed
Lightning-native payments
JSON-configurable
your-brand.com

Your brand, your content, your domain

Launch your learning hub

Course

Getting Started with Bitcoin

12 lessons

Video Series

Lightning Network Workshop

8 episodes

Document

Nostr Protocol Reference

15 chapters
Built withNext.js 15React 19Nostr ProtocolLightning / NIP-57Prisma ORMTailwind CSS 467+ ThemesTypeScript

What's Included

A production-ready education platform

Everything you need to run a branded learning hub for your community, plugged into Nostr and Lightning from day one.

Courses, Videos & Docs

Three content types out of the box. Structured multi-lesson courses, video embeds, and long-form markdown documents — all rendered from Nostr events.

Lightning Payments

Monetize with NIP-57 zaps. Learners pay in sats directly to creators — no payment processor, no custodian, no platform fees.

Nostr Identity & Auth

Multi-provider authentication: NIP-07 browser extension, email magic links, GitHub OAuth, or anonymous browsing. Users own their identity.

67+ Themes & Full Branding

Complete theme system with OKLCh color science. 20+ fonts, dark/light modes, and every color is a CSS variable you control.

Configuration Over Code

Customize copy, content layout, auth providers, payment presets, relays, and admin roles — all through JSON files, no code changes needed.

Decentralized Content

Content lives on Nostr relays, not locked in your database. Portable, censorship-resistant, and discoverable across the Nostr ecosystem.

Built For

Creators, communities & builders

Whether you're an educator launching a course catalog, a community running a knowledge base, or a developer building on open protocols.

For creators & communities

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.

  • Your domain, your brand, your audience
  • Set your own pricing in sats
  • Publish directly from Nostr
  • Full admin & moderator controls

For your audience

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.

  • Multi-format learning experience
  • Sign in with Nostr, email, or GitHub
  • Track progress across courses
  • No mandatory accounts or credit cards

For platform builders

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.

  • Next.js 15, React 19, TypeScript
  • Prisma ORM + PostgreSQL
  • Nostr event parsing built-in
  • MIT licensed — do what you want

Get Started

Three steps to your own platform

No lengthy setup. Fork, configure JSON, deploy. You're live.

01

Fork & clone

Create your own repository from the pleb.school template. Keep upstream in a branch if you want to pull future updates.

02

Configure branding & relays

Update JSON configs for copy, theme, content layout, auth providers, payment presets, and Nostr relay sets. No code changes.

03

Deploy your instance

Point environment variables at your PostgreSQL and Nostr relays. Deploy to Vercel, Fly.io, or self-host with Docker.

Built for the Bitcoin ecosystem

A production-grade stack that takes the open-source ethos seriously.

Courses · Videos · Docs

Multi-format content types

Nostr-native

Feeds, auth & content discovery

Lightning-first

Zaps, tips & paid content

Self-hosted & FOSS

MIT-licensed, own your data

+

Hybrid data architecture

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

Fork the repo, customize JSON, ship your platform

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.

  • 7 JSON config files control all branding, content, auth, payments, and relays
  • 67+ complete theme presets with 20+ font options
  • White-label ready — your domain, your brand, zero pleb.school references
  • Deploy to Vercel, Fly.io, or self-host with the included Dockerfile
config/copy.json
{
"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"
}
}
}
}

Ready to run your own instance?

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