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

Export to Markdown #95

Open
jmgarnier opened this issue Jul 22, 2022 · 4 comments
Open

Export to Markdown #95

jmgarnier opened this issue Jul 22, 2022 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@jmgarnier
Copy link

Describe the solution you'd like

slackdump -r markdown

with images

Describe alternatives you've considered
I can find a tool which convert text to markdown.

Additional context
I believe there will be go libraries to convert Slack format (HTML in json?) to Markdown

@rusq
Copy link
Owner

rusq commented Jul 23, 2022

I could certainly look into this in future.

Had a look at what's there in the internets, found this app: https://github.com/ohtake/slack2md that converts slack export to markdown files.

I ran it for the export of my slack workspace and it generated a bunch of MD files:

-rw-r--r--  1 rustam  wheel    100 Jul 23 11:56 channel--everyone.md
-rw-r--r--  1 rustam  wheel    104 Jul 23 11:56 channel--everything.md
-rw-r--r--  1 rustam  wheel    246 Jul 23 11:56 channel--random.md
-rw-r--r--  1 rustam  wheel    100 Jul 23 11:56 channel--wakatime.md
-rw-r--r--  1 rustam  wheel    481 Jul 23 11:56 history--everyone--1.md
-rw-r--r--  1 rustam  wheel    600 Jul 23 11:56 history--everything--1.md
-rw-r--r--  1 rustam  wheel  25673 Jul 23 11:56 history--random--1.md
-rw-r--r--  1 rustam  wheel  28025 Jul 23 11:56 history--random--2.md
-rw-r--r--  1 rustam  wheel   5345 Jul 23 11:56 history--random--3.md
-rw-r--r--  1 rustam  wheel   5407 Jul 23 11:56 history--wakatime--1.md
-rw-r--r--  1 rustam  wheel   1408 Jul 23 11:56 index.md

Have you tried it?

@rusq rusq added the enhancement New feature or request label Jul 23, 2022
@jmgarnier
Copy link
Author

Thanks for the reply :) My goal is to turn a Slack thread to a wiki page for documentation purpose.

slack2md includes the messages author & time, which is a lot of noise.

@rusq
Copy link
Owner

rusq commented Jul 30, 2022

@jmgarnier nice idea! I don't think I completely understand how it should look like? Could you elaborate more please?

When you say "thread" - are you referring to a Slack thread replies, or the whole Conversation (channel messages + thread messages)?

Should it have the same format as current "text mode" dump, only in Markdown?

@rusq rusq added this to the v3.0.0 milestone Mar 30, 2024
@rusq
Copy link
Owner

rusq commented Mar 30, 2024

v3.0.0 will include an experimental viewer for slackdump supported archive formats.

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

No branches or pull requests

2 participants