Google Pagespeed Slack Bot
-
Deploy this application to a server such as heroku
-
Create a new app on slack and add it to your workspace
-
Get your slack app credentials and Google Page Speed API Key
-
Add those credentials to your server environment variables. You'll need to set the following variables:
- SLACK_TOKEN
- PSI_API_KEY
- SLACK_SIGNING_SECRET
- PORT (this one is optional)
-
Add slash commands to your slack app
- Set the request URL to your server's domain. (e.g. https://myserverdomain.com/slack/needforspeed)