HackerNews2Bookmarks v1.1
A small open source extension which scraps your submitted and/or liked HN links and turn them into local bookmarks.
Also optionally scraps your submitted and/or liked comments for links and adds those links to your bookmarks.
- Doesn't ask for your username and password
- You have to be signed in to HN, and the current tab has to be some HN page (not Algolia search) to start.
- Blocks the current tab for fetching, but you can continue browsing in other tabs.
- You have to give it the name of an existing bookmark folder
- Bookmarks from submissions will go in one folder, and bookmarks found in commments will got in another one. They can be the same folder though.
- Links from comments won't have a title, since that's how HN shows them. Might find a way to find their title if there's enough interest.
- Bookmarks won't be added if they already exist under either of those folders.
- Uses a (primitive but polite) backoff algorithm to avoid hammering the HN server with too many requests.
- Shows a primitive progress log, and can be stopped either by clicking a button or closing the tab.
- Currently doesn't try to recover or restart, will always dig through history. Also doesn't try to bookmark just the new links from last time. Might try to implement this if there's interest.
Code is on gitlab:
hn2bookmarks