Giter Site home page Giter Site logo

quickchat's Introduction

Quickchat

Quick IRC chat done in nodeJS during school's practical work.

Information & current build

I did this during a school's practical work of 4h (I actually never used node js before), so it's not working as expected for now. What it can do for now:

  • Connect to an host (server.js) on the same network
  • chat with multiple users on the host

I'll update this project during my free time. Goal is to finish this app correctly (better UI, skip use of "s" command from Vorpal, etc)

Installation

You will need Node JS before setting up! then run:

  • npm install vorpal
  • npm install ip

To start the app:

Server

Fist you need to start the host program type in your terminal :

node /path/server.js

if you want more option on server start up, just add on command line:

node /path/server.js Chat_room_name port

please note that room's name is just informative.

Client(s)

same command line:

node /path/client.js username

By default you will be connected on localhost (127.0.0.1) port 8080, if your chat server is hosted elsewere:

node /path/client.js username host

At last, if you have multiple used ports on your server, you can specify the port:

node /path/client.js username host port

and it's done!

don't forget to quit when you're done

quit

Or

exit

That's it!

For more information about Vorpal commands

help

Libraries / Sources

This application use the following libraries:

  • NodeJS
  • net (included in Node)
  • Vorpal
  • ip

quickchat's People

Contributors

maelabgrall avatar

Watchers

James Cloos avatar

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.