Skip to content

akmukherjee/zenquote-slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zenquote-slack-bot

Sends a Quote from ZenQuotes API to a Slack channel using Incoming Webhooks functionality

Usage

First set up a Slack Channel and get a Webhook and store it in a .env file within the root project directory with the key SLACK_URL and value YOUR_SLACK_WEBHOOK. Then install dependencies with npm :

npm install 

The secrets are stored within Github Secrets with the same key to support Github Actions workflow and send it periodically from within Github. To run the application locally:

npm start

And that's it! You should see a Slack Message in the channel you set up the Webhook for. And you will get something that looks like this :

Alt text

About

Sends a Quote from ZenQuotes API to Slack channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors