slackhist

command module
v0.0.0-...-45234de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2016 License: MIT Imports: 12 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL