msmaromi / inspiry

Posts one inspirational quote to slack channel every day.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy

inspiry

Posts one inspirational quote to slack channel every day.

Setup Instructions:

Only three things to do really,

  1. Deploy your app to heroku.
  2. Create an incoming webhook with the channel of your choice (ignore the username and icon, we'll take care of it here) and save that token in environment variables as SLACK_WEBHOOK
  3. In the Heroku's scheduler addon, add a job with command line ruby bin/inspiry.rb and schedule it Daily. I'm saying dailly because it uses the quote of the day and it doesn't make sense to post the same message every hour.

Sample message,

example_img

(optional) If you'd like to have a custom image as icon of the message, add it to env var as IMAGE_URL. The current default is

image

Quote source - TheySaidSo

About

Posts one inspirational quote to slack channel every day.

License:MIT License


Languages

Language:Ruby 99.7%Language:Procfile 0.3%