Skip to content

Add CSV import (Pocket/RIL) #957

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

Open
wants to merge 3 commits into
base: 2.x
Choose a base branch
from

Conversation

nilshoerrmann
Copy link

In the past, we used Pocket to store bookmarks (previously called ReadItLater). This service is shutting down in July and we needed a simple way to import our archive to LinkAce. Pocket provides exports in CSV format at https://getpocket.com/export.

This pull requests adds support to LinkAce to process this CSV format.

I'm not very familiar with the LinkAce codebase so I'm sure this is not perfect but it worked reliably for us so I thought we might share our solution.

Example CSV

title,url,time_added,tags,status
LinkAce,https://www.linkace.org,1281644107,a|lot|of|tags,archive

Very old data from Pocket might use the URL as title or contain extra whitespace in titles. These cases are handled as follows by this PR:

  1. a URL as title is ignore, LinkAce will fetch the correct title on import
  2. white-space sequences are collapsed, titles are trimmed

Adds import of bookmarks in CSV format as provided by the Pocket exporter, https://getpocket.com/export
@Kovah
Copy link
Owner

Kovah commented May 24, 2025

Hi, thanks for taking the time to add this feature.

  • How is the feature represented on the actual import page? It seems no language files were updated.
  • Please add at least 1 test with an example CSV file, similar to the HTML import.

@Kovah Kovah added the Enhancement Any requests for improvements or new features label May 24, 2025
@Kovah
Copy link
Owner

Kovah commented Jun 1, 2025

Ping @nilshoerrmann

@nilshoerrmann
Copy link
Author

I'll try to add the missing bits and pieces over the week.

@aaronmeder
Copy link

@Kovah I can confirm this worked fine for me to import my Pocket bookmarks 👍🏻 Thanks for putting in the work to save our bookmarks!

@nilshoerrmann If you can find some time to merge this into the the main branch, it would be helpful for new users. Pocket is shutting down on October 8th 2025 - so all active users will be looking for an alternative in the near future.
Some other details regarding that: you could remove the "pocket" link sharing option. If you choose to add the pocket CSV import, it would be awesome to explicitly mention in the docs that there is the option to import CSVs from Pocket.

And thank you very much Nils for developing linkAce. It looks like a solid, fine solution that does enough and not too much, and all of that with the Laravel stack I like and know - just perfect! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Any requests for improvements or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants