Git Product home page Git Product logo

chatroom's Introduction

ChatRoom

NodeJS based Text, Image, File Real Time Chat Room.

You can see the live demo here

  • Provides chat messaging using socket.io
  • Allows file sharing of image,doc,pdf,excel,text and mp3.
  • Periodic file deletion to save server space.
  • Quick messaging and file sharing using formadible

ChatRoom is a messaging and file sharing project based on angularjs and node.js which allows users to just enter username(nickname) and start using chat messenger:

Installation

You need node,npm and bower installed globally:

  • Step1: Clone ChatRoom repository locally
$ git clone https://github.com/systenics/ChatRoom.git 
  • Step2: cd into cloned directory

  • Step3: install dependencies using commands

$ sudo npm install
$ bower install
- Step4: cd into <your_app_directory/public/app/js/> and edit app.js 
  set $rootScope.baseUrl to <http://your_ip_address:8282>
  set $socketProvider.setConnectionUrl('http://your_ip_address:8282')
- Step5: run project using node app.js in terminal  
- Step6: go to your browser and enter url <http://your_ip_address:8282>

File shared among users will be stored in /public/app/upload in respective doc, music and image directory. The files in upload directory are stored with some expiry time (8 hours), the files will be deleted after expiry time. The routine_cleanup function deletes files after every one hour.

you can change the file expiry time by changing variable expiryTime and routine cleanup time by changing variable routineTime in app.js.

Version

0.0.1

Tech

ChatRoom uses a number of open source projects to work properly:

  • [AngularJS] - HTML enhanced for web apps!
  • [Bootstrap] - great UI boilerplate for modern web apps
  • [AdminLTE] - great UI based on bootstrap
  • [node.js] - evented I/O for the backend
  • [Express] - fast node.js network app framework
  • [jQuery] - javascript library
  • [lightbox] - javascript plugin for image pop-ups

And of course ChatRoom itself is open source with a public repository on GitHub.

License

MIT

Contact

chatroom's People

Contributors

pravinmishra avatar saurabhnandu avatar

Watchers

 avatar  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.