unclutter
parser
Our great sponsors
unclutter | parser | |
---|---|---|
39 | 12 | |
1,194 | 5,212 | |
1.6% | 1.6% | |
8.1 | 1.1 | |
about 2 months ago | 6 months ago | |
TypeScript | JavaScript | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unclutter
-
Reader View / Links2 like web view filter
no a filter for uBO (I do not think it is possible) but I really like this extension: https://github.com/lindylearn/unclutter
-
Mel B calls James Corden as one of the âbiggest d***heads in showbizâ
Other browsers can use the uncluttered extension.
-
Show HN: Reader Mode, but Better
There already is crowdsourcing of broken page reports: https://github.com/lindylearn/unclutter/issues?q=is%3Aissue+...
And twitter.com is a special case: https://github.com/lindylearn/unclutter/issues/570
I'm working on those, but it's never going to be perfect unfortunately.
-
Unclutter â a browser extension to read & save articles
Hereâs more info: unclutter.lindylearn.io
I'm looking into this: https://github.com/lindylearn/unclutter/issues/661
-
Unclutter reader mode extension â Read articles with style
It all started with a r/chrome post a few months ago, and since then we've added many improvements to our GitHub project.
-
Show HN: Reader Mode that shows Hacker News comments inline
Hey! This is a reader mode browser extension I built that hides noisy page elements rather than extracting and re-rendering only the page text. The idea is to not make all articles look the same [0], have them still render graphs, and ideally to work in more cases.
There are a few "tricks": patching the site CSSOM to apply simpler mobile styles even at desktop width, detecting the likely main text & removing its non-text siblings, blocklists for classnames that contain words like "sidebar", and testing this on a few hundred popular sites.
I got carried away and also added a dark mode, page outlines, private annotations & inline Hacker News comments.
The last feature works by parsing every top-level HN comment with a quote in it (formatted with > or "") within a few minutes, and anchoring these quotes in the related article HTML. So when you click a link on HN youâll see the parts people are talking about while reading. [1]
The code is all on GitHub!
[0] Screenshots comparing it to the Firefox reader mode: https://github.com/lindylearn/unclutter/blob/main/docs/compa...
[1] It's fun to try this on some of the "HN classics" that got 30+ quote comments over the years. The list at hn.lindylearn.io/best shows the number of âannotationsâ an article has beneath its title.
-
Uncluttering web articles using CSS animations
You can also contribute to the existing extension for this: https://github.com/lindylearn/unclutter
More examples: unclutter.lindylearn.io The code: github.com/lindylearn/unclutter
-
Show HN: Unclutter â New Reader Mode Extension with Inline Hacker News Comments
Hey! This is a reader mode browser extension I built that hides noisy page elements rather than extracting and re-rendering only their text content. The idea is to not make all articles look the same [0], have them still render graphs, and ideally to work in more cases.
There are a few "tricks": patching the site CSSOM to apply simpler mobile styles even at desktop width, cleaning up parents of DOM text nodes, blocklists for class names that contain words like "sidebar", plus manual CSS patches for popular sites.
I got carried away and also added a dark mode, page outlines, privates notes & inline Hacker News comments. [1]
The last feature works by parsing every top-level HN comment with a quote in it (formatted with > or "") within a few minutes, and anchoring these quotes in the story article HTML. So when you open a link you'll directly see the parts people are talking about here. [2]
The extension code is all on GitHub: github.com/lindylearn/unclutter
[0] Unclutter vs the Firefox reader mode: https://github.com/lindylearn/unclutter/blob/main/docs/compa...
[1] The linked website show some examples for these.
[2] It's also fun to try this on some of the "HN classics" that got 30+ quote comments over the years. The list at hn.lindylearn.io/best shows the number of "annotations" a link has beneath its title.
parser
-
Show HN: I made a tool to clean and convert any webpage to Markdown
Thoroughly scraping is challenging, especially in an environment where you donât have (or want) a JavaScript runtime.
For content extraction, I found the approach the Postlight library takes quite neat. It scores individual html nodes based on some heuristics (text length, link density, css classes). It the selects the nodes with the highest score. [1] I ported it to Swift for a personal read later app.
-
Trouble Building Chrome Extension to Get News Article Content
I've been working on an enhanced reader mode extension for the last few months. I found that Mercury Reader's parser tool is useful for extracting content. If that's not exactly what you're looking for, readibility is another good option. It's a library used inside Firefox's reader moder that you can use in any project.
-
What Are The Coolest Virtual Machines You Currently Run 24/7?
I currently have it turned off while I search for better sources, but I have a VM that runs a custom cron script that combines a custom RSS reader, podfox, mercury-parser, and coqui-ai to generate audio podcasts from RSS news feeds. I should probably clean it up and release the script/setup process. With a few tweaks and some AI text-to-speech and a little machine learning audio processing you can get a really good podcast experience from text posts.
-
Extracting Text button no longer works
It looks like Relay could be updated to convert it locally though, since the parser that it uses appears to be open source.
-
Which are some open-source Chrome extensions you want to use on Firefox?
https://github.com/postlight/mercury-parser The only one I need, shit's too good
-
API for getting news fulltext
An alternative would be to extract the plain text from the article's page with either some "readability" API or a library like Mercury Parser: https://github.com/postlight/mercury-parser
-
How does Firefox's Reader View work?
I havenât directly compared them, but I have also found mercury parser (https://github.com/postlight/mercury-parser) to be very reliable.
Since it turns a website into very plain (X)HTML itâs fairly easy to use it to make a browsing proxy or automatically produce epub files for e-readers, which is what I do.
-
Build your self-hosted Evernote
Make sure that at the end of the process you have the node and npm executables installed - the http.webpage integration uses the Mercury Parser API to convert web pages to Markdown.
-
Reading from the web offline and distraction-free
Good luck! Those HTML issues you're coming across are tough and so varied across the web!
I was working with Mercury Parser (pluggable parsing for different sites) in the past.
- The most underused browser feature
What are some alternatives?
murder - Large scale server deploys using BitTorrent and the BitTornado library
readability - A standalone version of the readability lib
hn-search - Hacker News Search
dom-distiller - Distills the DOM
Just-Read - A customizable read mode web extension.
arc90-readability - A copy of the original Arc90 repo with links to many of the current ports.
FParsec - A parser combinator library for F#
bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.
tidy-html5 - The granddaddy of HTML tools, with support for modern standards
Readability4J - A Kotlin port of Mozillaâs Readability. It extracts a websiteâs relevant content and removes all clutter from it.
rdrview - Firefox Reader View as a command line tool