7 years ago
358 Views
1 0

JsChat – Open source Chat system based on JSON protocol

Written by

JsChat is an simple Open source real-time chat system based on JSON protocol and It’s built with Ruby and Sinatra (Sinatra is a tiny Ruby web framework). it included a server, a console and web clients.

jschat - Chat system based on JSON protocol

JsChat is similar to IRC, but it’s a fundamentally simpler system and provide very useful features like:

  1. IRC-like commands: /names, /name new_name (/nick works too), /clear, /lastlog
  2. It’s pretty tiny; it’s built with Sinatra and Prototype
  3. Auto-linking: pasting an image/video displays it inline, YouTube and vimeo videos will appear as well
  4. Last messages are displayed on join: the last 100 messages are displayed, so you don’t feel lost when you join a room
  5. Tab completion!
  6. Protocol designed to be close to executable code, so creating clients and bots is easy
  7. Easy to open multiple tabs in your browser and sit in multiple rooms
  8. It polls using simple Ajax calls which means it’ll run in lots of browsers.

JsChat now has Twitter authentication, logging with mongodb, and the web interface has tabs for switching between rooms.  Twitter auth and mongodb give JsChat persistence. People can sign in with Twitter, join a set of rooms, then sign in from another computer without appearing to log off JsChat.  The user stays online until they’ve been idle for 7 days or they click Quit.

Download : http://github.com/alexyoung/jschat
Demo : http://jschat.org/

Article Categories:
Chat Clients

Comments

wonderful comments!