Slack app to export conversation threads to documents and more.
  • Python 92.5%
  • Dockerfile 7.5%
Find a file
2021-07-11 20:08:11 +05:30
plugins fix: add more details to implement exporter doc 2021-07-11 19:40:23 +05:30
slack_doc add: app constants 2021-07-11 17:07:09 +05:30
.gitignore add: gitignore 2021-07-11 12:02:45 +05:30
docker-compose.yml refactor: rename docker-compose 2021-07-11 19:59:17 +05:30
Dockerfile fix: default port in Dockerfile 2021-07-11 19:45:13 +05:30
LICENSE add: LICENSE 2021-07-07 23:21:08 +05:30
README.md fix: docker-compose file name in doc 2021-07-11 20:08:11 +05:30
requirements.txt fix: missing dependencies 2021-07-11 17:50:44 +05:30

slack-doc

Slack app to export conversation threads to documents and more.

Deployment

docker-compose up

Make sure to update the environment variables.

Pre-built image at: https://hub.docker.com/repository/docker/vipul20/slack-doc

Integration

  • Create an app on Slack, for example: slack-doc.
  • Create Slack bot token (check "OAuth & Permissions" in your app page) and add it as environment variable in docker-compose.yml.
    • Add following scopes: channels:history, channels:join, channels:read, chat:write, commands, users.profile:read, users:read.
  • Deploy the application with the tokens.
  • Add "Request URL" under "Interactivity & Shortcuts" as http://<host>:<port>/slack/shortcut-trigger/.
  • Create message "Shortcuts" under "Interactivity & Shortcuts"
    • Create a new shortcut for your plugin with callback ID as the one provided in the plugin factory.
  • Add the Slack app in your channel (Example: /invite @slack-doc).
  • Check message options on any thread and you should see the message shortcuts you would've added in the list.

Exporters

This application has exporter plugins to export threads to different mediums. Currently supported exporters:

Check plugins doc on how to add your own custom exporter.