1.1.1 • Published 8 years ago

slack-history-export v1.1.1

Weekly downloads
21
License
MIT
Repository
github
Last release
8 years ago

slack-history-export

Command line module to allow you download your slack history. Supports IM/DM, channels and private groups now, support for multiparty direct message coming soon.

Travis Build Status Codecov Coverage Status David Dependencies Status David devDependencies Status

Installation

npm install slack-history-export -g

Options

Usage: slack-history-export [options]
Options:

  --help, -h      Show help text.                                      [boolean]
  --version, -v   Show version number                                  [boolean]
  --token, -t     Slack Token. You can generate it
                  from here https://api.slack.com/custom-integrations/legacy-tokens
  --type, -T      Type of export you want to do         [choices: "dm", "group"]
  --username, -u  Username of the person who chat
                  history with you you want to download
  --group, -g     Name of the group to download history
  --logLevel, -l  Enable and set log level
        [choices: "info", "silly", "verbose", "warn", "error"] [default: "info"]
  --channel, -c   Name of the channel to download history
  --filepath, -f  Path to the json file to save the history  [default: "stdout"]

You can provide token to the module in several ways

  • CLI flag
  • Environment variable SLACK_HISTORY_EXPORT_TOKEN
  • File. File location is ~/.config/slack-history-export/config.json with key of SLACK_HISTORY_EXPORT_TOKEN

    {
      "SLACK_HISTORY_EXPORT_TOKEN": "testingtoken"
    }

Usage

slack-history-export -t "slack-token-123456abcde" -u abimbola -f 'amimbola.json'

Contributing

See CONTRIBUTING.md for info on contributing to slack-history-export

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.1

10 years ago