Skip to content
Filter out crap stories from hackernews/news.ycombinator.com
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
views HN Filter, now with moar web! Aug 15, 2013
LICENSE.md
README.md Add notes for v0.4 Nov 8, 2014
bottle.py Revert "Update bottle.py - thanks satish-setty (#3)" Jan 12, 2018
filter.txt Add "^Why I" case Jan 22, 2019
hn_filter.py Specify BeautifulSoup parser; update killfile Mar 11, 2016
hn_filter_core.py Update filter; fix blank output (new HN format) Jun 17, 2016
hn_filter_server.py Initial commit for v0.3. Sep 7, 2013
requirements.txt

README.md

Derek's Hackernews Crap Filter

Manifesto

Do you like the technical articles that filter through Hacker News (http://news.ycombinator.com)?

Are you really tired of schmaltz and chaff like this?

  • "This is a web page. It's made up of words." ... "OMG IT'S SO TRUE"
  • "Why I'm Leaving Elon Musk"
  • "How do I find a technical co-founder?"

No longer.

  • Stick your most-hated buzzphrases in filter.txt.
  • Terminal.app => Profiles => Advanced => [x] Set locale environment variables on startup
  • Run hn_filter.py in a terminal session.
  • Or run hn_filter_server.py and visit http://localhost:31337/

But that's not all!

You also get my list of irritating buzzwords as a default filter set. It slices, it dices, it kills monsters!

[Cmd]+Double-Click URLs in Mac OS X Terminal.app to open them.

Requirements

  • Python 2.7 or Python 3.4
  • Python modules: BeautifulSoup and Requests

Alternatives

There are other Hacker News filters (http://hnapp.com/) but they don't accommodate the level of grumpiness I have achieved (70+ entries in the default killfile).

Version History

v0.4 - 08-Nov-2014

  • Add Python 3.x compatibility (tested with 3.4) (if you're on OS X, be sure to enable "Set locale environment variables on startup" in Terminal.app)
  • HN is now all SSL, all the time, so enable SSL verification

v0.3 - 07-Sep-2013

  • Bring back console version. Web version optional.
  • Allow comments in killfile.
  • Killfile updated with latest curmudgeonry.
  • Clean up filenames.

v0.2 - 15-Aug-2013

v0.1 - 14-Aug-2013

  • Initial release.

Have a nice day.

You can’t perform that action at this time.