Mercury is a DIY communication system. It acts as a web-based group chat. The project is open source and can be hosted at home on a Raspberry Pi or at an online hosting service of your choice.
For the following instructions: Keep in mind, that Mercury got it's normal messaging functions on one website and an adminpanel on the other. These two should be hosted on seperated ports. With this structure, you will be able, to forward both websites to the internet for access from everywhere (less secure, but you can get admin privileges from everywhere) or hide the adminpanel behind a local network to get an extra layer of security.
cd mercury/root
php -S <LOCAL IP-ADDRESS>:<PORT>
cd mercury/admin/root
php -S <LOCAL IP-ADDRESS>:<PORT>
PHP's built-in webserver may have (security-)issues and is not intended to be a full-featured web server.
Popular servers:
PHP (Version 8 or above)
- With Git from terminal
git clone https://github.com/90N45-d3v/Mercury
- From the webpage:
<> Code
-->local
-->Download ZIP
- Set 777 file permission to
raw_msgs.txt
,admin/token.txt
,admin/pwd.txt
,admin/blacklist.txt
,admin/Logs/fail_login.csv
andadmin/Logs/success_login.csv
(chmod 777 <FILE>
) - Set 777 folder permission to
user
(chmod 777 <FOLDER>
) - Enable PHP on web-server
- Change root directory in web-server config to
mercury/root
- Configure a HTTP(-S) port for the webserver to run Mercury on
- (A SSL or TLS certificate should be configured)
- Change root directory in second web-server config to
mercury/admin/root
- Configure an arbitrary port for the webserver to run Mercury's Admin-Panel on
- Just as your choosen webserver describes it
5. Mercury's default admin password (Password should be changed quickly) (New users can be created on the admin's dashboard)
- Password: mercury