-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
Feature Request: Add highlighting support for text #620
Comments
Would love this. |
I desperately need to hoard AND highlight too. I'm thinking a good part of the code could be directly taken from the omnivore self hosted fork no? |
Omnivore has(had) the best UI for the reader view in my opinion. If it's easy to implement something like this for the hoarder cachee content, that would be super awesome |
Oh, that's great! Is there some things that I can help with? I am not a programmer but happy to take something simpler on so that you can focus on the harder part |
Oh wow, this is so nice to hear! If I may, when a while back I was developing something for Omnivore's API, I ran into a weird issue that if I recall correctly were due to them storing only a processed string of the text content. Like you can choose to either store the raw mathjax formulas inline a text string or first turn them into Unicode symbols. But if the highlight text you store is not strictly a part of the parsing because you interpreted the mathjax to unicode then other devs might run into issues writing API tools. So yeah if you can store the unprocessed highlight content that'll be swell :))) That would help me avoid having to code weird parsers Do you accept bounties? I'm ready to give you $50 if you pull off an omnivore highight importer in the future :) |
Screen.Recording.2024-12-27.at.3.19.38.PM.movI think I might have something that works! |
Ok folks, I've just merged support for this in 86d74e3 and it'll be coming as an experimental feature in the next release (expect bugs, it wasn't a trivial feature). Give it 15mins and it'll be available in the nightly build. I'd appreciate if you folks can give it a try and report bugs before the next release (in around a week from now)! Notable missing features:
1 & 2 will be implemented before the release. 3 will depend on how important it is for you. |
What a beast! What a feat! What are the supported filetypes for annotation? Omnivore allowed annotating both webpages and pdfs. And can we expect an omnivore highlight import? I offered $50 for it :) Thanks a lot! |
@thiswillbeyourgithub Currently, I've only added support for annotating webpages. To do pdfs, I'll need to change the pdf viewer used by hoarder which is a bigger change. As for the omnivore highlights import, I probably won't have the bandwidth for it. So let's keep the bounty for someone else to claim it :) |
Alright thank you so much! |
Both the API and the "All highlights" page are now available in the nightly build. |
@MohamedBassem I was able to spin up a new container to try out the latest build. I am not using the API for hoarder as much, so, I will stick to my feedback on the web version (I am assuming the cached content will eventually come to the mobile app).
Thank you again for your work on this. |
3 is important. This way, we keep the cached content, and the user thoughts separate. It would be great if those "notes" can also become part of the search |
Thanks for giving it a try and for the feedback @flintstones-fred! Glad that the feature works well! |
|
By the way, I know this is still experimental, but I think it would be worth adding it to the repository description |
Describe the feature you'd like
Users are able to highlight certain snippets of text.
Describe the benefits this would bring to existing Hoarder users
Many articles are saved because they have some relevant/useful information. But more times than not, you want to recollect specific important piece of information from that article (e.g. key takeaways, a specific issue that author had faced from a list of issues). Highlight support in hoarder will really be a very useful feature for users to retrieve the most useful information very quickly. Especially useful for long-form text articles. Many Read it later apps make their living on this. Hoarder has the ability to take it to the next stage as it also captions text.
Can the goal of this request already be achieved via other means?
No. The closest feature is the powerful search that hoarder already has implemented. However, searching something still requires you to remember the correct words. I think the two features (search and highlight) will best work hand in hand. Let's say the search gets you to a couple of useful articles you have saved. And then the user has highlighted the most relevant text to them that they are now able to quickly retrieve.
Have you searched for an existing open/closed issue?
Additional context
No response
The text was updated successfully, but these errors were encountered: