Ana Sayfa / Kod ve Scriptler / ChatPilot - AI Chatbot Builder with PHP Backend
ChatPilot - AI Chatbot Builder with PHP Backend
PHP ve MySQL arka ucu, ekip hesapları, gömülü widget ve kendi yapay zekâ API anahtarınızla kendi kendine barındırılan yapay zekâ sohbet robotları oluşturun.
- Yayın tarihi13 Kasım 2026
- Nerede çalışırNode.js 22
- VeritabanıMySQL 5.7, MariaDB 10.x
- Paket içeriği.php, .css, .html, .json, .svg, .sql, JavaScript .js
- Son güncelleme13 Kasım 2026
- Canlı demoVar

Overview
ChatPilot is a chatbot builder for website owners, freelancers, agencies and developers. Create chatbot profiles, style the website widget with a live preview, write the knowledge entries each bot may answer from, read every website conversation in a shared inbox and embed the widget on any site with one script tag.
The download includes a PHP 8 + MySQL backend. Your team signs in with administrator or member accounts and works on one workspace stored in your MySQL or MariaDB database. The PHP chat endpoint answers the widget on your website: it reads the chatbot and its published knowledge from the database, calls Anthropic, OpenAI or any OpenAI-compatible API with the key kept in api/config.php, and stores the visitor's question and the reply, with its sources and model, for the inbox and analytics. Follow-up questions use the stored conversation as history, and helpful or not helpful ratings are saved on the stored reply.
Answers are traceable. Every reply names the knowledge entry it came from (KB-01, KB-02), and when no entry covers a question the bot sends your fallback message instead of guessing. A checker on the Knowledge page shows which entry would answer a question and why.
Accounts use secure sessions with CSRF protection and rate-limited sign-in. Saves carry a version number, so two people editing at once, or a visitor chatting while you edit, never overwrite each other. The widget endpoint has a per-visitor rate limit stored in the database, an allow-list for other domains, and a retention setting for old conversations. A web installer creates the tables and the first administrator. The backend is plain PHP with PDO and curl (no framework, no Composer), so it runs on ordinary shared hosting with cPanel. A Node / Netlify Functions endpoint is included as well.
ChatPilot is a self-hosted source-code template. It is not a hosted chatbot service and does not include AI API credits or seller-provided infrastructure. Live AI replies need your own provider account and API key; provider usage and hosting costs, if any, are paid by you. The provider integrations were tested against local stand-ins of each API's responses and errors, not against live provider accounts.
About the live demo: the demo is a static build of the same admin hosted without PHP, so it runs in browser-only mode with fictional sample data and simulated replies, and sends no AI request. Sign-in, the database, the PHP chat endpoint and stored website conversations are server features, included in the download, documented step by step and shown in the screenshots.
How demo replies work: without an AI provider, the demo uses a simple matching engine. It compares the words of a question with the title, tags and text of the chatbot's published knowledge entries, then replies with sentences copied from the entry that matches best. An entry has to cover about half of the question's key words, and the matching is built for English with a small list of common synonyms. When nothing matches well enough, the bot sends its fallback message.
Trying the demo: the four sample chatbots (Fernhill Cycles Help, Lumen Dental Front Desk, Atlas Coworking Guide, Spring Sale Assistant) already have published entries, so ask them about their topics, for example shipping, returns, opening hours or appointments. A chatbot you create in the demo starts with no knowledge entries, so it answers every question with the fallback message ("I could not find an answer to that. Please contact the team directly.") until you add entries on the Knowledge page and set them to Published. The checker on the Knowledge page shows which words were matched, which entry was chosen and why a question fell back.
With your own server and API key, replies come from Anthropic, OpenAI or an OpenAI-compatible model instead. The model writes the answer from the same published knowledge entries, so it can understand questions worded differently from the entries, and it still sends the fallback message when the knowledge does not cover a question.
Limitations: every account sees every chatbot and conversation (no per-chatbot permissions). The workspace is stored as one versioned JSON record, which suits small and medium sites. No document upload, website crawling, embeddings or vector search: knowledge is entered as text entries. Gemini is an extension point you implement.
Features
Server (PHP + MySQL) - Sign-in with administrator and member roles, password change, team accounts - Workspace stored in MySQL/MariaDB with versioned saves and automatic merging of concurrent edits - PHP chat endpoint for Anthropic, OpenAI and OpenAI-compatible APIs; key in api/config.php, never in the browser - Website conversations stored on the server with sources, provider and model; inbox refreshes every 15 seconds - History taken from the stored conversation; ratings from the widget saved on the reply - Widget config served by the API: one snippet per chatbot, changes reach websites without re-uploading files - Per-visitor rate limit, allowed embedding domains, conversation retention and a stored-conversation cap - Web installer and command-line installer; works on shared hosting
Chatbots - Create, rename, duplicate, activate, deactivate, archive, restore and delete, with confirmation - Avatar (initials or icon), welcome message, fallback message, tone, reply length, up to four suggested questions - Unsaved changes are kept until you save or discard
Widget appearance builder - Position, launcher shape and text, accent colour, header style, corner radius, light or dark theme, typeface, panel width - Live preview in launcher, minimized and open states, at desktop and phone width - Contrast check on the accent colour - Message times, sources, typing indicator, suggested questions, helpful or not helpful buttons, clear conversation
Knowledge base - Entries with title, answer text, source label, category, tags, draft or published, and a "use in replies" switch - Search and filters by chatbot, category, tag and status - Checker that shows which entry answers a question
Conversation inbox - Filters by chatbot, status, date and text; chronological timeline with sources and feedback - Mark reviewed, archive, bulk actions, delete with confirmation - Export JSON and CSV
Analytics - Conversations per day, messages, answered vs fallback, feedback totals, suggested questions asked, questions without an answer - Table view and CSV export; all figures come from stored conversations
Embed and AI providers - One-file widget script in a shadow root - Request validation, size limits, timeouts and normalized errors in both endpoints - Connection test and generated api/config.php or environment lines; no API key field anywhere in the browser - Optional Node / Netlify Functions endpoint with the same contract
Quality - Light and dark themes, keyboard support, phone layout from 375 px - 36 unit tests and 23 automated API tests against a real MariaDB database - Strict TypeScript, ESLint; seven documentation guides
Requirements
- PHP 8.1 or newer with pdo_mysql, mbstring and curl - MySQL 5.7+ or MariaDB 10.3+ - Any host that runs PHP (shared hosting with cPanel works); HTTPS recommended - Your own Anthropic, OpenAI or OpenAI-compatible API key for live replies - Node.js 22.12+ and npm 10+ only to build the frontend (npm run build:server)
Browser compatibility: Latest Chrome, Edge, Firefox and Safari.
Benzer ürünler

Web sitenizin içeriğini ve belgelerini kullanan, kaynak bağlantıları ve insan devriyle kendi sunucunuzda barındırılan bir PHP yapay zeka sohbet robotu ekleyin.
Yayın: Eylül 2026
Sunucunuza dağıtabileceğiniz, sınırsız müşteriye yeniden satabileceğiniz ve kendi ürününüz olarak beyaz etiketleyebileceğiniz, kendi sunucunuzda barındırılan yapay zekâ sohbet robotu SaaS'i.
Yayın: Temmuz 2026
Herhangi bir web sitesine GPT destekli bir yapay zekâ sohbet robotu ekleyin. Kendi sunucunuzda barındırılır, tek seferlik satın alma, sınırsız site. Yönetici paneli ile kolay kurulum.
Yayın: Ocak 2026
Kendi yapay zekâ sunum SaaS'inizi başlatın: istemden sunuma ajan, tuval düzenleyici, yerel PowerPoint dışa aktarımı, ekipler ve faturalandırma.
Yayın: Kasım 2026
Sohbet, ajanlar, bilgi tabanı, iş akışları ve faturalama içeren kendi sunucunuzda çalışan AI SaaS platformu. Laravel 12, PHP 8.3, çoklu sağlayıcı AI.
Yayın: Haziran 2026
AI Chat Widget Pro - Laravel Platformu | GPT-4o, Claude ve Gemini | Potansiyel Müşteri Yakalama | Çok Kanallı
Yayın: Nisan 2026