Skip to content

pettermachado/swish-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swish-slack

A Slack command for Swish running as Cloud Functions.

/swish 07300000000 85 Thanks for lunch!

Getting started

> npm install
> cp config_sample.json config.json
> # edit config.json
> gcloud beta functions deploy swishMe --trigger-http
> gcloud beta functions deploy imageURL --trigger-http

Configuration

{
  "SLACK_TOKEN": "", // You will get this from Slack when setting up your application.
  "SWISH_QR_URL": "", // The Swish QR code URL.
  "IMAGE_FUNCTION": "", // The URL of the *imageURL* function.
  "CIPHER": "" // Used to encrypt the message from *swishMe* to *imageURL*.
}

About

A Slack command for Swish 💸

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published