Skip to content

Tutorial #6

@oshazard

Description

@oshazard

_How to export ALL THE STUFF_​ (April 25, 2016)

  1. Install the Go language using your favorite package manager, then

    • $ mkdir ~/go
    • $ export GOPATH=$HOME/go
    • $ export PATH=${PATH}:${GOPATH}/bin
  2. Get API key from here: https://api.slack.com/docs/oauth-test-tokens

    • Click on the team
    • Click Confirm (link ends in &sudo=1# haha)
  3. Download https://github.com/nlopes/slack/tree/c7719bec2a8daa87329f30fb59b05a652c783f22
    (API broken in newer commits)

    • Extract to ~/go/src/github.com/nlopes/slack
    • $ go build
    • $ go install
  4. Download https://github.com/Takayoshi-Aoyagi/slack-dump
    (newer than this repo thanks @Takayoshi-Aoyagi)

    • Extract to go/src/github.com/Takayoshi-Aoyagi/slack-dump
    • $ go get (downloads rest of deps)
    • $ go build
    • $ go install
  5. Export the stuff

    • $ read -p "token: " input

    (paste the token in; keeps it from being stored in history)

    • $ slack-dump -t=${input} myprivatechannel
    • $ unzip slackdump.zip
  6. Now you will have a bunch of .json files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions