Notify file updates in Google Drive to Slack.
Run bin/notify
periodically by cron or something.
$ bundle exec ruby bin/notify
Settings can be done through environmental variables.
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
GOOGLE_REFRESH_TOKEN
SLACK_WEBHOOK_URL
SLACK_USERNAME
(default:GooglDriveToSlack
)- Bot name
SLACK_ICON_URL
(default:https://developers.google.com/drive/images/drive_icon.png
)- Bot icon url
TIME_WINDOW_MINUTES
(default:60
)- Time window [minutes] within which to search file updates.