Simple free PHP & JavaScript chatroom with flat file database
Demo on CodePen
This script utilizes a flat file database and harnesses the power of Flywheel and RelativeTime PHP libraries to provide a seamless and efficient user experience. It is user-friendly, easy to install and modify, and compatible with nearly all hosting services.
The idea behind the development of ChatX was to create an easy-to-use compact chat widget with fully-customizable color schemes, capable of working on any web-site with the code installed.
One of the key features of ChatX is its accessibility and convenience. The chat remains on the screen and is always within reach, even while navigating the website. It is easy to drag and resize the widget within the browser viewport, and it can be expanded or minimized to suit your needs. The chat also remembers its state, so you don't have to readjust it each time you use it.
Another benefit of ChatX is its ease of installation. There is no need for complex setups or MySQL or other databases. Just unzip the archive on your hosting and you're ready to go. The script is compatible with PHP 7.0+, making it suitable even for free web hosting services.
Despite its simplicity, ChatX offers all the main features of a regular chat. You can easily manage the chat's global functions without needing to understand JavaScript or PHP coding.
It's free, without any ads or distracting copyrights, and we continuously work to improve the user experience.
ver 1.4.0
Thanks to Tutorialzine for the initial shoutbox script release and inspiration.
Thanks to Alex_63 for the implementation of the fast & slow track system.
Thanks to me for all the patience during the development :)
PHP 7.0+
HTTPS
CURL (for uploading images to imgur)
1) Unpack the archive in an arbitrary directory on your server and navigate to it;
2) ChatX works out-of-the-box on the demo page (INDEX.PHP). You will see a minified chat box in the bottom right corner of the screen.
If you plan to embed the chat on another URL within the same website or use it on a third-party website, you will need to complete further installation procedures:
a) Expand the widget;
b) Click on Gear icon → Login;
c) In the modal box, login as admin (the default password is admin);
d) Click on ChatX management link;
e) In the new tab follow the steps provided in the left sidebar.
If done ChatX should work correctly on any website.