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

readability of html in w3m #1

Open
m040601 opened this issue May 7, 2023 · 0 comments
Open

readability of html in w3m #1

m040601 opened this issue May 7, 2023 · 0 comments

Comments

@m040601
Copy link

m040601 commented May 7, 2023

Just bumped by accident into your Kobo-Zotero. Very nice.By the way, you should also mirror, https://git.ch-st.de/christoph/firefox2koreader here. Easier to find here.

And then ended up here into your tools for kiwix-w3m and zeal_fzf and blog post.

As a die hard fan of w3m, offline and the terminal I was instantly hooked.
What a nice idea and set of scripts.

This issue actually relates more to kiwix-w3m. I dont use "zeal_fzf". Because, I dont like the GUI of zeal. It's big, bloated, infested with www.googletagmanager.com ads tags. I dont want to install it just to download the "docsets". If there was an alternative to download only the docsets, without having to install Zeal, maybe I reconsider.

Anyway. You wrote, https://ch-st.de/offline-first-programming/,

....There still is room for ergonomic improvement: the HTML rendering of w3m could have better readability ...

I live, eat, sleep and breath with the terminal and w3m. For many years. And can survive the "modern" bloated web. One of the indispensible corner pieces to my w3m setup is a universal "readability" cleaner. I have it mapped to "r" in w3m. Sometimes it even runs automatically on certain domains processing the displayed rendered html buffer on certain pages.All possible with the underrated w3m scripting and customability. And understanding well how siteconf, urimethodmap and cgi work.

I must have tested all the libraries and tools in the universe that exist for this purpose. Python libraries, Go, Rust etc. Even NodeJs.

Some examples, https://github.com/buriy/python-readability , https://github.com/mrusme/reader (go)

In the end the most rock solid experience that mimics Mozilla's own readability feature in Firefox is, https://github.com/eafer/rdrview

Easy peasy to integrate with w3m. You should give it a try.

Another very recent game changer for life with text browsers are the so called "alternative frontends" . This alone reduces the need to "clean" pages to show them nicely in w3m.

Invidious instead of Youtube.
Libreddit instead of Reddit

And, a killer one, SearxNG instead of searching directly google.com with w3m.

You can even browse this repo https://dev.gh.akisblack.dev/stelzch/zeal_fzf instead of https://github.com/stelzch/zeal_fzf/

https://sr.ht/~benbusby/farside/
https://github.com/mendel5/alternative-front-ends
https://github.com/digitalblossom/alternative-frontends

If you are not familiar with this concept, than maybe best start with Firefox and this addon, https://github.com/libredirect/browser_extension

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

No branches or pull requests

1 participant