Skip to content

Parses JSON archive files from Slack, downloads images and creates an HTML with threads and images embedded.

License

Notifications You must be signed in to change notification settings

gutierrezj/slack-archive-parser

Repository files navigation

Slack Archive Parser

Tool that takes Slack JSON archives and converts them into a web site with channels. Slack message supported features:

  • Single channel
  • Multiple channels
  • Threads (non-collapsible)
  • Emojis
  • Links
  • User references (partial support)
  • Files: Images (jpg, jpeg, png, gif, webp) & videos (mp4, mov, mkv, webm, avi)
  • Files: js, json, diff, csv, txt, pdf, xlsx, pptx, sd
  • Rich text formatting
  • Reactions
  • permalink to messages

Instructions

To run this tool, first clone the repository.

git clone https://github.com/gutierrezj/slack-archive-parser.git

Then run

cd slack-archive-parser
npm install

For a single channel conversion run:

node parseSlackArchive.js input_data/<channel-directory-name>

For an archive with multiple channel directories

node parseSlackArchive.js input_data/ -a 

The output is always written to output_html.

About

Parses JSON archive files from Slack, downloads images and creates an HTML with threads and images embedded.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages