Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eeue56/pychat.js
A chat system built around graceful-websockets and tornado
https://github.com/eeue56/pychat.js
Last synced: about 1 month ago
JSON representation
A chat system built around graceful-websockets and tornado
- Host: GitHub
- URL: https://github.com/eeue56/pychat.js
- Owner: eeue56
- License: bsd-3-clause
- Created: 2013-03-13T13:07:42.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-25T21:39:14.000Z (over 11 years ago)
- Last Synced: 2024-11-08T03:22:59.790Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 918 KB
- Stars: 3
- Watchers: 12
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
PyChat.js
=========Implementation notes
====PyChat.js is a chat client/server application using a Python backend (tornado) and a Javascript frontend, designed to be lightweight and extendable.
At the moment we're using websockets only - there is plans to enable the fallback ajax of graceful-websockets but it has not been done yet.
Because we use websockets, the performance of the server is very fast - almost instantiously. At the moment it doesn't support any version of Internet Explorer
Graceful-websockets it a little outdated for our use, and we will be looking into moving to a different provider for websocket support.How do use it
====To install it, either grab a copy of this repo or use
pip install pychatjs
if you just want the server.
By default, PyChat.js listens on port 8000.
To set it up, either run the run_server.py file or have a file that contains
import tornado.ioloop
from pychatjs.server.run_server import application
application.listen(8000)
tornado.ioloop.IOLoop.instance().start()
There is a sample chat client contained in the client folder. The actual server is in server. Database and configs contain samples of our setup.
We are using haproxy to send requests to Tornado and supervisord to keep the server alive.