Date: August 12th, 2012
This is a chat server created using Node.js.
:: INSTALL ::
-
Install node.js
-
Install redis server
-
Do - npm install winston
-
and in source do - npm link winston
-
install redis client - npm install -g redis
-
In the source directory do - npm link redis
-
Finally, install nodeunit - npm install -g nodeunit
:: USAGE ::
1.) cd src
2.) node IRCMain.js
Clients
1.) telnet (ip address of server) 10001
:: FEATURES ::
-
TCP server listening to port 10001
-
Multiple clients can connect using telnet or netcat.
-
Clients are assigned random user names.
-
Clients can create their own user name
-
Persistence, (All chat messages are stored using Redis)
-
Winston logging framework integrated.
-
Support for custom commands for Clients.
Currently supports only 4 commands
about users count quit -
Chat filtering of bad words
-
Centralized exception handling.
-
When client exits the chat server informs other clients about the departure.