Giter VIP home page Giter VIP logo

chatio's Introduction

chatio

Chat.IO app using node.js and socket.io

Libraries used

[ Node.JS / npm ]

[ Socket.IO :: ExpressJS :: node-uuid :: underscore :: ejs ]

Functionality

  1. People are able to join the chat server after entering their names
  2. Usernames are unique - if a username is taken, a new suggestion is generated
  3. People can setup a room. Room names are unique. One person can create on room and join one room
  4. Users have to join a room to chat, except for the Private Message feature.
  5. 'Private Messages' can use private messages between two users
  6. Users can leave a room and/or disconnect from the server anytime
  7. People joining the room will see the past 10 messages (chat history).
  8. People will see an 'is typing' message when someone is typing a message.

Setup and configuration

Make sure that you update index.js:

server.listen(app.get('port'), function(){
  console.log('Express server listening on port ' + app.get('port'));
});

and add your own IP address/hostname if required, i.e.:

server.listen(app.get('port'), "192.168.1.6", function(){
  console.log('Express server listening on port ' + app.get('port'));
});

(the port is defined in the app.set('port', process.env.PORT || 3000); section.)

Please also update public/js/client.js: var socket = io.connect("192.168.1.6:3000"); with the right IP address/hostname.

Install

open the terminal and type:

$ npm install && bower install

and to launch run

$ npm start

Example

Now Visit Chat.IO DEMO

chatio's People

Contributors

abdalrahman-ahmed avatar

Stargazers

Ahmad Altaib Ali avatar Benkraoua avatar Viraj G. Kulkarni (विराज गु. कुलकर्णी) avatar Mohammed Hamad avatar Hamza Mousa avatar Ahmed Fawzy avatar Matt H avatar Ahmed elseadawi avatar Abdulatif Henno avatar Mohamed Akef avatar  avatar Et3rnal avatar Abdelrahman Shawki Hassan avatar Mohamed A. Basset avatar Mohammad Khatib avatar Mahmoud A. Rabo avatar

Watchers

Mohammad Khatib avatar  avatar James Cloos avatar  avatar Raddah avatar Ahmad Altaib Ali avatar

chatio's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.