An open-source paid community and membership platform for creators and teachers, built with Next.js, TypeScript, PostgreSQL and Stripe. It has free and paid tiers, a feed with comments and reactions, spaces and a course library locked by tier, events with RSVP and reminders, moderation with an audit log, and analytics on members, churn and revenue, as a self-hosted alternative to Circle or Skool.
by Light CloudCommunities and forums


The community is built on the Next.js SaaS starter's accounts and design system: the owner sets the name, about text, FAQ and spaces under Settings, and courses and events from their own pages. Event places are taken in a transaction, so two people cannot both get the last one. Stripe Checkout, the portal and webhooks, Resend and social sign-in have not yet run with real keys, and reminders go out with the next page load, so they can be late on hosting that scales to zero. Each post has one photo, and there are no video or file uploads, mentions, direct messages or lesson progress; events last a single day. Tier names and prices live in src/lib/tiers.ts as code, and the default perks text is written for the Bristol Sourdough School demo.
Yes. This community platform is MIT licensed and self-hosted on Next.js, PostgreSQL, Better Auth and Stripe. It has spaces, a feed, events, a course library, paid tiers, moderation and analytics, and you keep your members' data and pay no per-member fees.
Create a monthly price for each paid tier in Stripe, add a webhook to /api/auth/stripe/webhook, and set STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_MEMBER and STRIPE_PRICE_PREMIUM. Members then pay through Stripe Checkout and change or cancel in the Stripe customer portal.
Yes. Without Stripe keys everything else works, and the owner gives members a tier from their profile, for example after a bank transfer or as a gift. The analytics count those members as paying, and revenue appears once Stripe is on.
When members say they are going, they choose a reminder 1 hour, 1 day or 1 week before. It arrives as an in-app notification, and by email when Resend is set up; on hosts that pause idle containers, it goes out with the next page load after it falls due.
Yes. It is a standard Next.js app with no Light Cloud code: any host with Node.js 22.12 and PostgreSQL runs it with npm ci && npm run build and npm start, once DATABASE_URL and AUTH_SECRET are set.