mtigas / logbot

(fork of excid3/logbot that powers logs for irc.mozilla/#opennews)

Repository from Github https://github.commtigas/logbotRepository from Github https://github.commtigas/logbot

OpenNews IRC Log Bot

Mozilla OpenNews | #opennews on IRC.Mozilla

Operated by Mike Tigas (@mtigas)

Constant work-in-progress.


This is a simple Python-based log bot that tracks #opennews on IRC.Mozilla.

This bot runs persistently on an EC2 server (in a screen session because of laziness), with a 15 minute cron job that runs the s3dir.py utility to upload the logs to S3:

# m h  dom mon dow   command
  */15 *  *   *   *     python /home/ubuntu/logbot/s3dir.py >> /home/ubuntu/s3log.txt

The S3 bucket is configured to use “website mode” (so "index.html" serves the directory) and served on a CNAME for easy access.

That’s it.

Credits

Originally written by Chris Oliver chris@excid3.com. Additions by Mike Tigas. See LICENSE.

About

(fork of excid3/logbot that powers logs for irc.mozilla/#opennews)

License:Other


Languages

Language:Python 98.7%Language:Shell 1.3%