Show HN: Dark Hacker News
3 points
1 hour ago
| 2 comments
| darkhn.com
| 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.

k310
1 hour ago
[-]
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/

reply
alexandermorgan
55 minutes ago
[-]
On mobile my issue is that I use the DDG browser and I'm always in the dark mode on the browser. When a page is too bright I invert the colors on my phone, but since I'm always in dark mode anyway, the extra stuff (url bar etc.) goes from dark to light. I guess I should try some other setups.
reply
downrightmike
1 hour ago
[-]
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

reply
alexandermorgan
1 hour ago
[-]
That sounds like a good solution but it sounds like a bit of a pain to set up on a mobile. I'll give it a try.
reply
Bender
1 hour ago
[-]
If you put 4 spaces in front of each line it will format better.
reply