Kitten dispatch is a tool for downloading cat pictures from reddit and emailing them to your friends.
- Clone the project
- Bundle with
bundle install - Setup the
environment.rbandwhitelist.txtfiles. Look at theenvironment.example.rbandwhitelist.example.txtfiles for examples - Run kitten dispatch with
ruby kitten_dispatch.rb
Kitten dispatch finds the top picture on a certain subreddit and emails it to all of the addresses specified in your whitelist.txt file.
Emailing is acheived with the ActionMailer gem.
You can modifiy the action mailer SMTP settings in your environment.rb file to use your email address.
I get pictures from r/cats.
I would suggest checking out r/CatGifs or r/LolCats as well.
You can change which subreddit the pictures are loaded from by setting the KITTEN_LOADER_SUBREDDIT environment variable in your environment.rb file.
I have mine setup on a cron task to email me and my friends everyday at 3:00 PM since that is usually the most stressful part of our day.
