from Hacker News

Ask HN: How to filter out HN news by URL

by foothebar on 1/31/24, 3:58 AM with 5 comments

Is there a way to automatically filter out some entries, based on their URL? e.g. to not see that silly wikipedia article entries, or to block paywalled sites like ft.com?
  • by anigbrowl on 1/31/24, 4:01 AM

    HN has a pretty straightforward API, so you could write a local (or web-based) client in any common language and add filters as you see fit.

    https://github.com/HackerNews/API

  • by k310 on 1/31/24, 5:58 AM

    I second the idea of trying to bypass paywalls. Archive today ( https://wiki.archiveteam.org/index.php/Archive.today ) notably archive.is and similar, work reliably.

    One can often bypass paywalls, nag walls, etc with Safari Reader, bypass paywalls clean extension for Firefox and Chrome (Opera uses the chrome engine) or disabling JavaScript for selected sites. I use Sheriff on iOS to do this. Other extensions will do this, I am sure.

    ---

    Twitter links are often posted here, and without an account there, you can only see tho OP.

    Discussion of workarounds here:

    https://news.ycombinator.com/item?id=39151768

    There is concern that nitter.net may flake.

  • by jdelman on 1/31/24, 4:32 AM

    Wikipedia entries are some of my favorite HN front page entries because it’s always a mystery to me as to which ones pop up and which don’t (I’ve submitted a few that didn’t make it). Try archive.is to bypass paywalled articles.
  • by CrypticShift on 1/31/24, 12:14 PM

    There are some userscript filters you can customize : https://greasyfork.org/en/scripts?q=hacker+news+filter

    Not a filter, but this one "bypass" paywalled links https://github.com/MostlyEmre/hn-anti-paywall