Giter VIP home page Giter VIP logo

jquery-chat's Introduction

100% pure javascript realtime chat (client and server) facebook/gmail style web chat.

To see demo please visit jquery-chat.net

The jQuery Chat plugin can be used to add a JavaScript-based chatting system to your site, allows webmasters/developers to add a fully-working chat room on top of their site, see 'index.html' as an example.

Built with these components -> Jquery, Node.js, Socket.IO

Note: By default the chat is configured to use an existing Heroku app, so you will not need to install Node and npm. (Skip step 3 in the installation process)

Features

* Multi themes support (jquery-ui)
* 100% javascript (client and server side)
* Configuration file (fancy things and connecting stuff)
* Support multiple languages
* New message pop-up notifications
* Multi users chat
* Search users
* Sounds 
* Browser support: (Opera, Firefox, Google Chrome, Safari, Internet Explorer)

Usage:

You need to call the next set of scripts in your own site. If you have already loaded jQuery or UI there is no need to include them.

<link id='theme' rel='stylesheet' />
<link rel='stylesheet' href='css/tipsy.css' />
<link rel='stylesheet' href='css/chat.css' />

<script src='https://jquery-chat.herokuapp.com/socket.io/socket.io.js'></script>
<script src='js/jquery-1.11.2.min.js'></script>
<script src='js/jquery-ui-1.10.4.custom.min.js'></script>
<script src='js/jquery.tipsy.js'></script>
<script src='js/jquery.main.js'></script>
<script src='config.js'></script>
<script src='i18n_en.js'></script>

Getting Started:

  • Install Node.js and npm
  • Use any Webserver (Apache, IIS, Nginx, Lighttpd, etc)

Note: Remember to clone the project behind a webserver, if you want to execute local file index.html it wont work.

Installation

1. Clone the project

$ cd /var/www/
$ git clone https://github.com/lovelle/jquery-chat
$ cd jquery-chat

2. Configuration

# Go to cloned project
$ cd /var/www/jquery-chat/
# Adjust personal setting to 'server' ip or dns
$ editor config.js
# And the same for line 11 in index.html
$ editor index.html

3. Install and run Node.js

$ cd /var/www/jquery-chat/server
$ npm install
$ npm start

4. Run

Lets it, to finish remember you must have a webserver, if you dont want to install a full webserver you can do it with python server:

# Go to project folder
$ cd /var/www/jquery-chat
# Run webserver with python lib
$ python -m SimpleHTTPServer

Finish!, go to visit http://localhost:8000/

License

See LICENSE.

jquery-chat's People

Contributors

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