Skip to content

mtrpcic/WebIRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebIRC

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

Running WebIRC

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.

Known Limitations

  • 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

To Do

  • 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

Disclaimer

This code is still under development, and as such, minor revisions may drastically change functionality. Please keep this in mind when using WebIRC.

Copyright and Licensing

Copyright (c) 2010 Mike Trpcic, released under the MIT license

About

WebSocket based IRC chatting through Twisted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published