Skip to content
github-actions[bot] edited this page Mar 24, 2026 · 53 revisions

nself-chat Documentation Wiki

Welcome to the nself-chat documentation! A production-ready, white-label team communication platform with multi-platform support (Web, iOS, Android, Desktop).

Version: 0.9.2 | Status: Production Ready | Last Updated: February 10, 2026


Plugin Requirements

Ι³Chat's advanced features run on Ι³Self Pro Plugins β€” AI moderation, voice/video calls, 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.


πŸš€ Quick Start

New to nself-chat? Start here:

  1. Quick Start Guide - Get running in 5 minutes
  2. Installation Guide - Detailed setup instructions
  3. Quick Reference - Common commands cheat sheet

Already familiar? Jump to:


πŸ—οΈ Project Structure (v0.9.2)

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)

New in v0.9.2: Per-app RBAC/ACL system enables users to have different roles in different applications sharing the same backend. See ARCHITECTURE.md for monorepo setup.


πŸ“– Documentation Sections

🎯 Getting Started

Essential guides for new users:

🎨 Features

Explore what nself-chat can do:

πŸ“± Platform Guides

Build for specific platforms:

πŸ”§ Development

For contributors and developers:

πŸš€ Deployment

Production deployment guides:

πŸ” Security

Security features and best practices:

πŸ“š Reference

Technical references:

πŸ€– Advanced Topics

Power user features:


πŸŽ“ Learning Paths

For End Users

  1. Start with Quick Start
  2. Read User Guide
  3. Explore Features Overview

For Developers

  1. Read Architecture Overview
  2. Follow Contributing Guide
  3. Review Code Standards
  4. Check API Documentation

For DevOps/SysAdmins

  1. Review Deployment Guide
  2. Read Security Runbook
  3. Study Backend README
  4. Check Troubleshooting

For Product Owners

  1. Explore Features Overview
  2. Review Roadmap
  3. Check White-Label Guide
  4. Read Multi-Tenancy

πŸ” Find What You Need

By Category

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

By Task

I want to...


πŸ“‹ Quick Reference

Essential Commands

# 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 app

See Quick Reference for complete command list.


πŸ†˜ Need Help?

Documentation

Community Support

Professional Support

  • Enterprise Support - Available for production deployments
  • Consulting - Architecture review and custom development
  • Training - Team training and onboarding
  • Contact: support@nself.org

πŸ“š Additional Resources

Project Links

External Resources


πŸ“ Version History

  • 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.


βš–οΈ License

nself-chat is open source software licensed under the MIT License.

See LICENSE for full license text.


πŸ“– Browse Documentation | πŸš€ Quick Start | πŸ“ Changelog | 🀝 Contributing


🎯 Getting Started


✨ Features

Core Features

Communication

Security & Privacy

(See πŸ” Security section below for 2FA, PIN Lock, and security audits.)

Interactive

(Search lives in πŸ“š Reference below.)

Extensibility


πŸ“– Guides

User Guides

Developer Guides

Enterprise

Backend

Deployment


βš™οΈ Configuration


πŸ“‘ API

API Documentation


πŸš€ Deployment


πŸ“š Reference

Architecture

Quick Reference


πŸ” Security


πŸ†˜ Help


ℹ️ About


πŸ”— Links


v1.0.0 β€’ 2026

Clone this wiki locally