Repository navigation
Home
Welcome to the nself-chat documentation! A production-ready, white-label team communication platform with multi-platform support (Web, iOS, Android, Desktop).
Version: 1.0.0 | Status: Production Ready | Last Updated: April 17, 2026
Ι³Chat's advanced features run on the nChat pro plugin bundle (7 plugins: chat, livekit, recording, moderation, bots, realtime, auth). See nChat Bundle for full install, env-var, and feature-detection reference.
Advanced features also leverage generic Ι³Self Pro Plugins: AI moderation, analytics, Stripe billing, GDPR/HIPAA compliance, live streaming, and more.
Pro Plugins license: starting at $0.99/month ($9.99/year) at nself.org/pricing. Set NSELF_PLUGIN_LICENSE_KEY in your backend .env and nself start installs them automatically.
Without a license: core messaging, auth, storage, and search work using the 15 free plugins. You can also implement any Pro Plugin's functionality as a Custom Service (CS_1βCS_10).
See the live demo. It runs the full stack with Pro Plugins active.
New to nself-chat? Start here:
- Quick Start Guide - Get running in 5 minutes
- Installation Guide - Detailed setup instructions
- Quick Reference - Common commands cheat sheet
Already familiar? Jump to:
- Architecture Overview - System design and structure
- Deployment Guide - Production deployment
- API Reference - Complete API documentation
nself-chat follows the nself-family clean organization pattern:
nself-chat/
βββ backend/ # Ι³Self CLI backend infrastructure
β βββ db/
β β βββ migrations/ # Database migrations (incl. per-app RBAC)
β βββ hasura/ # GraphQL metadata
β βββ README.md # Backend documentation
βββ frontend/ # Clean flat structure
β βββ src/ # Source code
β β βββ app/ # Next.js App Router
β β βββ components/ # React components
β β βββ hooks/ # Custom hooks (incl. useAppPermissions)
β β βββ contexts/ # React contexts
β β βββ graphql/ # GraphQL queries (incl. RBAC)
β β βββ types/ # TypeScript types (incl. RBAC)
β β βββ lib/ # Utilities
β βββ platforms/ # Multi-platform builds
β β βββ mobile/ # Capacitor (iOS + Android)
β β βββ desktop/ # Electron (Windows + macOS + Linux)
β βββ public/ # Static assets
β βββ tests/ # Jest + Playwright tests
β βββ README.md # Frontend documentation
βββ .wiki/ # Complete documentation (this folder)
βββ ARCHITECTURE.md # **NEW** - Monorepo setup guide
βββ ...
Key Features:
- β Clean flat structure (nself-family pattern)
- β "One of Many" Monorepo Compatible - Can run standalone or with other apps
- β Per-App RBAC - Users can have different roles across apps
- β Shared authentication with SSO
- β Multi-platform support (Web, iOS, Android, Desktop)
Per-app RBAC/ACL system enables users to have different roles in different applications sharing the same backend. See ARCHITECTURE.md for monorepo setup.
Essential guides for new users:
- Quick Start - 5-minute setup
- Installation - Detailed installation guide
- Configuration - Environment variables and settings
- Quick Reference - Command cheat sheet
Explore what nself-chat can do:
- Features Overview - Complete feature list
- Authentication System - 11 OAuth providers + 2FA
- End-to-End Encryption (coming soon) - Signal Protocol implementation
- Voice & Video Calls (coming soon) - WebRTC + LiveKit
- Search (coming soon) - MeiliSearch integration
- Messaging - Advanced messaging features
- White-Label - Branding and customization
Build for specific platforms:
- Web App (coming soon) - Next.js 15 web application
- Mobile Apps (coming soon) - iOS and Android (Capacitor)
- Desktop Apps (coming soon) - Windows, macOS, Linux (Electron)
- Multi-Platform Deployment (coming soon) - Deploy to all platforms
For contributors and developers:
- Contributing Guide - How to contribute
- Architecture Overview - System design
- Code Standards (coming soon) - Coding conventions
- Testing Guide (coming soon) - Testing strategy
- Code Quality Report - Quality metrics
Production deployment guides:
- Deployment Overview - General deployment guide
- Monorepo Setup - NEW - Run multiple apps with one backend
- Docker Deployment - Docker containers
- Kubernetes Deployment - K8s manifests
- Vercel Deployment (coming soon) - Vercel hosting
- Security Runbook (coming soon) - Security procedures
Security features and best practices:
- Security Overview - Security architecture
- Security Runbook (coming soon) - Incident response procedures
- 2FA Implementation - Two-factor authentication
- PIN Lock System - App lock features
- OAuth Providers (coming soon) - OAuth integration guide
Technical references:
- API Documentation - Complete API reference
- Database Schema (coming soon) - Database structure (222 tables)
- GraphQL API (coming soon) - GraphQL queries and mutations
- Backend Services - nself CLI services
- Environment Variables - All env vars
Power user features:
- Bot Framework - Build custom bots
- Analytics - Metrics and monitoring
- Integrations (coming soon) - Slack, GitHub, Jira, etc.
- Webhooks (coming soon) - Webhook integration
- Custom Plugins - Plugin development
- Start with Quick Start
- Read User Guide
- Explore Features Overview
- Read Architecture Overview
- Follow Contributing Guide
- Review Code Standards (coming soon)
- Check API Documentation
- Review Deployment Guide
- Read Security Runbook (coming soon)
- Study Backend README (coming soon)
- Check Troubleshooting
- Explore Features Overview
- Review Roadmap
- Check White-Label Guide
- Read Multi-Tenancy (coming soon)
| Category | Files | Description |
|---|---|---|
| getting-started/ | 5 files | Quick start, installation, configuration |
| features/ | 30+ files | Feature documentation and guides |
| guides/ | 40+ files | How-to guides and tutorials |
| deployment/ | 15+ files | Deployment guides for all platforms |
| api/ | 20+ files | API reference and examples |
| security/ | 10+ files | Security features and best practices |
| configuration/ | 12+ files | Configuration and settings |
| troubleshooting/ | 8+ files | Common issues and solutions |
| about/ | 6 files | Changelog, contributing, license |
I want to...
- Get started quickly β Quick Start
- Install nself-chat β Installation Guide
- Deploy to production β Deployment Guide
- Customize branding β White-Label Guide
- Build a mobile app β Mobile Apps Guide (coming soon)
- Understand the architecture β Architecture Overview
- Contribute code β Contributing Guide
- Report a bug β GitHub Issues
- Ask a question β GitHub Discussions
# Backend (from /backend)
nself start # Start all services
nself status # Check service status
nself urls # List service URLs
nself logs # View logs
# Frontend Web (from /frontend/apps/web)
pnpm dev # Start dev server
pnpm build # Production build
pnpm test # Run tests
pnpm lint # Lint code
# Frontend Mobile (from /frontend/apps/mobile)
pnpm ios # Open iOS in Xcode
pnpm android # Open Android in Android Studio
# Frontend Desktop (from /frontend/apps/desktop)
pnpm start # Start Electron app
pnpm dist:mac # Build macOS app
pnpm dist:win # Build Windows appSee Quick Reference for complete command list.
- Search this wiki - Use Cmd/Ctrl+F to search
- FAQ - Frequently asked questions
- Troubleshooting - Common issues and fixes
- Known Limitations - Current limitations
- GitHub Issues - Bug reports and feature requests
- GitHub Discussions - Questions and community help
- Email Support - Direct support (paid plans)
- Enterprise Support - Available for production deployments
- Consulting - Architecture review and custom development
- Training - Team training and onboarding
- Contact: support@nself.org
- Main README (coming soon) - Project overview
- Backend README (coming soon) - Backend documentation
- Frontend README (coming soon) - Frontend monorepo docs
- GitHub Repository
- Ι³Self CLI - Backend infrastructure
- Next.js Documentation - Web framework
- Capacitor Documentation - Mobile framework
- Electron Documentation - Desktop framework
- v1.0.0 (2026-04-17) - Stable release; aligned with nSelf CLI 1.0.6
- v0.9.2 (2026-02-10) - Monorepo restructure, security hardening, complete docs
- v0.9.1 (2026-02-03) - WebRTC, channels, OAuth, email integration
- v0.9.0 (2026-02-01) - Multi-tenancy, billing, AI moderation
- v0.8.0 (2026-01-31) - Mobile and desktop apps
- v0.7.0 (2026-01-30) - Vector search, bot framework
See CHANGELOG for complete version history.
Ι³Chat (display) is the user-facing brand. nchat (system) is the package name; chat/ is the repo path. Brand assets are shared across nSelf β see master brand kit at ~/Sites/nself/.claude/docs/brand/ (PPI master) and the Brand Spec (F15) for color, typography, and naming rules.
Primary color: Indigo #6366F1. Background: #0F0F1A.
nself-chat is open source software licensed under the MIT License.
See LICENSE for full license text.
π Browse Documentation | π Quick Start | π Changelog | π€ Contributing
nself-chat v0.3.0 | GitHub | Issues | Discussions | Demo
Edit this page | MIT License | Β© 2026
(See π Security section below for 2FA, PIN Lock, and security audits.)
(Search lives in π Reference below.)
- π¬ Advanced Messaging
- π E2EE Setup
- π Search Setup
- π Call Management
- πΊ Live Streaming
- π₯οΈ Screen Sharing
- πΉ Video Calling
- ποΈ Voice Calling
- π± Mobile Optimization
- π§ͺ Testing
- π i18n
- π API Overview
- π Complete Reference
- π» API Examples
- π€ Bot API
- π Auth API
- π GraphQL Schema
- π Deployment Overview
- π³ Docker
- βΈοΈ Kubernetes
- β Helm Charts
- β Production Checklist
- π Production Validation
- π’ Multi-Tenant
- ποΈ Architecture
- π Diagrams
- ποΈ Database Schema
- π Project Structure
- π TypeScript Types
- π SPORT Reference
- π 2FA
- π¬ Messaging
- π Call Management
- π Call State Machine
- π E2EE
- πΊ Live Streaming
- π± Mobile Calls
- π PIN Lock
- π Polls
- π₯οΈ Screen Sharing
- π Search
- π Social Media
- ποΈ Voice Calling
- π Security Overview
- π‘οΈ Security Audit
- β‘ Performance
- π Best Practices
- π 2FA
- π PIN Lock
- π E2EE
- π‘οΈ E2EE Audit
v1.0.0 β’ 2026