Command line module to allow you download your slack history. Supports IM/DM, channels and private groups now, support for multiparty direct message coming soon.
npm install slack-history-export -g
Usage: slack-history-export [options]
Options:
-h, --help output usage information
-V, --version output the version number
-t, --token <value> [REQUIRED] Enter your slack token API, you can generate it from here https://api.slack.com/web
-u, --username [value] Enter username of the person whose chat history with you you will like to download
-c, --channel [value] Enter the name of the channel you will like to download
-g, --group [value] Enter the name of the group you will like to download
-d, --directory [value] Directory to save generated file
-f, --filename [value] Name of generated file. Default is "<current timestamp><username || channel || group>-slack-history" e.g '1443378584156-abimbola-slack-history.json'
-F, --format [value] Format you want to download the data, supported format is [csv, json], default is 'json'
slack-history-export -t "slack-token-123456abcde" -u abimbola -F csv
Fork and submit pull requests to improve this tool
Yes, there would be bugs or feature requests.
Please open an issue here and I would try to reply as soon as possible