WebIRC is a Twisted based Web Server/IRC Client that allows you to communicate on IRC from your browser without the need for a Java Applet or Flash components. It makes use of the HTML5 WebSocket technology
To run WebIRC, you'll need the following packages:
- Python 2.6.x
- Twisted v8.2.0+
- Mako
- txwebsockets
- A browser that supports the WebSocket protocol
Once all packages are installed, simply go into the root of the project and type the following into your terminal:
python run.py
Then visit localhost:8080
in your browser.
- Bad form data on the home page will crash the server, as it is not validated
- Sometimes there is a race condition that causes the IRC connection to happen before the WebSocket is fully connected, and no data will show up in the browser chat window
- The 'New Message' field allows users to enter text before the client has actually joined the channel
- Add some form validation
- Add support for web-based actions (/nick, /action, /me)
- Automatically highlight hyperlinks in the chat panel
- Add CSS to highlight your username, and when somebody explicitly messages you
- Add support for multiple channels
- Add support for 1 on 1 messaging
- Add support for multiple clients attached to a single server
This code is still under development, and as such, minor revisions may drastically change functionality. Please keep this in mind when using WebIRC.
Copyright (c) 2010 Mike Trpcic, released under the MIT license