top | item 27329809

Show HN: DarkHN – Dark Mode Mirror for Hacker News

110 points| gaberomualdo | 4 years ago |darkhn.herokuapp.com | reply

59 comments

order
[+] vesche|4 years ago|reply
I use Stylus and this stylesheet: https://userstyles.org/styles/22794/a-dark-hacker-news

Works great for me. I use dark themes via Stylus for most of the common websites I visit like HN, GitHub, StackOverflow, etc. All other websites that cause me to squint I just toggle Dark Reader: https://darkreader.org/

[+] adrusi|4 years ago|reply
Dark reader works unreasonably well.it has done more than any other project to restore some degree of visual consistency to our computer screens in the age of web apps.
[+] beermonster|4 years ago|reply
Is that like GreaseMonkey ?
[+] plibither8|4 years ago|reply
Shameless self-plug: I built Refined Hacker News[0], a browser extension, that allows one to set custom CSS and has a default preset for dark-mode :).

[0]: https://github.com/plibither8/refined-hacker-news

[+] Krasnol|4 years ago|reply
From all those addons and mods I've seen for this page, this is really the best one. Thank you.

I have one minor issue though: the top bar (with new threads past etc.) is white with the text almost white too. Makes it unreadable. I'm not sure if this is somehow my fault or if it comes from the addon: https://i.imgur.com/DPEn3b6.jpeg

I have dark mode on.

[+] FlashBlaze|4 years ago|reply
Easily one of the best add-ons I've installed. Thanks.
[+] miles|4 years ago|reply
Would love to see this available natively here on HN. The last dark mode request thread I recall garnered 780 points: https://news.ycombinator.com/item?id=23197966
[+] sneak|4 years ago|reply
As cool as new features would be, I sort of love the HN approach to feature creep (or even just feature addition, as distinct from "creep"). It's such a welcome change compared to other websites and apps.
[+] alias_neo|4 years ago|reply
Interestingly, DarkHN breaks your link. I couldn't view it, just got a 403, had to come back to normal HN to make sure the link itself wasn't broken.
[+] fragileone|4 years ago|reply
I'd like it natively since my RSS reader has an internal web browser that doesn't support browser extensions which I would otherwise use here.
[+] argvargc|4 years ago|reply
I find it offensive there's no dark mode. It's discrimination against people with a vision disability. It's a small and insignificant change on their part, could be made in 5 mins.
[+] Retr0spectrum|4 years ago|reply
While it's certainly aesthetically pleasing, personally I find the link text too low-contrast. I think it should be slightly brighter.

I normally prefer and use dark-mode UIs, but this one is actually slightly harder for me to read.

[+] messutied|4 years ago|reply
Is there any browser on iPhone that allows custom CSS/JS? Last time I checked I couldn’t find a way, all I wanted was to set a dark then to HN, without having to visit another website.
[+] Agentlien|4 years ago|reply
On PC I'm using a TamperMonkey script to replace the css with a dark mode theme I spent about half an hour putting together. I'm delighted to see that this looks very similar.
[+] partomniscient|4 years ago|reply
I prefer dark modes generally and don't mind the look of this one. But it amused me that one of the posts currently on the front page:

Drunk Post: Things I've learned as a Sr Engineer [1]

Mentions this:

Dark mode is great until you're forced to use light mode (webpage or an unsupported app). That's why I use light mode.

and self-illustrates this beautifully (unless you have dark-mode on reddit already).

...although its also why you need a Dark mode for HN if you're coming from Reddit. I guess I get the Sr Engineers point.

[1] https://old.reddit.com/r/ExperiencedDevs/comments/nmodyl/dru...

[+] brundolf|4 years ago|reply
In my day to day life, HN is the main place where I'm jarringly "forced to use light mode". It's blinding when I tab over while playing a PC game in the evenings
[+] ZuLuuuuuu|4 years ago|reply
On my desktop Chrome, I use "HN Enhance" extension. It works pretty good.

Reading the comments here, a lot of people use various extensions to achieve dark mode, so maybe it is time that HN implements this natively.

[+] DavideNL|4 years ago|reply
Try to read HN in Firefox on iOS, on an iPad 12’9. It’s impossible to read due to the tiny text size. You can’t zoom text in Firefox-iOS either… combined with no dark mode it’s a terrible user experience.
[+] brundolf|4 years ago|reply
iOS Safari lets you zoom on HN, and also let's you turn off "request desktop sites" in settings which might help the small text
[+] xtrp|4 years ago|reply
Thank you all for the feedback and support for DarkHN. I'll be working on fixing some of the bugs on the application (unexpected 403 errors, low contrast, etc).

If you're interested in the code or would like to contribute, take a look at the GitHub repo: https://github.com/xtrp/darkhn

For those interested, it's written in Node.js with a simple Express.js server. More info is available on the repo.

Thank you all again for taking a look at this project!

— Gabriel

[+] user3939382|4 years ago|reply
I switched to Firefox on iOS because it has a simple toggle to change all sites to dark mode. I can’t imagine going back to Safari without this feature.
[+] hestefisk|4 years ago|reply
Same here. The rendering is a bit slower at times, but I actually prefer it over Safari now. Apple should really consider this option.
[+] bartvk|4 years ago|reply
Same here. It's definitely not as intelligent as extensions on desktop browser, but it's suitable in a pinch.
[+] aussieguy1234|4 years ago|reply
If you like this you can also try Dark Reader, available as an extension for Chrome and Firefox. It'll make every website render in dark mode.
[+] guidopallemans|4 years ago|reply
I used to have this extension, until I noticed the tiniest changes to pages even when the extension was "disabled". Ironically, I distinctly remember looking for the dark/light mode switch on hackmd.io and couldn't find it. Only when I uninstalled the extension did the whole page become usable again.

Generally I like the extension though, I still use it on my phone.

[+] wishinghand|4 years ago|reply
Perhaps also make the font size a bit more readable? 10pt is pretty unfriendly to even 20/20 vision.
[+] drdavid|4 years ago|reply
I just use Stylish or Stylus and apply a darker userstyle.
[+] 0xfaded|4 years ago|reply
Missed opportunity for "darkernews"
[+] ericlewis|4 years ago|reply
Super cool! I did this same thing use cloudflare to change the CSS on the fly.
[+] totetsu|4 years ago|reply
Part of me was hopping this would be a Black Mirror mode for Hacker News.
[+] philbo|4 years ago|reply
Will you be implementing `/classic`?