Code Monkey home page Code Monkey 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 UI, 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)

NEW: With the latest changes we also support python server. So you could have python server instead Node.js if you want.

Alert: At this time, the chat only support socket.io version 0.9.x. ASAP there is a future plan to update to version 1.x of socket.io, please be patient, take a look in this issue to see progress.

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:

Take a look at index.html for simple example of usage.

Getting Started:

  • Install any Webserver (Apache, IIS, Nginx, Lighttpd, etc)

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
  1. 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
  1. Install and run Server

For node.js server follow these instructions.

For python server follow these instructions.

  1. 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/

Motivation

This chat was made in my free time, please be gentle. For any doubt feel free to create an issue.

Why there is a python server if all server logic allready exist in Node.js?

  • For fun.
  • For anyone who didn't know node.js and wants to understand how server works.
  • To be more compatibilty friendly.

Will be the server be supported in others languages?

  • Yep, ASAP.

License

See LICENSE.

jquery-chat's People

Contributors

lovelle avatar thelusitanianking avatar

Watchers

 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.