ChatHub is a simple chatroom application for your Github projects; featuring websockets, Github Login, Emojicons and code syntax highlighting!
ChatHub Demo: http://chathub.github.io/
Room Example: http://chathub.github.io/alfg/demo
chathub-client
is the frontend application built to be hosted on any static host, including GitHub Pages!
chathub-server
is the backend websocket/OAuth server used to connect the sockets from the client application.
Setting up your own chathub-client
is simple, just follow the steps below:
-
Install
chathub-server
using instructions at https://github.com/alfg/chathub-server -
Clone, install and run grunt to build compiled resources
$ git clone https://github.com/alfg/chathub-client.git
$ cd chathub-client
$ npm install
$ grunt
- Open
js/chathub.js
and configure
var GITHUB_CLIENT_ID = "your github client id";
var SOCKETIO_HOST = host === "http://yoursocketiohost[:port]";
- Host anywhere, including Github Pages!
chathub-client
is open-source under the MIT License.
chathub-client
uses the following technologies, check them out!
- Boostrap The CSS Framework to resemble Github!
- Hello.js Javascript library for connecting OAuth2
- Emojify.js Gotta have those emoji in chat applications. :)
- google-code-prettify Code syntax highlighting when pasting code