The Wayslack Machine: incrementally archive Slack messages and files using Slack's team export format
Project description
The Wayslack Machine
The Wayslack Machine: incrementally archive Slack messages and files using Slack’s team export format.
IMMATURITY WARNING
WARNING: wayslack is still somewhat immature and not completely tested. Right now it will archive:
Public messages
Private groups
Private messages
All uploaded files
All link previews
List of channels
List of users
But it will likely be very slow for larger (100+ user or channel) teams, doesn’t have any configuration options, and likely has bugs which will only be found with time.
Getting Started
Install wayslack:
$ pip install wayslack
(optional) Export your team history and unzip it: https://get.slack.help/hc/en-us/articles/201658943-Export-your-team-s-Slack-history
Get a token from the bottom of: https://api.slack.com/web
Run wayslack path/to/export/directory to create an archive if one doesn’t already exist, then download all messages and files:
$ wayslack my-export/ API token for my-export/ (see https://api.slack.com/web): xoxp-1234-abcd Processing: my-export/ Downloading https://.../image.jpg #general: 10 new messages in #general (saving to my-export/_channel-C049V24HY/2016-12-19.json) $ ls my-export/_files/ ... https%3A%2F%2F...%2Fimage.jpg
Optionally, create a configuration file so multiple teams can be archived easily:
$ cat ~/.wayslack/config.yaml - dir: first-team/ # relative to the config file token: xoxp-1234-abcd # from the bottom of https://api.slack.com/web - dir: second-team/ token: xoxp-9876-wxyz $ wayslack Processing: first-team ... Processing: second-team ...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wayslack-0.1.1.tar.gz
.
File metadata
- Download URL: wayslack-0.1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298bb5b386262dd94c886ef6c1b062a7098e98bc7e0382bfb8d2742e3862d4da |
|
MD5 | c2c5779a4365db959c2148de3e14aafb |
|
BLAKE2b-256 | 6127a6dbf3f4e17ffcc11ee1a62b4eed535719c9138cd753c67c6b5c3a8914bf |
File details
Details for the file wayslack-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: wayslack-0.1.1-py2-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450030ab2040ddcc272c38f604ddb770cbf7d7457ae18f816f666237371581ff |
|
MD5 | 1877a5f3fb27048884cc45a9d48b7fa1 |
|
BLAKE2b-256 | ce4a8846af37928e7b6e3253e91fa38b8f9598d6c9639d033e97b606b1589eae |