Slackdump
About
Key Characteristics
Key | Value | |
---|---|---|
Name | Slackdump | |
Project URL | https://github.com/rusq/slackdump | |
Documentation | https://github.com/rusq/slackdump/README.md | |
Author | Rustam | |
Category | #software |
Overview
Description
Slackdump is a nice tool to quickly download channels from a Slack instance. It can enumerate all the channels (which includes the other users and all DMs and private group chats) available to the authenticated user, as well as download the content in JSON
format.
Procedure Overview
- download all the content from relevant channels using
slackdump
- extract just the username and messages using
jq
- use
slackdump
to extract the list of all users - replace (or augment) the data with the username
- (Optional) run the content through an #LLM in order to extract summaries or specific information from the content
Usage
Installation and running the tool
- Slackdump a tool to extract data from a Slack workspace
- Go to Releases and download a recent version for your system
- Extract the download to a specific directory where you’ll perform the extraction and analysis steps
- The tool is prompt-driven, so you can execute and follow its lead
- Hint: save the collected channel names and unique identifier to a file for easy reference, e.g.
slackdump -c > channels.txt
- From this list, identify the channelID to be extracted.
- Run
slackdump
with no arguments - Choose Export from the menu
- Type or paste in the channelID of interest.
- It will take some time, but this will not create a giant #JSON file of the extracted content.
jq
is a common tool to parse json files- Review the guide to Linux jq command, which is applicable to Mac or Windows, as well
- Use a command like the following to extract just the message text from the json file
jq '.messages[] | .text' filename.json