The open-source community platform for gaming communities, developers, creators, and organizations.
CommunityHub replaces fragmented tooling — forums, Discord bots, ticket systems, knowledge bases, event managers, and member portals — with one modular, self-hostable platform.
Status: Early development / public alpha scaffolding
See ROADMAP.md and PROJECT.md for the full vision.
Most communities stitch together Discourse + Discord bots + Google Forms + Notion + a custom ticket bot. That creates fragmented member data, inconsistent permissions, and expensive vendor lock-in.
CommunityHub aims to be:
- Open source first — MIT licensed, community-driven
- Self-hostable — your data stays on your infrastructure
- Modular — enable only the features you need
- API first — every feature exposes a REST API
- Extensible — plugin system for games, economy, custom workflows
- Modern — Next.js, NestJS, PostgreSQL, Redis
| Module | Description |
|---|---|
| Members | Profiles, roles, permissions, reputation, badges |
| Forum | Categories, topics, replies, polls, rich editor |
| Knowledge Base | Searchable docs with Markdown and versioning |
| Tickets | Staff assignment, internal notes, status workflow |
| Applications | Custom forms for staff, whitelist, recruitment |
| Events | Calendar, RSVP, Discord sync, reminders |
| Discord | OAuth, role sync, verification, webhooks, slash commands |
| Admin | Users, RBAC, audit logs, plugins, settings |
| Plugins | Extend the platform for Minecraft, FiveM, Rust, and more |
apps/
web/ # Next.js 15 frontend
api/ # NestJS backend API
packages/
ui/ # Shared UI components (shadcn/ui)
auth/ # Authentication helpers
database/ # Prisma schema & client
config/ # Shared ESLint / TS / Tailwind config
types/ # Shared TypeScript types
sdk/ # Public TypeScript SDK
plugins/ # Official & community plugins
docker/ # Docker & Compose deployment
docs/ # Project documentation
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, React 19, Tailwind CSS, shadcn/ui, TanStack Query, Zustand |
| Backend | NestJS, Prisma, PostgreSQL, Redis, BullMQ |
| Auth | Better Auth, Discord / Google / GitHub OAuth, email |
| Realtime | Socket.IO |
| Storage | Local or S3-compatible |
| Deploy | Docker Compose, Kubernetes-ready |
Prerequisites: Node.js 22+, pnpm 9+, Docker Desktop
# Clone
git clone https://github.com/DezeMitch/Comunityhub_2.git
cd communityhub
# Install dependencies
pnpm install
# Copy environment files
cp .env.example .env
# Start Postgres + Redis
pnpm docker:up
# Generate Prisma client & run migrations
pnpm db:generate
pnpm db:migrate
# Start all apps in development
pnpm dev| Service | URL |
|---|---|
| Web | http://localhost:3000 |
| API | http://localhost:4000 |
| API Docs (Swagger) | http://localhost:4000/docs |
We welcome contributions of all kinds — code, docs, design, translations, and plugins.
- Read CONTRIBUTING.md
- Check open Issues
- Open a pull request
Please report vulnerabilities privately. See SECURITY.md.
CommunityHub is released under the MIT License.
Inspired by the best parts of Discourse, Discord, Linear, Vercel, GitHub, Notion, and community platforms like NamelessMC — rebuilt as a modern, modular, self-hostable open-source stack.