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

Archive snapshots of websites locally #672

Merged
merged 19 commits into from
Apr 1, 2024
Merged

Conversation

sissbruecker
Copy link
Owner

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

@sissbruecker sissbruecker merged commit 4280ab4 into master Apr 1, 2024
2 checks passed
@sissbruecker sissbruecker deleted the feat/html-snapshots branch April 1, 2024 13:19
@dahamsta
Copy link

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

@sissbruecker
Copy link
Owner Author

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.

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

Successfully merging this pull request may close these issues.

None yet

2 participants