sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
MIT License
5.36k stars 263 forks source link

Archive snapshots of websites locally #672

Closed sissbruecker closed 3 months ago

sissbruecker commented 3 months ago

Allows to create HTML snapshots of websites and store them locally in the linkding data folder. This feature is only included in a new variant of the Docker image (latest-plus). I did not include it in the default variant as it consumes more resources: it requires a Chromium installation in the Docker image, more runtime memory to run Chromium, and more disk space to actually store snapshots.

Snapshots are created using single-file-cli. For now, snapshots can only be created on the server, which means websites with paywalls, or requiring login will not work. Future improvements could be to integrate this with the browser extension or allow uploading snapshots manually.

Snapshots are created automatically by default when using the alternative Docker image variant, a setting allows turning that off. Alternatively, snapshots can be created manually from the bookmark details view. Snapshots can be viewed from the bookmark details view as well.

Bildschirmfoto 2024-04-01 um 15 01 14

dahamsta commented 3 months ago

Can you just switch to this image in docker-compose.yml, or does it need to be a fresh install?

sissbruecker commented 3 months ago

You should be able to switch between images without issues. The default image just has the snapshot feature disabled and lacks the dependencies to run it.