Home - nself-org/nchat GitHub Wiki

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

âš ī¸ **GitHub.com Fallback** âš ī¸