Giter Club home page Giter Club 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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatroom's Issues

help

can I get this chatroom to listen to an irc server?
where do I configure if possible?

Thanks a lot

Feature Request - Enable Persistence

An option to:

  • Save chat room history to database and retrieve all messages and display all older messages when the chat room is opened by someone else!

would be amazing!

Deploy on heroku

Actually my case is not an issue.
I run this on localhost and it works fine with port8282.
But I'm just curious on how you host on your web sever.
I push all ChatRoom sources to heroku git and run app.js but it doesn't work at all.
Do I need to change the port numbers?
(Btw, I am very new to heroku.)

For instance, in angular apps, we could build it with webpack, just get /dist/ folder and host on web hosting, even on share hosting.
Is there anyway we can build like that?

Thanks in advance

angular is not defined

Hello,

I'm pretty sure this must be a silly error but here goes nothing. I get ReferenceError: angular is not defined when I run node app.js in terminal on win 10.

any advice would be appreciated.

Not allowed to load local resource

When I selected image file in chatRoom, it show some error that cause selected image not shown on message. Please tell me how to solve it, tks.

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.