Skip to content
This repository has been archived by the owner. It is now read-only.
A reddit bot to generate a calendar, used in /r/calgarysocialclub
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Readme.md
bot.rb
description.conf
markdown-calendar.rb
serverInfo.conf

Readme.md

#MeetupCal-bot# ##Intro## This bot is for retrieving posts from Reddit, parsing them, and then generating a calendar that automatically gets uploaded to the site. An example of it can be seen on the Calgary Social Club.

##Requirements##

  • Ruby 1.9.3
  • Ruby gems - open-uri, json, rubit_reddit_api, chronic, parseconfig

##Setup##

  • Configure the two files serverInfo.conf and description.conf
  • serverInfo.conf information should be copied from /r/subreddit/about/edit except for the username and password.
  • description.conf should include the text that preceeds and subseeds the calendar.

##Usage##

ruby bot.rb

  • That's it! As long as there are no errors, you should be good to go. This is definitely equivalent to pre-alpha software, so you may get errors along the way. You should probably have an understanding of ruby before you try to use this. The code is super messy but it gets the job done.
You can’t perform that action at this time.