Skip to content

dsifford/slackhist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

slackhist

A command-line utility for exporting Slack history to Excel (.xlsx)

Installation

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.

Usage

helptext

Basic Usage

  1. Save the exported .zip archive from Slack to a memorable location (eg, ~/Downloads/export.zip).
  2. Open a terminal and navigate to the .zip file location (eg, cd ~/Downloads).
  3. Enter slackhist <YOUR-ZIP-FILE-NAME> (eg, slackhist export.zip).
  4. The new .xlsx file will now be in your current directory.

CLI Global Options

  • -n, --name: Renames the output file (Default YYYY-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)

Benchmarks (34 Channels, 824 Messages)

Version 0.0.0

real user sys
0m0.846s 0m1.128s 0m0.088s

Todo...

  • Refactor
  • Improve concurrency
  • Add tests
  • Compile for Windows (64 and 32 bit)

About

A command-line utility for exporting Slack history to Excel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages