Disclaimer: this script has been written very quickly (just before losing access to Mattermost). Therefore, do not expect any advanced architecure, modularity, or advanced features.
Usage:
- install (npm install)
- provide env by copying and filling .env.template -> .env
- run (npm run main)
Channels will be available in ./out folder (one file per channel, json)