Text Highlighting directly on the webpage #500
Replies: 3 comments
-
|
Also had to change the scope to all websites to avoid reloading the webpage again |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, good code, unfortunately I could barely understand it, and it demonstrates how difficult this problem is. I'm afraid integrating this code means only AI will be able to maintain it going forward. It is tightly coupled to the text scraping logic as well, making it somewhat fragile. If you finish it, please submit PR, I may not merge it right away but might consider it down the road when we have more confidence in AI. |
Beta Was this translation helpful? Give feedback.
-
|
Yes its a bit overwhelming, I'll create a PR once I'm confident with the code |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've Vibe coded a "Show in the page itself" text highlighting mode, and I'm yet to review it fully.
This enables the text highlighting in the original web-page itself instead of opening the text in a separate pop-up or a window. This is similar to how MS Edge does TTS on Windows, but it highlights the current line being read (same as the pop-up options) instead of the word-by-word highlighting.
I've wanted this feature for a long time and it didn't find any traction in this repo #179 . You can check out my fork on the main branch at https://github.com/shell-raiser/read-aloud to test this feature.
I've not yet reviewed the code for performance yet, meanwhile letme know how it looks & what are your suggestions, and if this feature will end up in the main repo.
I'll create a PR once I've reviewed and fixed some bugs.
Kooha-2026-04-01-09-42-28.webm
Beta Was this translation helpful? Give feedback.
All reactions