yang991178 / fluent-reader

Modern desktop RSS reader built with Electron, React, and Fluent UI
https://hyliu.me/fluent-reader/
BSD 3-Clause "New" or "Revised" License
7.79k stars 425 forks source link

Webpage Reader Mode #645

Closed Paradoxis closed 9 months ago

Paradoxis commented 9 months ago

Is your feature request related to a problem? Please describe. Ever since I switched to fluent reader, I've been absolutely in love with the usability and design, however, some RSS feeds decide not to include the full blog post I'd like. One such example in my case, is Mandiant's blog (rss link: https://www.mandiant.com/resources/blog/rss.xml), which only shows the first X paragraphs, after which it cuts off the article.

In this case, I can switch to webpage mode, which renders the link, however this usually means I have to click away tons of consent popups and such, and generally just intrudes on my overall reading experience.

Describe the solution you'd like I'd like a button that lets me toggle reader-mode in the webpage. This could just make use of an HTTP client to load the underlying HTML and and use something like Mozilla's readability library to convert the webpage to a reader mode view, which makes the experience of reading the post a lot smoother.

Note: for security reasons, it might be smart to filter the HTML/JavaScript with something like DOMPurify beforehand, as the Mozilla team also points out.

Describe alternatives you've considered Just using browser mode, but I want to enjoy Fluent Reader's clean UI, so while this works, reader mode would be so much better.

Additional remarks Thanks for all the hard work :) love the application you made

Paradoxis commented 9 months ago

Edit: just discovered that full-text mode is a thing