This was my first node.js application, however it has since been updated, it quite simply allows people to chat, locally encrypting messages in the browser.
This is not meant for public chatting, but rather groups of people who trust each other and would like to chat securely.
Run npm install
in the application to install dependencies.
Compile SCSS with this gulp command:
gulp scss
Transpile JavaScript using this command:
node ./build.js
For example after making changes run:
clear && node build.js && gulp scss && node app.js
Sart the application with this command:
pm2 start ./app.js --name chatting.im
The web socket server will run on port 2428 (which is CHAT when keyed on a keypad.) Ensure this port is open.
Note: The files stored in /public
should be served by a conventional web server.
Built by Joel Vardy.