Django, Comet and IRC client
How to make a simple web IRC client using comet - orbited
Here is a modified script from oreilly - irc.py: It will go to "django" channel and emit signals to orbited client defined as "django, 0, /chat". In this article I reused the code from orbited chat. So we have views.py: chat.html template: chat.js: And urls.py: Other files like in the chat tutorial. In this case the code is simpler as there is no messages sending and we use one orbited client hardcoded as "django, 0, /chat". Now run orbited server with the same config as for the chat example, start django development server, open http://localhost:8000/ in the browser and click "Connect" button. The web client is ready to run. Now run irc.py and watch the box in the browser. You should get all messages send on django channel in real time :) It's just a matter of polishing irc.py client to make a full web "HTML based" IRC client (or Jabber for example).