A command-line utility for exporting Slack history to Excel (.xlsx
)
Have Go installed on your system?
go get github.com/dsifford/slackhist
cd $GOPATH/src/github.com/dsifford
go install
Don't have Go installed?
- OSX/Linux: Download a pre-built binary from releases and save the file to your
usr/local/bin
directory. - Windows: Download a pre-built executable file from releases, save it wherever you'd like, and include that directory in your
PATH
.
- Save the exported
.zip
archive from Slack to a memorable location (eg,~/Downloads/export.zip
). - Open a terminal and navigate to the
.zip
file location (eg,cd ~/Downloads
). - Enter
slackhist <YOUR-ZIP-FILE-NAME>
(eg,slackhist export.zip
). - The new
.xlsx
file will now be in your current directory.
-n, --name
: Renames the output file (DefaultYYYY-MMM-DD_SlackExport.xlsx
)-d, --destination
: Changes the output directory (Default: the current working directory)-t, --timezone
: Changes the time-zone parsing of each message timestamp (Default: your local timezone)
real | user | sys |
---|---|---|
0m0.846s |
0m1.128s |
0m0.088s |
- Refactor
- Improve concurrency
- Add tests
- Compile for Windows (64 and 32 bit)