A stack overflow integration for slack in nodejs
- slackOverflow is a serverless app that quickly searches relevant stack overflow questions
- Deployed as a NodeJS AWS Lambda using the Serverless Framework
/overflow [search term]
to get the top 5 most relevant questions from stack overflow visible only to you
-
Create a new app for your workspace
-
In the features section add a new Slash command with the following properties:
- Command: /overflow - Request URL: https://tvsvw1r7dd.execute-api.eu-central-1.amazonaws.com/production/ - Short Description: Quick Stack Overflow search - Usage Hint: [search terms]
As long as you keep the request URL you can customize the rest of the properties as you wish
-
In OAuth & Permissions > Scope section add a permission scopes for "commands"
If you want to host your own serverless slackOverflow service
-
Install serverless
npm install -g serverless
-
If you've never used serverless before:
Get your security credentials (Access key ID and Secret Access key) for your AWS Lambda account:
serverless config credentials --provider aws --key ACCESS_KEY_ID --secret --SECRET_ACCESS_KEY
-
Install npm packages
npm install
-
Deploying to AWS Lambda
serverless deploy
- Please use the issue tracker if you find a bug, error or feature requests.