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

Embedded images and uploaded files not downloaded and linked #5

Open
patbaumgartner opened this issue Feb 6, 2023 · 3 comments
Open

Comments

@patbaumgartner
Copy link
Contributor

Hi. First, I need to say that I love your addition to the slackdump.

I could not find any links to files uploaded, or images embedded in the HTML files, even though they are part of the JSON downloaded by slackdump. Would that be possible to add?

Would you also take contributions?

Best,
Patrick

@DerDodo
Copy link
Contributor

DerDodo commented Feb 6, 2023

Hi Patrick,
thank you for the feedback! Glad that you like it!

Under "Known issues" in the README.md you'll find that "File attachments are not supported at all." (yet).
We've created a prototype for the attachments, but our goal was to be able to upload the files to OneDrive and we didn't quickly find a clean solution for referencing these files - so we took it out of the scope in favor of custom emoji support, fixing some markup, etc.
The custom emojis are base64-encoded and added directly in the markup. Adding bigger images that way would make the file size and loading times explode.

Right now we're not actively developing more features, but we want to maintain it and fix bugs.
You're totally welcome to add this feature and create a pull request! We'll review, test, and publish it then :)

All the best,
Dodo / kununu

@patbaumgartner
Copy link
Contributor Author

patbaumgartner commented Feb 6, 2023 via email

@DerDodo
Copy link
Contributor

DerDodo commented Feb 6, 2023

Yes, this is a great first step. Especially when you can then for example just upload the HTML file and the attachment folder to a file-server.
If you need any support, write me at [email protected] :)

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

2 participants