Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of Archive Format? #131

Open
supermitch opened this issue Jun 25, 2020 · 4 comments
Open

Documentation of Archive Format? #131

supermitch opened this issue Jun 25, 2020 · 4 comments

Comments

@supermitch
Copy link

I'm writing code using Slack's discovery APIs, which means I'm not getting an entire export of the workspace as a .zip. However, I'd love to use your script to convert to HTML, regardless.

To do that, I would like to essentially build my own archive.zip. However, that would require understanding exactly what your code is looking for, in terms of archive structure.

Note: I'm guessing you are also making assumptions about the archive format, and that this is not documented anywhere in Slack, which is why I am raising the issue here. I will check Slack and see if they have anything also.

@justinflipflops
Copy link

The archive isn't anything special, just unzip an export from slack and look at it. Bunch of json files. most of what you'll ever need is easily inferable from the files.

@huyz
Copy link

huyz commented Aug 20, 2020

@supermitch You may be duplicating work. See https://github.com/wolever/wayslack and this PR (and my upcoming updates to both—see issues)

@supermitch
Copy link
Author

Slack send me this link: https://slack.com/intl/en-ca/help/articles/220556107-How-to-read-Slack-data-exports

I still think this project has room for documentation, but probably hard to beat this.

@huyz I saw your (newly forked) project, but I'm not sure how I can make use of it for discovery. I don't see how to export a specific user's conversations, for example.

@huyz
Copy link

huyz commented Aug 29, 2020

@supermitch my fork allows getting a private token for a specific user so that you can export the user’s private and public messages and files.
The easiest thing for u to do is run it, take a look at the directory structure and json files. Do the same with the manual export from the Slack web UI. Compare and analyze. Don’t be afraid to dive into the json files. You real don’t need docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants