SimonHalvdansson / Harmonic-HN

Modern Android client for Hacker News
https://play.google.com/store/apps/details?id=com.simon.harmonichackernews
Apache License 2.0
620 stars 39 forks source link

Merging bookmarks with HN favorites #20

Open SimonHalvdansson opened 1 year ago

SimonHalvdansson commented 1 year ago

The current bookmark system is purely local but I think at least one other HN app has managed to hook into the HN favorites system for saving bookmarks to a user. This should be added (and made the default for logged in users), perhaps the terminology should also be changed in that case so that it says "Favorite" for logged in users and "Bookmark" for regular users.

karlicoss commented 1 year ago

I believe there is no API for bookmarks, but here's an example of scraping the favorites/upvotes pages to extract the items! https://github.com/archivy/archivy-hn/blob/main/archivy_hn/__init__.py