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

Add links directly to archive #243

Closed
ahuse opened this issue Apr 14, 2022 · 5 comments · Fixed by #304
Closed

Add links directly to archive #243

ahuse opened this issue Apr 14, 2022 · 5 comments · Fixed by #304
Labels
enhancement New feature or request

Comments

@ahuse
Copy link

ahuse commented Apr 14, 2022

I really would like to use linkding as a selfhosted alternative to pinboard.in. But one minor missing feature still holds me back.

I use the "read later"-feature of pinboard to distinguish between articles/websites i want to read at a later time and articles/websites i just want to save (with tags). In linkding the normal view of links would be my "read-later"-list and the archive would be the list of links i just want to safe.

As is see it, it is currently not possible to add links directly to the archive. Would be great, if there is an "add to archive"-option (checkbox) in the bookmarklet-menu or second bookmarklet for adding links to the archive directly.

@sissbruecker sissbruecker changed the title [enhancement] add links directly to archive Add links directly to archive May 13, 2022
@sissbruecker sissbruecker added the enhancement New feature or request label May 13, 2022
@bachya
Copy link
Contributor

bachya commented May 14, 2022

I assume this would be the case, but the API should also support sending bookmarks directly to the archive.

@ahuse
Copy link
Author

ahuse commented May 14, 2022

Yes, I wrote a small iOS-Shortcuts-Script for adding links to the archive. It works, but would be nice to do the direct archive with a bookmarklet aswell.

@kencx
Copy link
Contributor

kencx commented May 26, 2022

Adding bookmarks directly to archive is now supported in the API with #268.

Just include is_archived: true in the payload to /api/bookmarks/.

@ahuse
Copy link
Author

ahuse commented May 26, 2022

This is great. I just updated my iOS-shortcut and it works as expected, plus the shortcut is less complex now.

Only thing missing for me is an option to archive for the bookmarklet.
Maybe a bookmarklet, which autocloses (without the need to hit Save and close), is also a good idea for a quick "read later".

@sissbruecker
Copy link
Owner

Instead of adding more workarounds to make the "use non-archived bookmarks as read it later list" work, I'd rather put in work on an actual read it later feature. I can see that being useful, and I did use that on Pinboard myself before I realized that I never catch up with all the stuff that I wanted to read.

I did some prototyping on this. The bookmark form would get an additional checkbox:

Bildschirmfoto 2022-05-27 um 08 47 29

To make unread bookmarks discoverable, I would probably restructure the navigation to provide filter presets:

Bildschirmfoto 2022-05-27 um 08 47 59

The unread bookmarks view would basically just be a special filter in the search query:

Bildschirmfoto 2022-05-27 um 08 48 35

And bookmarks marked as unread get an additional action to mark them as read:

Bildschirmfoto 2022-05-27 um 08 49 11

You can give this a try using the sissbruecker/linkding:read-it-later Docker image. The image will not modify your database, the unread flag was actually there before, it just hadn't been utilized.

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

Successfully merging a pull request may close this issue.

4 participants