An open API service indexing awesome lists of open source software.

https://github.com/guerrerocarlos/packtpub-slack-robot

Script for automatically sending today's free Packtpub to a Slack Channel
https://github.com/guerrerocarlos/packtpub-slack-robot

Last synced: 4 months ago
JSON representation

Script for automatically sending today's free Packtpub to a Slack Channel

Awesome Lists containing this project

README

        

packtpub-slack-robot
====================

Allows you to get the Packtpub free book of the day.

Installation
============

1. Clone Repo
2. npm install
3. Get Slack api key at https://SLACKCHANNEL.slack.com/services/new/bot
4. Configure the api key as shown inn example file config.EXAMPLE.js but rename it config.js
5. Execute the script:

coffee automatic_sending.coffee

6. Add the bot to the channel/group you want it to be, write something in that channel and take note of the ChannelID in the bot log
7. Configure that ChannelID in config.js
8. Execute the script:

coffee automatic_sending.coffee

9. Configure it to execute once a day with crontab