Skip to content

fischsauce/backup-slack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose:

Archive the Machine Learning with Siraj Slack Workspace.

To contribute, send a pm to @Steve Fisher on slack and i'll pass on the auth token.

Alternatively, you can create your own app in the 'manage workspace' section of slack.com.

Progress:

outstanding tasks:

~ Automate outputting the data into a db ~ Create a react/node.js app to display the content somewhere on the web

Threads aren't getting pulled
Images / Files aren't getting pulled

---

slack_history

This is a tool for backing up your message history from Slack.

It uses the Slack API to download the history of your public/private channels and direct message threads, and save them as a JSON file. (The data exports provided by Slack only include messages sent in public channels.) If you're using one of the paid tiers, this retrieves your complete history. For the free tiers, only the last 10,000 messages are accessible through the Slack API.

This tool is not created by, affiliated with, or supported by Slack Technologies, Inc.

Installation

To install this script, use pip:

$ pip install -e git+git://github.com/alexwlchan/backup-slack.git#egg=backup_slack

or pipsi:

$ pipsi install -e git+git://github.com/alexwlchan/backup-slack.git#egg=backup_slack

You can use Python 2.7 and Python 3.3+.

Usage

You run the tool on the command-line, passing a Slack API token for authentication:

$ backup_slack --token='abcdef'

This saves a series of JSON files to the current directory. To see other options, run with the --help flag:

$ backup_slack --help

License

This project is licensed under the MIT license.

About

A script for backing up your message history from Slack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%