hfaran / slack-export-viewer

A Slack Export archive viewer that allows you to easily view and share your Slack team's export
https://pypi.python.org/pypi/slack-export-viewer
MIT License
949 stars 193 forks source link

Add static HTML output option from slack2html #176

Closed merobi-hub closed 10 months ago

merobi-hub commented 10 months ago

The separate project slack2html serves a common use case -- publishing an archive on a host -- but, being a separate project, is not very convenient.

This borrows that project's dependencies, CustomFreezer class, and instantiation to add an option to output static HTML to any specified directory. The class is in a new script in slackviewer. The only changes to the implementation are the addition of a new command-line argument and a default output directory. Screenshot 2023-11-21 at 22 35 53