A decentralized, peer-to-peer, encrypted chat in PHP.
- Peer-to-peer instant messaging.
- Decentralized: See DHT and http://bittorrent.org/beps/bep_0005.html.
- Encryption: SSL
- Send P2P random messages.
- Addressbook: manage all conversation partners.
-
Clone
git clone https://github.com/TheFox/phpchat.git
-
Change to your
phpchat
directory and runcomposer install
-
You must forward TCP port 25000 (default) on your modem to your computer. After the chat has been started once there will be a
settings.yml
. Edit this file to change the incoming port.
Before running PHPChat, make sure you have all the needed dependencies installed on your system.
Here's a list of dependencies needed for PHPChat:
- PHP >= 5.3
- Composer
- Hashcash on connect. link_1 | link_2
- Supernode over HTTP: no active process; just a http request, json interface. No GUI.
- IMAP-server interface.
- ReSSL after period/number of msgs. Reset the SSL passwords.
- SSL sign public key to prove peer holds the private key.
- Renew ssl_key_pub_get and ssl_key_pub_put.
You're welcome to contribute to this project. Fork this project at https://github.com/TheFox/phpchat. You should read GitHub's How to Fork a Repo.
Copyright (C) 2014 Christian Mayer http://fox21.at
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.