This is a node.js chat application powered by SockJS and Express that provides the main functions you'd expect from a chat, such as emojis, private messages, an admin system, etc.
You can test a fully working live demo at https://igorantun.com/chat
- Type
/help
to get a list of the available chat commands
- Emoji support
- User @mentioning
- Private messaging
- Message deleting (for admins)
- Ability to kick/ban users (for admins)
- Other awesome features yet to be implemented
Clone this repo to your desktop and run npm install
to install all the dependencies.
You might want to look into app.js
and public/js/chat.js
to make some adjustments such as changing the socket url to other than localhost, and set up a SSL certificate to work with it.
After you clone this repo to your desktop, go to its root directory and run npm install
to install its dependencies.
Once the dependencies are installed, you can run node main.js
to start the application. You will then be able to access it at http://localhost:3000
To give yourself administrator permissions on the chat, you will have to type /op [your-name]
in the app console.