Slack Extension to Compress Video Files into an easily viewable format
- Add
COMPRESSOR_DOWNLOAD_DIR
andCOMPRESSOR_COMPRESSED_DIR
to your environment variables. These should be the paths in which you'd like your downloaded videos and compressed videos to live. These are temporary directories that will be cleaned up after each download and compression. Be sure that these directories exist and are writeable. - Set yourself up via Ngrok per Slack Docs: https://api.slack.com/tutorials/tunneling-with-ngrok
- Add
COMPRESSOR_BOT_TOKEN
andCOMPRESSOR_BOT_USER_TOKEN
environment variables for your OAuth Access Token and Bot User OAuth Access Token respectively. npm install && npm run start