Hacker GitHub

← All repos

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

Mentions per year 68 mentions · busiest year 2021 (10)
20082026
  1. …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
  2. …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
  3. …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…
  4. Just had a look and three is quite a lot going into Firefox's reader mode. https://github.com/mozilla/readability
  5. You may be able to debug it with https://github.com/mozilla/readability
    comment by uallo · 2025-05-12 · in Just use HTML
  6. …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
  7. 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…
  8. I used https://github.com/mozilla/readability for this
  9. …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
  10. …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…
  11. Running it through Readability: https://github.com/mozilla/readability
  12. …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
  13. 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
  14. …has released Readability as a standalone package so you can avoid spinning up a browser entirely: https://github.com/mozilla/readability
  15. …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... >
  16. …https://humungus.tedunangst.com/r/medium-rare [3]: https://github.com/go-shiori/go-readability [4]: https://github.com/mozilla/readability
  17. …the sake of completeness: Mozilla's Readability [1] is obviously a reference in the JS world. [1]: https://github.com/mozilla/readability
  18. …mode as a utility" might be a viable alternative for Pinboard like "content oriented" archiving? https://github.com/mozilla/readability
  19. …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
  20. …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...
  21. have you already tried this: https://github.com/mozilla/readability ?
  22. …mode not good enough? And also please note that Mozilla has their algorithm in the open here: https://github.com/mozilla/readability
  23. …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 (…
  24. …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…
  25. …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
  26. …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
  27. …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)
  28. …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
  29. 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
  30. …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
  31. …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
  32. …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:…
  33. …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…
  34. …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
  35. …) 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…
  36. …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
  37. 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
  38. …finds "enough" text, offers reader mode. Here's how Firefox's reader mode implementation does it: https://github.com/mozilla/readability/blob/master/Readabili...
  39. …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
  40. …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.
  41. …. I believe it's what powers "readability" view in modern browsers (firefox https://github.com/mozilla/readability , safari).
  42. …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
  43. 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.
  44. …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!
  45. If you have examples of sites where Firefox's reading mode doesn't work, you can file bugs here: https://github.com/mozilla/readability
  46. …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
  47. …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?
  48. …which is what is used by Firefox's reader mode. https://newspaper.readthedocs.io/en/latest/ https://github.com/mozilla/readability
  49. 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…
  50. Firefox uses Readability.js for its reader mode https://github.com/mozilla/readability