mozilla/readability
View on GitHub ↗ ★ 11,521 JavaScript
A standalone version of the readability lib
68 mentions on Hacker News by 64 people: 7 stories, 61 comments · first 2015-02-24 · latest 2026-04-12
20082026
-
…guess which tags contain the content, and this whole thing boils down to a pair of regexps[1] [1]: https://github.com/mozilla/readability/blob/08be6b4bdb204dd3...
comment by swiftcoder · 2026-04-12 · in The End of Eleventy -
…hallucinate and add content that isn't in the original, something accessibility tools don't. [0]: https://github.com/mozilla/readability
comment by worksonmine · 2026-01-13 · in Text-based web browsers -
…nearly impossible to infer what the rendered page looks like by looking at the raw html / pdf code. https://github.com/mozilla/readability helps but it often breaks down over unconventional div structures. I heard the state of the art…
comment by crazylogger · 2025-08-29 · in Show HN: Sosumi.ai – Convert Apple Developer docs to AI-readable Markdown -
Just had a look and three is quite a lot going into Firefox's reader mode. https://github.com/mozilla/readability
comment by simedw · 2025-07-01 · in Show HN: Spegel, a Terminal Browser That Uses LLMs to Rewrite Webpages -
You may be able to debug it with https://github.com/mozilla/readability
comment by uallo · 2025-05-12 · in Just use HTML -
…not already considering it, the Readability.js module might make this more straightforward: < https://github.com/mozilla/readability > (I think. I've looked into this but not applied it directly myself yet.)
comment by dredmorbius · 2025-04-18 · in eInk Mode: Making web pages easier to read -
Hey, thanks for checking it out! Yeah, the webpage parser ( https://github.com/mozilla/readability ) doesn’t work well with social media sites like Twitter/X. It can summarize up to about 37,500 words, as long as the website is parsable. I…
comment by spicy_ranch · 2025-02-18 · in Show HN: Hacker News with AI-generated summaries -
I used https://github.com/mozilla/readability for this
comment by bni · 2024-11-09 · in Show HN: HTML-to-Markdown – convert entire websites to Markdown with Golang/CLI -
…reader view. And mozilla even had a stand-alone version of it (1). Might be of interest to you. [1] https://github.com/mozilla/readability
comment by superasn · 2024-09-05 · in Show HN: I'm making an AI scraper called FetchFox -
…if you like: https://github.com/jina-ai/reader - it's written in TypeScript and uses Puppeteer and https://github.com/mozilla/readability I've been using Readability (minus the Markdown) bit myself to extract the title and main content…
comment by simonw · 2024-09-02 · in Web scraping with GPT-4o: powerful but expensive -
Running it through Readability: https://github.com/mozilla/readability
comment by ErikAugust · 2024-09-02 · in Web scraping with GPT-4o: powerful but expensive -
…its reader mode to pipe websites into LLMs for translation. It worked very well, check it out at https://github.com/mozilla/readability .
comment by evrimoztamur · 2024-07-18 · in Panic at the Job Market -
Why not just use something like https://github.com/mozilla/readability And not pay $0.01 per request? There’s a node version too https://www.npmjs.com/package/@mozilla/readability
comment by jonplackett · 2024-05-01 · in 2markdown – Transform Websites into Markdown -
…has released Readability as a standalone package so you can avoid spinning up a browser entirely: https://github.com/mozilla/readability
comment by privatenumber · 2024-04-15 · in Show HN: I made a tool to clean and convert any webpage to Markdown -
…a binary Python module using either QuickJS and Readability plus Gijs's fake DOM, or Haxe. 1. < https://github.com/mozilla/readability/blob/main/JSDOMParser... >
comment by cxr · 2023-12-14 · in Reclaiming the web with a personal reader -
…https://humungus.tedunangst.com/r/medium-rare [3]: https://github.com/go-shiori/go-readability [4]: https://github.com/mozilla/readability
comment by rollcat · 2023-12-05 · in System-wide open source ad blocker for Mac, Windows, and Linux -
…the sake of completeness: Mozilla's Readability [1] is obviously a reference in the JS world. [1]: https://github.com/mozilla/readability
comment by adbarba · 2023-08-15 · in Trafilatura: Python tool to gather text on the Web -
…mode as a utility" might be a viable alternative for Pinboard like "content oriented" archiving? https://github.com/mozilla/readability
comment by e12e · 2023-08-02 · in Webrecorder: Capture interactive websites and replay them at a later time -
…It will give you all the useful info without the junk. Then you can put it in the DB as needed. https://github.com/mozilla/readability Btw, readability, is also available in few other languages like Kotlin:…
comment by busymom0 · 2023-07-13 · in Creating a search engine with PostgreSQL -
…relying documents to be well-structured. So in many ways it is the opposite of successful example. https://github.com/mozilla/readability/blob/main/Readability...
comment by zokier · 2023-07-07 · in Meta releases Intermediate Graphics Library -
have you already tried this: https://github.com/mozilla/readability ?
comment by call-me-al · 2023-03-21 · in Show HN: Chatblade – A CLI Swiss Army Knife for ChatGPT -
…mode not good enough? And also please note that Mozilla has their algorithm in the open here: https://github.com/mozilla/readability
comment by _nalply · 2022-11-24 · in Show HN: Unclutter – Reader mode, but better -
…I'm guessing that the OP uses some combination of the following libraries too (?): - Readability ( https://github.com/mozilla/readability ) to strip down the page's HTML to a bare minimum. - Turndown.js (…
comment by saltymimir · 2022-09-10 · in Show HN: Extract Markdown, HTML or text from content-heavy websites -
…feature requests/think this might be a good idea? 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…
comment by franciscop · 2022-09-08 · in Show HN: I made a modern web UI for Hacker News -
…simplified, and their extension uses that to decide if Reader mode should be available or not. [0] https://github.com/mozilla/readability/#isprobablyreaderable...
comment by laurent123456 · 2022-08-29 · in Google cracks down on VPN based adblockers -
…more about this on the repo for Mozilla's Readability, which is what Firefox uses under the hood: https://github.com/mozilla/readability
comment by d3nj4l · 2022-05-28 · in Reasons to ditch Chrome and use Firefox -
…all three of them to Go[9][10][11] including their dependencies[12][13], so have fun with it. [1]: https://github.com/mozilla/readability [2]: https://github.com/chromium/dom-distiller [3]: https://github.com/adbar/trafilatura [4]:…
comment by acrophobic · 2022-03-31 · in How does Firefox's Reader View work? (2020) -
…through mozilla's readability[0] tool (actually the go port of it[1]) before indexing it. [0]: https://github.com/mozilla/readability [1]: https://github.com/go-shiori/go-readability
comment by psanford · 2022-03-16 · in Ask HN: Full-text browser history search forever? -
https://outline.com/ Afaik https://github.com/mozilla/readability is what Firefox uses and that's where you can report websites who don't parse well.
comment by mtmail · 2021-12-14 · in Ask HN: Web Page Accessibility Parser -
…GetPocket site ( https://getpocket.com/publisher/ ) and Mozilla's Readability Library GitHub page ( https://github.com/mozilla/readability ) without seeing obvious guidelines. My general suspicion is that adhering to a simple HTML5…
comment by dredmorbius · 2021-08-25 · in The most underused browser feature: reader mode -
…like using Reader Mode when I know there might be stuff missing, so I itch to go and check. [1]: https://github.com/mozilla/readability/issues/654
comment by kixiQu · 2021-08-25 · in The most underused browser feature: reader mode -
…some simple heuristics. Check the codebase of some popular parsers: Firefox (already mentioned): https://github.com/mozilla/readability/blob/master/Readabili... Google Chrome: https://github.com/chromium/dom-distiller Mercury parser:…
comment by up6w6 · 2021-08-25 · in The most underused browser feature: reader mode -
…how article content is extracted from web pages should check out Mozilla's Readability repository: https://github.com/mozilla/readability I'm currently trying to bring the PHP port up to speed here: https://github.com/fivefilters/readabilit…
comment by k1m · 2021-08-25 · in The most underused browser feature: reader mode -
…any HTTP client. Will need jsdom to convert the text to DOM before feeding it to readability. [0]: https://github.com/mozilla/readability
comment by dineshdb · 2021-08-21 · in Open source Pocket code -
…) and having a webextension to pull all webpages I vist (filtered via something like https://github.com/mozilla/readability ), dump that into either sqlite with FTS5 or postgres with FTS for search. A good search engine for "my stuff" and…
comment by SahAssar · 2021-07-26 · in A Unix-style personal search engine and web crawler for your digital footprint -
…reader you use and it will give you full-text articles where you had partial content before. [1] https://github.com/mozilla/readability [2] https://www.fivefilters.org/full-text-rss/ [3] https://github.com/fivefilters/ftr-site-config
comment by k1m · 2021-07-03 · in Back to the Future with RSS -
https://github.com/mozilla/readability I had no idea that Readability.js was available as a standalone library. That’s awesome!
comment by cpach · 2021-04-19 · in Zenreader: A 4.7" E-Ink RSS Reader -
…finds "enough" text, offers reader mode. Here's how Firefox's reader mode implementation does it: https://github.com/mozilla/readability/blob/master/Readabili...
comment by throwanem · 2021-04-08 · in Contrast Rebellion – to hell with unreadable, low-contrast texts -
…out there (like Firefox's implementation, readability.js[0]) don't seem to be as good. [0] https://github.com/mozilla/readability
comment by personjerry · 2020-09-27 · in My Hacking Adventures with Safari Reader Mode -
…whole web page though, there's code in the Chrome Extension that use's Mozilla's readability lib ( https://github.com/mozilla/readability ) to purify the web content.
comment by steve1820 · 2020-09-24 · in Show HN: Open-Source Memex – Alternative Approach to Roam/Obsidian -
…. I believe it's what powers "readability" view in modern browsers (firefox https://github.com/mozilla/readability , safari).
comment by JoshuaRLi · 2020-08-08 · in Show HN: Hndex.org – a full-text search engine of articles submitted to HN -
…complicated, holistic system of pulling just the main text. FF uses this for its reader view: https://github.com/mozilla/readability
comment by ciarannolan · 2020-07-09 · in Reddit's website uses DRM for fingerprinting -
Firefox Reader View uses https://github.com/mozilla/readability; if I'm not mistaken, it should be an algorithm which is similar to the one implemented in python-readability.
comment by kmike84 · 2020-06-24 · in Article extraction benchmark: open-source libraries and commercial services -
…can submit a PR for a persistence of some kind or create your own extension that makes use of it. https://github.com/mozilla/readability I use it profusely along with Puppeteer in Node and it's an awesome building block for web scraping!
comment by ojosilva · 2019-12-16 · in Show HN: Increase your readability and productivity with this simple extension -
If you have examples of sites where Firefox's reading mode doesn't work, you can file bugs here: https://github.com/mozilla/readability
comment by 43920 · 2019-11-27 · in Ask HN: What can Firefox do to get you to make the switch? -
…reader mode[1], and it worked well: [0] https://www.npmjs.com/package/readability-wrapper [1] https://github.com/mozilla/readability
comment by franey · 2019-10-31 · in Ebola Is Now a Disease We Can Treat -
…about Safari's reader mode, but you can have a look how the readability feature in Firefox works: https://github.com/mozilla/readability I'd expect the Safari feature to work quite similar.
comment by pvorb · 2019-08-03 · in Ask HN: How can we destroy AMP? -
…which is what is used by Firefox's reader mode. https://newspaper.readthedocs.io/en/latest/ https://github.com/mozilla/readability
comment by thekyle · 2019-07-28 · in Show HN: TLDR This – Auto summarize any article or webpage in a click -
Firefox's reader's view is able to do that. Check out their Github repo here - https://github.com/mozilla/readability >You need at least one <p> tag around the text, you want to see in Reader View and at least 516 characters in 7 words…
comment by harias · 2019-07-28 · in Show HN: TLDR This – Auto summarize any article or webpage in a click -
Firefox uses Readability.js for its reader mode https://github.com/mozilla/readability
comment by thangngoc89 · 2019-01-22 · in Show HN: Convert article in current tab to readable form and upload it to IPFS