3 ms·
Hi, I created this. Most of my web browsing is reading text, so I wondered about stripping webpages down to plain text. I showed it to my boss at work and he s
by adamgordonbell 5y ago
Hi, I created this.
Most of my web browsing is reading text, so I wondered about stripping webpages down to plain text. I showed it to my boss at work and he suggested putting it up somewhere as a tool for people to use.
There is no caching so its a bit slow to load.
There are examples in the blog post, but try loading a new yorker article like this:
https://earthly-tools.com/text-mode?url=https://www.newyorker.com/news/letter-from-silicon-valley/the-lonely-work-of-moderating-hacker-news
Or read it right in your terminal:
curl https://earthly-tools.com/text-mode?url=https://www.newyorker.com/news/letter-from-silicon-valley/the-lonely-work-of-moderating-hacker-news | less
Unfortunately, there are no links, so browsing around isn't great experience but reading is.
Next thing I need to add is caching, because some pages are just really slow and text should be very cacheable.
Also, on my phone I need to use widescreen mode to make it viewable the line breaks are in the content and not reactive to browser size.
Feature requests?
- derekzhouzhen 5y agoThe same newyorker article from my site: (free registration required) https://roastidio.us/topic/105469?fulltext=t https://roastidio.us/topic/105469?fulltext=t I strip away all the bells and whistles, keep the main text, fix the img and a links with absolute links, and apply minimum styling. I also cached all the results and built a full text search index with it.
- adamgordonbell 5y agoI was thinking about how if I served in html I could include links and such, but I do like the aesthetics of plain text. It makes me feel like I'm reading a text file on some BBS or something. But what you've built is very cool.
- derekzhouzhen 5y agoI hear you; however, changing random broken html found on the web into a readable piece of plain text is not that easy. Think about old school layout done with tables, source code listing, link farms, etc. Dumb down the html is actually easier.
- nafizh 5y agoThis is fantastic for reading things on my terminal. Thanks for making this. Is there a way to make the url shorter? That will make it much more usable.
- adamgordonbell 5y agoI think I could get this to work: https://earthly-tools.com/t?u= But any shorter than that would require a url shortener, or a different domain name. Do any url shorteners support adding url params onto the end of them?