Skip to content
glm-botPublic
forked from msrbuilds/roost

About

Roost - Self-hosted community platform. Open-source Skool/Circle alternative with Stripe payments, learn mode, live rooms, and more.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roost community platform with light and dark community feeds

Roost

The open-source home for your community.

A free, self-hosted alternative to Skool, Circle, and similar community platforms.
Bring conversations, classrooms, courses, and events together on infrastructure you control.

MIT license Self-hosted Website and docs deployment GitHub stars

MIT licensed · Customizable branding · No per-member platform fees


Features · Quick start · Deployment · Documentation · Development · License

Why Roost?

Roost gives teachers, creators, and independent communities a shared place to learn, build, and connect. Run it on your own infrastructure, connect your domain, and adapt the source to your community.

  • Keep control. Direct access to your code, database, and files.
  • Bring your tools together. Discussions, learning, messaging, and events in one platform.
  • Choose your setup. Use managed Supabase or run the backend stack yourself.
  • Make it yours. Customize the branding, enable the features you need, and contribute improvements.

Free software, with real operating costs. Roost has no software license or per-member platform fee. You cover hosting, storage, email, and any optional external services you use. Self-hosting also means managing updates, security, and backups.

Features

Feature What you can do
💬 Community feed Publish rich-text posts, share media, comment, and react.
📚 Groups & classrooms Create public or private spaces with admin, moderator, and member roles.
🎓 Courses & lessons Organize modules, embed video lessons, and track learning progress.
✉️ Direct messaging Connect through real-time one-to-one chat and file attachments.
📅 Events & calendar Schedule community events and manage RSVPs.
👥 Member directory Find members through searchable profiles and online status.
🏆 Leaderboards Recognize participation through points and contribution rankings.
🚀 Project showcases Share member projects with voting and reviews.
🗺️ Community roadmap Collect feature requests, bug reports, and community votes.
📺 Live room Bring live-session embeds, recordings, and real-time chat together.
🔔 Notifications Keep members informed with in-app and configured email notifications.
🛡️ Administration Manage users, roles, content, branding, and community settings.

Optional integrations include S3-compatible storage, SMTP or Brevo email, Redis, and Stripe membership billing. Configure and test the integrations you enable; paid memberships are disabled in the shared demo.

Explore all features →

Try it first

The live demo includes a prefilled shared member login and fictional sample content. Browse the feed, classrooms, calendar, messages, profiles, and showcases.

The shared demo is read-only. Account changes, content writes, uploads, and paid memberships are disabled. For a writable installation with an owner account, see the local sample community.

Quick start

Interactive installer — recommended

Run the installer in a Bash environment:

git clone https://github.com/msrbuilds/roost.git
cd roost
bash install.sh

The installer walks through:

  1. Community name, branding, and domain.
  2. Supabase Cloud or self-hosted Supabase.
  3. Docker VPS, Dokploy, Vercel, Netlify, or local development.
  4. File storage, account email, and optional integrations.

The Docker VPS path includes Traefik and Let's Encrypt HTTPS, with an optional MinIO profile. The self-hosted Supabase path can generate JWT, anon, and service keys and Dokploy-ready environment values.

Continue with the getting started guide for database initialization, your first admin account, and production configuration. The installer guide explains each setup path.

Manual setup for local development

Use Node.js 22+ and npm. You will also need a configured Supabase project, S3-compatible file storage, and account email delivery. See the setup prerequisites.

git clone https://github.com/msrbuilds/roost.git
cd roost
npm ci
npm ci --prefix server

cp .env.example .env.local
cp server/.env.example server/.env

Edit both environment files, initialize the database using schema.sql, and follow the first-admin instructions.

npm run dev:all

The frontend runs at http://localhost:5000 and the API at http://localhost:3000 by default. You can also start them separately with npm run dev and npm run dev:server.

Deployment

Option What it runs Guide
Docker on a VPS Frontend and API with Docker Compose, Traefik, and HTTPS Docker VPS
Dokploy on a VPS Full self-hosted stack with Supabase and private storage Dokploy setup
Vercel Frontend; API and backend services are hosted separately Vercel frontend
Netlify Frontend; API and backend services are hosted separately Netlify frontend
Database option Best fit Guide
Supabase Cloud Managed Postgres and authentication Cloud setup
Self-hosted Supabase Operate the database and authentication yourself Self-hosted setup

Documentation

Start here Run your community Operate your installation
Getting started Member walkthrough Backups & recovery
Interactive installer Administration Installation checks
Deployment guide index Shared demo setup Troubleshooting

Browse the searchable documentation website for all guides, including illustrated member and admin walkthroughs.

Tech stack

React TypeScript Tailwind CSS Supabase Docker

Layer Technologies
Frontend React 19, TypeScript, Vite, Tailwind CSS, Lucide icons
API Node.js 22+, Express, Zod, Helmet
Data & auth PostgreSQL and Supabase Auth, Realtime, and APIs
Files S3-compatible storage, including AWS S3, MinIO, Cloudflare R2, and DigitalOcean Spaces
Email & billing SMTP or Brevo; optional Stripe memberships
Content Sanitized rich-text editor and embedded video lessons
Testing Vitest, Testing Library, and Playwright
Product website Astro and Pagefind documentation search

Configuration

Use .env.example for frontend settings and server/.env.example for backend settings. The installer also generates the Compose .env file required for container deployments.

Feature flags
Variable Default Purpose
VITE_ENABLE_SIGNUP true Allow new account registration
VITE_ENABLE_SHOWCASE true Enable the project showcase
VITE_ENABLE_LIVE_ROOM true Enable the live room
VITE_ENABLE_LEADERBOARD true Enable points and leaderboards
VITE_ENABLE_ACTIVATIONS false Enable product activations

Frontend flags are applied when the app is built. Configure backend services and permissions separately; a frontend flag is not an access-control boundary.

Development

After completing local setup:

npm run dev:all       # Frontend and API
npm run check         # TypeScript, lint, and unit tests
npm test             # Unit tests in watch mode
npm run test:e2e      # Browser tests

To work on the product website and docs, see website/README.md.

Project structure
roost/
├── src/                        # React application
│   ├── auth/                   # Auth interfaces and Supabase adapter
│   ├── db/                     # Database interfaces and Supabase adapter
│   ├── components/             # UI components
│   ├── config/                 # Branding and feature configuration
│   ├── contexts/               # Shared application state
│   ├── hooks/                  # React hooks
│   ├── layouts/                # Member, admin, and auth layouts
│   ├── pages/                  # Application screens
│   ├── services/               # Data and API services
│   └── types/                  # TypeScript contracts
├── server/src/                 # Express routes, services, and utilities
├── e2e/                        # Playwright browser tests
├── guides/                     # Setup and operation guides
├── website/                    # Astro product website and docs
├── schema.sql                  # Fresh-install database schema
├── install.sh                  # Interactive installer
├── docker-compose.yml          # Docker deployment
├── docker-compose.dokploy.yml  # Dokploy deployment
├── docker-compose.local.yml    # Loopback-only sample installation
├── Dockerfile                  # Frontend container
├── nginx.conf                  # Frontend Nginx configuration
├── vercel.json                 # Vercel configuration
└── netlify.toml                # Netlify configuration

Local sample community

Run a writable sample installation with an owner account

This loopback-only installation is separate from the public demo. It has its own volumes, private storage, fictional sample data, and Mailpit inbox. Use Docker Desktop with Linux containers and Docker Compose v2. These settings are for local development, not public deployment.

node scripts/create-screenshot-env.cjs

docker compose --env-file .env.screenshots.local -p roost-screenshots -f docker-compose.dokploy.yml -f docker-compose.local.yml up -d --build

docker compose --env-file .env.screenshots.local -p roost-screenshots -f docker-compose.dokploy.yml -f docker-compose.local.yml exec -T -e ROOST_SCREENSHOT_SEED=true backend node scripts/seed-screenshots.cjs
  • App: http://127.0.0.1:15489
  • Private email inbox: http://127.0.0.1:15490
  • Sample member: demo@roost.example / ExploreRoost2026!
  • Owner: owner@roost.example; find the generated LOCAL_ADMIN_PASSWORD in the ignored .env.screenshots.local file.

Stripe is disabled. The environment generator refuses to overwrite its file, and the fixture seed refuses non-local origins or databases containing non-fixture users.

Stop the installation while keeping its data:

docker compose --env-file .env.screenshots.local -p roost-screenshots -f docker-compose.dokploy.yml -f docker-compose.local.yml stop

Follow Using Roost and Administration for the member and owner walkthroughs.

Contributing

Found a bug or have an idea? Open an issue. Pull requests for fixes, documentation, and improvements are welcome. Include clear reproduction steps or a description of the change, and run the relevant checks before submitting. Setup, checks, and pull request expectations are in CONTRIBUTING.md.

License

Roost is available under the MIT License. You can use, modify, and self-host it under the license terms. Third-party services and dependencies have their own terms and costs.


Built by MSR Builds. Open to your community.
If Roost helps you, consider starring the repository.

About

Roost - Self-hosted community platform. Open-source Skool/Circle alternative with Stripe payments, learn mode, live rooms, and more.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages