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

[Feature Request]: Download Linkding snapshots for offline viewing #346

Open
caferen opened this issue Oct 18, 2024 · 2 comments
Open

[Feature Request]: Download Linkding snapshots for offline viewing #346

caferen opened this issue Oct 18, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@caferen
Copy link

caferen commented Oct 18, 2024

Describe your idea

Linkding is able to generate HTML snapshots of bookmarks for offline viewing. Would be good to be able to download these to the device and load them when offline or whenever it's available.

I don't have Kotlin experience but I can look into this anyway if you're willing to merge but not implement yourself.

Describe how you think it could work

I don't think there is a way to get this from the REST API but the snapshots can be queried from /assets/<bookmark_id>.

The user should be able to:

  • Choose to download individual snapshots or automatically download for all bookmarks that satisfy a certain criteria (probably tag).
  • To view the snapshots whenever they're available or just when the user is offline.

Additional context

No response

@caferen caferen added the enhancement New feature or request label Oct 18, 2024
@fibelatti
Copy link
Owner

@caferen thanks for the suggestion! Sounds really interesting. I'll take a look at how to generate the snapshots and integrate this feature into the app. The suggested triggers for downloading also make sense.

@fibelatti fibelatti self-assigned this Oct 18, 2024
@caferen
Copy link
Author

caferen commented Oct 19, 2024

@fibelatti thanks, looking forward to it. I should also mention there's another endpoint for "reader mode": /assets/<bookmark_id>/read. This one relies on JS and CSS separately served from the server though.

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