Skip to content

blha303/WSToIRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSToIRC

I wanted a thing to feed Reddit live threads to an IRC channel, figured I'd use my SingleMessageBot module to save time. This project also introduced me to Tornado, which is pretty darn fantastic.

Caveats

  • At the moment this is designed specifically for reddit live threads, allowing users to pass a live thread url by argument and retrieving the websocket url from that. Other uses can be allowed for by simply modifying main() in wstoirc.py.

Usage

  • Clone the repo
  • pip install -r requirements.txt
  • Run the script once to generate irc settings: python wstoirc.py
  • Edit smbotconfig.json
  • Run the script again: python wstoirc.py [reddit live thread url]. If no url is provided it defaults to my test thread

About

A bridge to relay messages from a websocket feed to an IRC channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages