With the demise of Mozilla’s Pocket read it later platform, I’m switching to a self-hosted wallabag instance. But I ran into some issues. To migrate my thousands of saved articles and hundreds of favorites, I ended up building a few scripts to fix migration deficiencies on both sides.
https://github.com/qu13t0ne/pocket2wallabag
Issue 1: Pocket CSV export doesn’t indicate favorites!!! With over 700 favorited articles, this wasn’t gonna fly for me! So the fix was to use the Pocket API to add a custom tag (which does export) to all articles before exporting.
Issue 2: wallabag struggled with importing the 12K saves I was trying to bring over. Plus the Pocket imports in wallabag don’t preserve tags. So the fix here is another script to convert pocket export to wallabag v2 json format, with some extra processing to handle the ‘favorite’ tag.
Et, voila!
Check out the repo above for my scripts, or my Outpost repo for all my self-hosting setup.