by franciscop · 4y ago · 0 comments
I've been thinking about creating this + adding https://github.com/mozilla/readability to grab the links that are text articles and present them in-page (and cleaned up, just the text+images+similar, removing all the sidebars, popups, etc) instead of having to go to a 3rd party website with all the popups and such.
It'd have to be either a personal website or a browser extension like yours, since I wouldn't be able to host a given article for anyone to read (for copyright reasons), but I can have a modified browser that loads a 3rd party article different.
Maybe there's a better way someone knows for extensions to grab remote html without running into these problems?
The alternative would be for the extension to grab the html via API from a crawler running on a server (or SaaS), which should work pretty well.
> The alternative would be for the extension to grab the html via API from a crawler running on a server
Oh like 'https://myplainwebsite.com/parse?url=https://example.com/doc...'
You can parse any URL into markdown with `https://content-parser.com/markdown?url={encodeURIComponent(...}`.