Ha.nnes.dev

Slack Archiver

🗃️

A tool to archive Slack links

2023-07-02

A tool to scan files containing Slack links, then archive the conversations in those links to a GitHub repository and replace the Slack links with links to the archives.

Setup

GitHub Token

Slack Token

Configuration

Configuration is specified in a config.toml file, the fields are:

Running

Install the project’s dependencies:

julia --project=. -e 'import Pkg; Pkg.instantiate()'

Then run the src/SlackArchiver.jl file, passing the paths to files containing Slack links that you want archived. The files will automatically be overwritten with ones containing the new archived links.

julia --project=. src/SlackArchiver.jl ./path-to/my-file.md ./path-to/another-file.md