Serverless Slack bot for unfurling GitLab URLs.
Deploy on AWS using Serverless framework.
Provide these environment variables:
GITLAB_URL
GITLAB_TOKEN
SLACK_TOKEN
SLACK_CLIENT_ID
SLACK_CLIENT_SECRET
AWS_REGION
Bug reports and fixes are always welcome!
Tests are run with pytest. Install into virtual environment
requirements.txt
and test-requirements.txt
and run in shell command pytest
Code is formatted by Black.
-
How to make unfurly ignore my urls (= not create previews)?
Append?no_unfurl
to the url. -
Is there a way to disable unfurly for the whole post?
Unfortunately no. Unfurly receives links from slack 1-by-1. Therefore it has no knowledge about links being part of the same post.