unclutter
trafilatura
Our great sponsors
unclutter | trafilatura | |
---|---|---|
39 | 13 | |
1,199 | 2,778 | |
2.0% | - | |
8.1 | 8.7 | |
2 months ago | 1 day ago | |
TypeScript | Python | |
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.
trafilatura
-
Trafilatura: Python tool to gather text on the Web
The feature list answers that question pretty well: https://github.com/adbar/trafilatura#features
Basically: you could implement all of this on top of BeautifulSoup - polite crawling policies, sitemap and feed parsing, URL de-duplication, parallel processing, download queues, heuristics for extracting just the main article content, metadata extraction, language detection... but it would require writing an enormous amount of extra code.
-
Show HN: Build AI Dags with Memory; Run and Validate LLM Tools in Containers
The WebScraper tool uses Trafilatura [1] to scrape and parse HTML—nothing too fancy. "Scraping" a React site would require a totally different approach, probably something more akin to Adept's ACT-1 [2].
I run a local chat app built with Griptape and I use it to give me summaries of web pages or answer specific questions all the time :)
1. https://github.com/adbar/trafilatura/
-
Powerful and free scraper with a headless browser under the hood and Readability for parsing
I've been playing with Trafilatura lately, and it's very good. There are a few very thorough comparisons to other projects and it really shines. It doesn't do anything headless from what I can tell, but it doesn't have to do the scraping itself. Maybe an option could be to use Playwright to scrape, then Trafilatura to parse. Food for thought.
-
I made a Chrome Extension that lets you ask any question about the page you are on (bluf.ai)
Cool! If you care to explain me further... :) ... I tried parsing a page using: https://github.com/adbar/trafilatura, json stringify it and passing it to https://platform.openai.com/docs/api-reference/embeddings/create. How do I use the response as an input later? <3
-
Testing fast installation in tear-down environment
I want to test how easy it is to install a package plus special extra dependencies to run a certain script in that package: https://github.com/adbar/trafilatura
- Advice on standard design pattern for comparison test script
- Automate dependency installation
- Issue with sklearn
- Questions about some code
- How does Firefox's Reader View work?
What are some alternatives?
murder - Large scale server deploys using BitTorrent and the BitTornado library
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
readability - A standalone version of the readability lib
python-goose - Html Content / Article Extractor, web scrapping lib in Python
dom-distiller - Distills the DOM
TWINT - An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
arc90-readability - A copy of the original Arc90 repo with links to many of the current ports.
html2text - Convert HTML to Markdown-formatted text.
bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.
Goose3 - A Python 3 compatible version of goose http://goose3.readthedocs.io/en/latest/index.html
Readability4J - A Kotlin port of Mozilla‘s Readability. It extracts a website‘s relevant content and removes all clutter from it.
textract - extract text from any document. no muss. no fuss.