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

Display Pocket-Highlights #107

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

gonzochic
Copy link

@gonzochic gonzochic commented Dec 4, 2022

Implemented the necessary code to display highlighted areas of a pocket item. To make it work I needed to use a static CONSUMER_KEY which allows the return of the annotations-Array within the response.

Fixes: #106

TODO:

  • The ordering of the highlights should reflect the read-direction (first highlight should be the top-most highlight in the pocket item)
  • Test across devices

@Panky-codes
Copy link

I don't see any way to retrieve highlights with the current pocket API. Could you explain how you are able to do it with your PR?

@gonzochic
Copy link
Author

Yes, the official pocket api doesn't allow for that. But if you use the consumer-key I provided within the pull-request, you will magically get the highlights in the response (similar as in the web-version of pocket). Obviously, that might not be the most stable approach but it works (for now).

@Panky-codes
Copy link

Panky-codes commented Aug 22, 2023

Ah got it! Thanks for the explanation. It is a pity that they don't provide an official API for this :/

On an unrelated note, I am considering moving to omnivore as it provides everything I need. The team also provides obsidian integration which can import highlights (plugin), etc. And most importantly, it is open source as well!

@gonzochic
Copy link
Author

Tbh, I canceled my pocket subscription and migrated over to Readwise. The reader tool (which is in beta) is superb and the Obsidian integration is really good + there is a ChatGPT 3.5 integration to summarize articles. It is a bit more pricy but it is totally worth it. My workflow was: tagging the article, reading it (and highlighting) and then take additional notes in obsidian.

Regarding this project here, it means I won't need this plugin anymore.

@Panky-codes
Copy link

Thanks for the information about readwise.

I hope to get there with omnivore and cancel my subscription with pocket as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get hightlights in template
2 participants