ChatBot4Everyone - AI Chatbot SaaS Source CodeChatBot4Everyone - AI Chatbot SaaS Source Code
Self-hosted, multi-tenant AI chatbot platform with local RAG, visual flow builder, and omnichannel deployment. Next.js & NestJ Recently UpdatedChatBot4Everyone - AI Chatbot SaaS Source Code
Self-hosted, multi-tenant AI chatbot platform with local RAG, visual flow builder, and omnichanne...
Overview
ChatBot4Everyone is a production-ready, fully self-hosted, multi-tenant AI chatbot platform engineered to provide complete data sovereignty and zero per-conversation usage fees. Instead of tying your business into restrictive third-party clouds with aggressive monthly per-seat pricing, this system is built to run entirely inside your own private server infrastructure using Docker Compose.
The entire platform is architected as a highly maintainable, fully typed TypeScript workspace using pnpm and Turborepo monorepo orchestration. It bridges a high-throughput backend API core (NestJS 11 + Fastify 5) with a modern, responsive frontend dashboard (Next.js App Router).
This is a 100% source code buyout. The package includes the complete, uncompiled source code repository alongside complete internal technical documentation and deployment runbooks. It is the perfect turnkey codebase for agencies wanting to offer white-label AI, or founders looking to launch a SaaS immediately.
Features
- Multi-Provider AI Routing: Seamlessly connects to OpenAI, Anthropic Claude, Google Gemini, or free, local Ollama models with automatic fallback chains.
- Enterprise RAG Knowledge Base: Asynchronous processing pipeline that parses PDFs, text docs, live URLs, and sitemaps into a PostgreSQL pgvector database with Redis-cached semantic search.
- Visual Smart Flow Builder: Drag-and-drop conversational node workspace supporting over 15 step types, including conditional logic, lead capture forms, and human handoff.
- True Omnichannel Deployment: Deploy across a JavaScript web widget, WhatsApp Business API, Telegram, Facebook Messenger, and a native WordPress plugin.
- E-Commerce Native Routes: Pre-built paths to connect directly with Shopify or WooCommerce for live product search and order tracking.
- Background Workers: Robust BullMQ + Redis pipeline for handling heavy file parsing and queue management.
Requirements
- Node.js: v18.x or higher
- Package Manager: pnpm
- Database: PostgreSQL (with pgvector extension enabled)
- Caching & Queues: Redis Server
- Deployment: Docker & Docker Compose (Highly Recommended for Production)
- API Keys: Access to at least one AI provider (OpenAI, Claude, Gemini) or a local Ollama instance
Instructions
- Step 1: Extract the downloaded repository archive to your local machine or server.
- Step 2: Navigate to the root directory and run pnpm install to install all monorepo dependencies.
- Step 3: Duplicate the .env.example file to .env and populate it with your database credentials, Redis URL, and API keys.
- Step 4: Run standard Prisma migrations to initialize the PostgreSQL pgvector database schema.
- Step 5: Start the development server using pnpm dev or deploy to production using the included docker-compose.yml file via docker-compose up -d.
- Step 6: Refer to the included Markdown documentation folder for advanced configuration, WordPress plugin setup, and white-labeling guides.
| Category | Scripts & Code / NodeJS |
| First release | 18 June 2026 |
| Last update | 18 June 2026 |
| Files included | .css, .html, Javascript .js |
| Tags | dashboard, whatsapp, backend, ai, typescript, chatbot, SaaS, nextjs, tailwindcss, nestjs, self-hosted, monorepo, flow builder, rag, rag engine |








