Private group chat
Accounts, roles, moderation, replies, mentions, reactions and profile photos.
SelfHostedChat is free PHP software for a private community chat. Download the source, host it yourself and adapt it to your own group.



Accounts, roles, moderation, replies, mentions, reactions and profile photos.
Private media storage, previews, PWA installation and push notifications.
The PHP logic is intentionally readable so you can change text, behaviour and styling yourself.
Login protection, IP blocking and an admin warning when hidden files are not properly protected.
SelfHostedChat never installs updates by itself. Visit this website when you want a newer version, make a backup and replace index.php. Your database, media and .htaccess remain yours.
PHP 8.1+, PDO SQLite, fileinfo and GD. FFmpeg/FFprobe are needed only for video. HTTPS is strongly recommended for PWA and push notifications. No ionCube is required.
SelfHostedChat is a hobby project. If it saves you time, the coffee link is a voluntary thank-you — never a requirement.
Installation, server requirements and practical answers for running SelfHostedChat yourself.
See what is included in the chat, profiles, media and administration.
Explore features →Follow the short installation guide for a new server.
Installation guide →Check PHP, SQLite, GD and the optional video requirements.
Server requirements →Read about privacy, customisation, updates and hosting.
Read FAQ →