readability VS ftr-site-config

Compare readability vs ftr-site-config and see what are their differences.

readability

A standalone version of the readability lib (by mozilla)

ftr-site-config

Site-specific article extraction rules to aid content extractors, feed readers, and 'read later' applications. (by fivefilters)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
readability ftr-site-config
51 13
8,056 349
7.4% -
6.3 9.5
1 day ago 5 days ago
JavaScript
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

readability

Posts with mentions or reviews of readability. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-25.
  • Mozilla: Readability.js
    8 projects | news.ycombinator.com | 25 Feb 2024
  • CSS for readability
    3 projects | /r/webdev | 9 Dec 2023
    I'm working with the Mozilla's readability library https://github.com/mozilla/readability to get the "readable" text from articles and now I want to style the extracted text in a readable way.
  • Building a Serverless Reader View with Lambda and Chrome
    5 projects | dev.to | 25 Sep 2023
    Do you remember the Firefox Reader View? It's a feature that removes all unnecessary components like buttons, menus, images, and so on, from a website, focusing on the readable content of the page. The library powering this feature is called Readability.js, which is open source.
  • Webrecorder: Capture interactive websites and replay them at a later time
    6 projects | news.ycombinator.com | 1 Aug 2023
    I wonder if Firefox "reader mode as a utility" might be a viable alternative for Pinboard like "content oriented" archiving?

    https://github.com/mozilla/readability

  • Creating an advanced search engine with PostgreSQL
    9 projects | news.ycombinator.com | 12 Jul 2023
    Depending upon the type of content, one might want to look into using the Readability (Browder's reader view) to parse the webpage. 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:

    https://github.com/dankito/Readability4J

  • Seeking a tool or method to convert webpages into Q&A format using NLP
    1 project | /r/LanguageTechnology | 10 Jun 2023
    Use Mozilla's Readability to extract that sweet, sweet text content from webpages.
  • I built a free prompt managing tool - Knit
    2 projects | /r/ChatGPTPromptGenius | 8 Jun 2023
    Same as above but the ability to grab the entire article text (you can use the Readability library for that: https://github.com/mozilla/readability)
  • I need automatic source URLs when I paste any text onto a card or note, like on OneNote.
    4 projects | /r/ObsidianMD | 20 Apr 2023
    // Original script // https://gist.github.com/kepano/90c05f162c37cf730abb8ff027987ca3 // Bookmarklet Converter // https://caiorss.github.io/bookmarklet-maker/ // Libraries // https://github.com/mixmark-io/turndown // https://github.com/mozilla/readability javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ default: Turndown }, { default: Readability }]) => { /* Optional vault name */ const vault = ""; /* Optional folder name such as "Clippings/" */ const folder = "Clippings/"; /* Optional tags */ const tags = ""; function getSelectionHtml() { var html = ""; if (typeof window.getSelection != "undefined") { var sel = window.getSelection(); if (sel.rangeCount) { var container = document.createElement("div"); for (var i = 0, len = sel.rangeCount; i < len; ++i) { container.appendChild(sel.getRangeAt(i).cloneContents()); } html = container.innerHTML; } } else if (typeof document.selection != "undefined") { if (document.selection.type == "Text") { html = document.selection.createRange().htmlText; } } return html; } const selection = getSelectionHtml(); const { title, byline, content } = new Readability(document.cloneNode(true)).parse(); function getFileName(fileName) { var userAgent = window.navigator.userAgent, platform = window.navigator.platform, windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE']; if (windowsPlatforms.indexOf(platform) !== -1) { fileName = fileName.replace(':', '').replace(/[/\\?%*|"<>]/g, '-'); } else { fileName = fileName.replace(':', '').replace(/\//g, '-').replace(/\\/g, '-'); } return fileName; } const fileName = getFileName(title); if (selection) { var markdownify = selection; } else { var markdownify = content; } if (vault) { var vaultName = '&vault=' + encodeURIComponent(`${vault}`); } else { var vaultName = ''; } const markdownBody = new Turndown({ headingStyle: 'atx', hr: '---', bulletListMarker: '-', codeBlockStyle: 'fenced', emDelimiter: '*', }).turndown(markdownify); var date = new Date(); function convertDate(date) { var yyyy = date.getFullYear().toString(); var mm = (date.getMonth()+1).toString(); var dd = date.getDate().toString(); var mmChars = mm.split(''); var ddChars = dd.split(''); return yyyy + '-' + (mmChars[1]?mm:"0"+mmChars[0]) + '-' + (ddChars[1]?dd:"0"+ddChars[0]); } const today = convertDate(date); // This is the output template // It is similar to an Obsidian core template // except to insert a value we use: ${value} instead of {{value}} const fileContent =`--- type: clipping date_added: ${today} aliases: [] tags: [${tags}] --- author:: ${byline.toString().split('\n')[0].trim()} source:: [${title}](${document.URL}) ${markdownBody} `; // This copies your text to the clipboard navigator.clipboard.writeText(fileContent); // This creates a new document in Obsidian containing your clipping // I commented it out as this isn't what you asked for /* document.location.href = "obsidian://new?" + "file=" + encodeURIComponent(folder + fileName) + "&content=" + encodeURIComponent(fileContent) + vaultName; */ })
  • Any js packages to only scrape relevant content from a webpage?
    1 project | /r/webscraping | 27 Mar 2023
  • RSS meets GPT-3
    2 projects | /r/rss | 18 Feb 2023
    So first part of the task is to "extract the text from URL", and that is achieved by using descendant of https://github.com/mozilla/readability library which can extract text of any URL.

ftr-site-config

Posts with mentions or reviews of ftr-site-config. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-12.
  • can someone suggest a good rss reader for android please?
    2 projects | /r/rss | 12 Jul 2023
    As far as full-text caching... maybe a self-hosted instance or paid version of the FiveFilters Full-Text RSS service would work. You can integrate that into whatever aggregator you want.
  • Help Finding the Best RSS App Mac/iOS
    2 projects | /r/rss | 4 Mar 2023
    However you can retrofit this onto any reader by using a service that creates a full text feed from a summary feed. Two that I have used in the past are https://morss.it/ and https://www.fivefilters.org/full-text-rss/.
  • How to rebuild social media on top of RSS
    3 projects | news.ycombinator.com | 13 Dec 2022
    RSS feeds that don't contain the full article text drive me nuts.

    Here is a workaround that I've had good luck with:

    https://www.fivefilters.org/full-text-rss/

    In addition to improving usability, it defeats attempts to measure clickbait summary efficacy, etc., since it breaks sites' ability to pull popularity / telemetry info.

  • RSS-Bridge: feeds for websites that don't have one
    3 projects | /r/rss | 17 Nov 2022
    By any chance, could this be used as an alternative to the full-article RSS tool that FiveFilters offers?
  • NetNewsWire: Free and Open Source RSS Reader for Mac and iOS
    5 projects | news.ycombinator.com | 1 Oct 2022
    Please check out FullTextRSS from Five Filters: https://www.fivefilters.org/full-text-rss/

    They have an OSS version you can host yourself. It fixes the problem of sites not sharing their full text in their feed, by going and scraping the site into a full feed for you.

  • Newsbite and seeing full articles
    2 projects | /r/rss | 11 Jul 2022
    Full-Text RSS - FiveFilters.org
  • Show HN: Newser, utility written in go to generate a pdf with news content
    3 projects | news.ycombinator.com | 20 Feb 2022
    This is great!

    If it's useful, I work on a project where we maintain a repository of XPath selectors for extracting article content from many different sites: https://github.com/fivefilters/ftr-site-config - they're based on the original public Instapaper rules.

    We also have PDF generation, but it's not really for crawling, and wasn't created for reading on a device like the Supernote, more for printing and reading: https://pdf.fivefilters.org/simple-print/

  • Best RSS experience?
    1 project | /r/selfhosted | 29 Aug 2021
    To accomplish full-text I ended up purchasing a license for https://www.fivefilters.org/full-text-rss/, self host it and bounce it through a docker container running Tor+privproxy which generates a new circuit every 10 minutes to help avoid IP based limits on certain websites I subscribe to. I can also disable the Tor bounce per-feed if needed.
  • The most underused browser feature
    22 projects | news.ycombinator.com | 25 Aug 2021
    Thanks for mentioning Instant View, I hadn't come across that. We actually maintain something similar here: https://github.com/fivefilters/ftr-site-config

    We use these in our own tools and also get contributions from others, including Wallabag users: https://github.com/wallabag/wallabag

    Before it was sold, Instapaper used to have something similar. A public database of its site-specific extraction templates. We used that as the starting point for our repository.

  • A 4 minute introduction to RSS
    9 projects | news.ycombinator.com | 2 Jul 2021
    If you're trying to build one yourself, have a look at the open source Readability code[1]. It was originally developed by Arc90 and is now used by Apple and Mozilla in their browser reader views. The code has been ported to a number of different languages.

    I work on a service called Full-Text RSS[2] that used a PHP port of Readability, coupled with site-specific extraction rules[3] to identify and extract article content from each feed item. It then produces a full-text version of the given feed. The idea is you subscribe to the full-text version in whichever feed reader you use and it will transparently 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

What are some alternatives?

When comparing readability and ftr-site-config you can also consider the following projects:

parser - 📜 Extract meaningful content from the chaos of a web page

tridactyl - A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.

koreader - An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

dom-distiller - Distills the DOM

hn-search - Hacker News Search

arc90-readability - A copy of the original Arc90 repo with links to many of the current ports.

readability.php - PHP port of Mozilla's Readability.js

rssguard - Feed reader (and podcast player) which supports RSS/ATOM/JSON and many web-based feed services.

SponsorBlock - Skip YouTube video sponsors (browser extension)

ALL-about-RSS - A list of RSS related stuff: tools, services, communities and tutorials, etc.