A websocket secure (wss) chat without registration, logging, chat history, trackers, etc.
Based on walkor/workerman asynchronous event driven PHP socket framework.
Working example: anonychat.elfimov.ru.
- Just because you're not paranoid does not mean you're not being watched
- As simple as possible (KISS + YAGNI on steroids)
- No unnecessary dependencies
- Messages are not stored on the server
- Messages are only visible to connected users
- All user names are unique
- All room names are unique
- Only one connection per username
- User can only connect to one room
- Prerequesites: Linux Server, Nginx, PHP 7.1+, Composer.
- Copy the project files or
git clone
to your server. - Run
composer install --no-dev --prefer-dist --optimize-autoloader --classmap-authoritative
to install workerman and wind up the autoload. - Set up Nginx configuration for your domain.
- Get SSL certificates (Let's Encript is ok) and make symlinks to
./var/certificates
. - Copy
./config/config.php.example
to./config/config.php
and edit port number, certificate filenames, server domain. - Open a port for wss on your server (
firewall-cmd --zone=public --permanent --add-port=9889/tcp && firewall-cmd --reload
. - Run
php server.php start
.