Small GC Function that use Vision to identify cat pictures and post about them on Slack
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
deploy.sh
package-lock.json
package.json

README.md

Cat finder

A small example of a Google Cloud Function that triggers on changes in a Google Cloud Storage bucket and checks if it is an image of a cat. If it is, it sends a message to Slack through a webhook.

Deploy with:

$ ./deploy.sh

Client-secrets.json

The function and deploy script depends on a client-secrets.json file in the root directory containing a link to the Slack webhook.

{
  "slackWebhook": "https://hooks.slack.com/..."
}