Skip to content
github-actions[bot] edited this page Sep 2, 2026 · 48 revisions

nself-chat Documentation

Version: 0.9.1 (February 3, 2026) Status: Production-Ready License: MIT

Version License Platform Status

White-Label Team Communication Platform

Quick Start β€’ Installation β€’ Features β€’ Deployment β€’ API β€’ Contributing


Documentation Structure

This documentation is organized into the following sections:

πŸ“š Getting Started

Start here if you're new to nself-chat.

✨ Features

Learn about all the features nself-chat offers.

Core Features

Communication Features

Interactive Features

Advanced Features

Customization

πŸ“– Guides

Step-by-step implementation and usage guides.

Implementation Guides

User Guides

πŸ“š Reference

Technical reference documentation.

Architecture & Design

Quick References

βš™οΈ Configuration

Configure nself-chat for your needs.

πŸ“‘ API

API documentation and examples.

πŸš€ Deployment

Deploy nself-chat to production.

πŸ” Security

Security features and best practices.

Security Features

Authentication & Authorization

Encryption

πŸ†˜ Troubleshooting

Common issues and solutions.

ℹ️ About

Project information and planning.

Release Information

Planning & Roadmap

Documentation


Quick Start

Get nself-chat running in under 5 minutes:

# 1. Clone the repository
git clone https://github.com/nself-org/nchat.git
cd nself-chat

# 2. Install dependencies
pnpm install

# 3. Start development mode (with test users)
pnpm dev

# 4. Open in browser
open http://localhost:3000

Next Steps:

  1. Complete the 9-step setup wizard
  2. Explore the feature documentation
  3. Check out the configuration guide

Full Quick Start Guide β†’


What's New in v0.9.1

Documentation Excellence & Plugin System

v0.9.1 brings comprehensive documentation polish and a powerful plugin architecture:

Highlights

  1. Advanced Messaging Features βœ…

    • Edit messages with edit history
    • Delete messages (soft delete)
    • Forward messages to multiple channels
    • Pin important messages
    • Star/save messages for later
    • Message read receipts
    • Real-time typing indicators
    • Learn More β†’
  2. GIFs and Stickers 🎨

    • GIF search integration (Tenor API)
    • GIF picker in message composer
    • Sticker packs management
    • Custom sticker upload (admin/owner)
    • 2 default sticker packs included
    • Learn More β†’
  3. Polls and Interactive Messages πŸ“Š

    • Create polls with multiple options
    • Single-choice and multiple-choice
    • Anonymous voting option
    • Poll expiration/deadline
    • Live poll results
    • Learn More β†’
  4. Two-Factor Authentication (2FA) πŸ”’

    • TOTP 2FA setup with QR code
    • Support for authenticator apps
    • 10 backup codes per user
    • 2FA enforcement option
    • Remember device (30 days)
    • Recovery process
    • Learn More β†’
  5. PIN Lock & Session Security πŸ”

    • PIN lock setup (4-6 digits)
    • Lock on app close/background
    • Auto-lock after timeout
    • Biometric unlock (WebAuthn)
    • Emergency unlock with password
    • Failed attempt lockout
    • Learn More β†’
  6. Enhanced Search πŸ”

    • Search messages, files, users, channels
    • Advanced filters (date, channel, user, type)
    • Search within threads
    • Search operators (from:, in:, has:, before:, after:)
    • Search history and saved searches
    • Keyboard shortcuts (Cmd+K)
    • Learn More β†’
  7. Bot API Foundation πŸ€–

    • Bot user type
    • Bot token generation
    • Bot API endpoints (5 endpoints)
    • Webhook delivery
    • Bot permissions system (16 permissions)
    • Bot management UI
    • Learn More β†’
  8. Social Media Integration 🌐

    • Link social accounts (Twitter, Instagram, LinkedIn)
    • Monitor accounts for new posts
    • Auto-post to announcement channels
    • Rich embeds for social posts
    • Enable/disable per account
    • Post filtering (hashtags, keywords)
    • Learn More β†’

Full Changelog β†’


Architecture Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     nself-chat Platform (v0.3.0)                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   Frontend (Next.js 15 + React 19)                              β”‚
β”‚   β€’ 9-step setup wizard                                          β”‚
β”‚   β€’ 25+ theme presets (light/dark)                              β”‚
β”‚   β€’ Real-time messaging UI                                       β”‚
β”‚   β€’ Advanced search (MeiliSearch)                                β”‚
β”‚   β€’ Bot management dashboard                                     β”‚
β”‚   β€’ Social media integration UI                                  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   State Management                                               β”‚
β”‚   β€’ Zustand (client state)                                       β”‚
β”‚   β€’ Apollo Client (GraphQL + subscriptions)                      β”‚
β”‚   β€’ LocalStorage + Database sync                                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   Backend (nself CLI v0.4.2)                                     β”‚
β”‚   β€’ PostgreSQL (database)                                        β”‚
β”‚   β€’ Hasura GraphQL Engine                                        β”‚
β”‚   β€’ Nhost Auth (production) / FauxAuth (dev)                    β”‚
β”‚   β€’ MinIO (file storage)                                         β”‚
β”‚   β€’ MeiliSearch (search engine)                                  β”‚
β”‚   β€’ Redis (jobs & caching)                                       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   Multi-Platform Support                                         β”‚
β”‚   β€’ Web (Next.js)                                                β”‚
β”‚   β€’ Desktop (Tauri, Electron)                                    β”‚
β”‚   β€’ Mobile (Capacitor, React Native)                             β”‚
β”‚   β€’ PWA (installable)                                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Detailed Architecture β†’


Tech Stack

Frontend

  • Framework: Next.js 15.5.10, React 19.0.0, TypeScript 5.7.3
  • UI: Tailwind CSS 3.4.17, Radix UI, Framer Motion 11.18.0
  • State: Zustand 5.0.3, Apollo Client 3.12.8
  • Forms: React Hook Form 7.54.2, Zod 3.24.1
  • Editor: TipTap 2.11.2 (rich text)
  • Real-time: Socket.io 4.8.1, GraphQL subscriptions

Backend (via nself CLI)

  • Database: PostgreSQL with 60+ extensions
  • GraphQL: Hasura GraphQL Engine
  • Auth: Nhost Authentication
  • Storage: MinIO (S3-compatible)
  • Search: MeiliSearch 0.44.0
  • Cache: Redis

Development

  • Testing: Jest 29.7.0, Playwright 1.50.1
  • Linting: ESLint 9.18.0, Prettier 3.4.2
  • CI/CD: 19 GitHub Actions workflows
  • Monitoring: Sentry 8.47.0

Key Features

White-Label Everything

  • Complete branding customization (name, logo, colors)
  • 25+ theme presets with light/dark modes
  • Custom CSS injection support
  • Landing page templates (5 options)
  • Feature toggles for selective functionality

Dual Authentication

  • Development Mode: 8 test users for fast iteration
  • Production Mode: Nhost Auth with 11 provider options
    • Email/password, Magic links
    • Google, Facebook, Twitter, GitHub, Discord, Slack
    • ID.me (military, police, first responders, government)

Advanced Messaging

  • Edit/delete messages with history
  • Forward to multiple channels
  • Pin important messages
  • Star/bookmark messages
  • Read receipts & typing indicators
  • Threaded conversations
  • Rich text editing (markdown, code blocks)

Powerful Search

  • MeiliSearch integration (sub-50ms queries)
  • Search operators: from:, in:, has:, before:, after:, is:
  • Filter by date, channel, user, file type
  • Search within threads
  • Saved searches and history
  • Keyboard shortcuts (Cmd+K)

Enterprise Security

  • Two-factor authentication (TOTP)
  • PIN lock with biometric support
  • Session management with device tracking
  • Row-level security (RLS) on all tables
  • Audit logging for admin actions
  • Content moderation and filtering

Documentation By Audience

For End Users

For Administrators

For Developers

For DevOps


Project Stats

Metric Value
Version 0.9.1
Release Date February 3, 2026
Total Features 150+
Feature Parity ~65% (vs major platforms)
Components 75+ directories
Custom Hooks 60+ hooks
Database Tables 50+ tables
API Endpoints 40+ endpoints
Theme Presets 25+ themes
Auth Providers 11 providers
CI Workflows 19 workflows
Documentation Pages 333+ pages

Support & Community

Getting Help

Contributing

We welcome contributions! See our Contributing Guide for:

  • Code of conduct
  • Development setup
  • Pull request process
  • Code standards
  • Testing requirements

Roadmap

  • v0.9.2 (1 week): Additional plugin integrations
  • v1.0.0 (1 month): Production launch with full feature parity
  • v1.1.0 (2 months): Advanced AI features and analytics
  • v1.2.0 (3 months): Enterprise features and compliance

Full Roadmap β†’


License

MIT License - see LICENSE for details.


Acknowledgments

Built with:


Version 0.9.1 β€’ February 2026 β€’ GitHub

nself-chat - White-label team communication platform


🎯 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