Skip to content

Send a Slack notification about Fairbinden lunch every weekday.

Notifications You must be signed in to change notification settings

hiroyone/fairbinden_slack_golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fairbinden_lunch_golang

Screen-Shot-2020-01-02-at-17-30-50

This program is to scrape daily lunch menu at Fairbinden blog and extract the main information to send to your Slack channel during weekdays.

Tech Stack

  • Golang
  • Colly
  • CloudFunction
  1. Set up channel urls for productin and staging as export variables before cloud function is deployed and triggered
    Examples
export channelPRD = "https://hooks.slack.com/services/xxxxxx/xxxxx/xxxxxxxxxxxxxxxxxxxxx"
export channelSTG = "https://hooks.slack.com/services/qqqqqq/sssss/sssssssssssssssssssss"
export channelOfficeBen = "https://app.slack.com/client/xxxxxxxxxxxxxxxx" 
  1. Deploy the code to Cloud Function with Golang 1.1 runtime

  2. Set up a cloud scheduler to trigger the function at 10 a.m. every Weekday

About

Send a Slack notification about Fairbinden lunch every weekday.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages