dvdknaap / NodeJS-realtime-Chat

My First NodeJS app an realtime ChatBox, username required to enter

Home Page:http://dutchprogrammer.github.io/NodeJS-realtime-Chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS realtime Chat

My First NodeJS app an realtime ChatBox

  • Chatbox is realtime with socket.io
  • Username to enter
  • Flood protection
  • Command line usage: /help
  • RequireJS module
  • Chat can customised by an settings array
  • Private messaging
  • On unreaded privated message(s), the sender in userlist blinks with the amount of unreaded messages
  • On unreaded privated message(s) the document title change to total unreaded message (animated)
  • Super user mode with telnet
  • Send an messag through telnet to an specific chat member
  • Kick an specific chat user through telnet

Requirements

  • async
  • bootstrap
  • express
  • jquery
  • requirejs
  • socket.io

Install requirements

sudo npm install

How to start

sudo node chatbox.js

How to start this chat as an service:

sudo forever start -l forever.log -o out.log -e err.log -a chatbox.js

Problems and fixes

  1. When you got problems with ubuntu server because it can't find the node command execute the following line:
sudo update-alternatives --install /usr/sbin/node node /usr/bin/nodejs 99

Demo

Realtime Chatbox demo

Telnet

telnet dutchprogrammer.nl 9102

About

My First NodeJS app an realtime ChatBox, username required to enter

http://dutchprogrammer.github.io/NodeJS-realtime-Chat


Languages

Language:JavaScript 95.1%Language:CSS 4.9%