sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
https://linkding.link/
MIT License
6.33k stars 299 forks source link

Allow uploading custom files for bookmarks #713

Closed sissbruecker closed 5 months ago

sissbruecker commented 5 months ago

Allows to upload custom files for each bookmark. That allows storing any arbitrary data (PDFs, images, text files, ...) that is related to that bookmark. Could also be used to store custom snapshots of a website in case the automated HTML snapshot does not work properly.

Bildschirmfoto 2024-04-20 um 11 52 33

ados8 commented 3 months ago

I'm unable to figure out how you can upload manual snapshots and have it display them not download. I've even copied a snapshot from another website and uploaded that but it's a file only. My assumption is the database needs to know it. Could we get a feature to trigger not only a snapshot but provide the URL. Use case, website 1 is working and there's a snapshot if not but the link on that page is dead. Could use the WayBack Machine to get the dead link page and then make that a nested snapshot to the website in LINKDING. Currently you have to download a PDF or manual HTML zip.

shazron commented 1 month ago

I had trouble with a stanford.edu website and keep getting HTTP 403. I couldn't figure out what arguments to use for the singlefile-cli, in the end I used the browser extension: https://github.com/gildas-lormeau/SingleFile?tab=readme-ov-file#install which is available for all major browsers including Safari.

@ados8 Try that - it downloads everything into one .html file, and you can upload that. Then it should display that HTML you uploaded when you click on the View link.