Show HN: Dark Hacker News (darkhn.com)

4 points by alexandermorgan ↗ HN
Dark-mode version of Hacker News. This is mostly to be able to read Hacker News at night without hurting my eyes. Hackers have to sleep too!

For all the features that you have to be signed-in for work, those links take you to the real HN site. Similarly, the pages not supported by the api (past, comments, submit, and from) take you to the real pages as well. Also, the "Light Hacker News" link in the top right corner takes you to whichever page you're currently on in the real website.

The routes mirror those of the real website, so if you're ever on Hacker News and want to switch to this dark mode, you can replace "news.ycombinator" with "darkhn" and it will take you to the same page as long as it's not the one of the ones mentioned above. The simple html-only setup is inspired by Simon Willison's html-tools initiative.

If for some reason ycombinator doesn't want this page up, they can let me know and I'll take it down.

Enjoy.

2 comments

[ 2.8 ms ] story [ 15.3 ms ] thread
Or, you can just import a ublock origin filter, which is why this doesn't exist already:

news.ycombinator.com##td:style(color: #f8f8ff !important) news.ycombinator.com##div.toptext:style(color: #f8f8ff) news.ycombinator.com##span.c00:style(color: #f8f8ff !important) news.ycombinator.com##span.pagetop:style(color: #f8f8ff !important) news.ycombinator.com##textarea:style(color: #f8f8ff !important; background: #1a1a1a;) news.ycombinator.com##p:style(color: #f8f8ff !important) news.ycombinator.com##div.commtext:style(color: #f8f8ff !important)

And the xmas stuff still works

I use Dark Reader [0] with Firefox. It's in addons or $5 in mobile app stores.

In addition, I use Infy Scroll, [1] which works with "newest" to give me a daily digest in HTML. I let it scroll, and copy a day's worth. Paste into SeaMonkey (New Composer Page), paste and save as HTML.

Easter Egg is that I have to quickly click in the Search Box to gain focus for searching. It's my only video game.

Appreciate the OP nonetheless.

Dark Reader works on all sites (it's configurable) and it only scrambles a few sites that react poorly to it.

[0] https://addons.mozilla.org/en-US/firefox/addon/darkreader/

[1] https://addons.mozilla.org/en-US/firefox/addon/infy-scroll/