Dev tools · alternatives · 2026
24 alternatives to HN dark mode in 2 lines of code
Paste this in the developer tools console of your browser document.documentElement.style.filter = "invert()" document.documentElement.style.background = '#fff' Edit: you can also create a bookmark with the code below in the URL field javascript: (() => { document.documentElement.style.filter = "invert()";document.documentElement.style.background = '#fff' })(); Then just click on the bookmark for instant dark mode
HN dark mode in 2 lines of code is a browser tool that inverts the colors of Hacker News to create a dark theme. Users paste two lines of JavaScript into their browser's developer console, or create a bookmark for… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Prices are shown for the 1 we have checked on their own sites, 1 of them free or with a free tier. HN dark mode in 2 lines of code launched in 2022; newer entries below may have overtaken it.
- 1

Browser extension that toggles an opinionated dark theme for the popular website, Hacker News. - azerella/ext-hn-darkmode
2020 · github.com · its alternatives →
- 2HN
2020 · jgthms.com · its alternatives →
- 3DD
2021 · darkhn.herokuapp.com · its alternatives →
- 4HS
2013 · gabrielecirulli.github.io · its alternatives →
- 5HA
Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r>>17,r^=r>2
2022 · its alternatives →
- 6

Hey HN! Just for fun, I built an interactive Hacker News Simulator. You can submit text posts and links, just like the real HN. But on HN Simulator, all of the comments are generated by LLMs + generate instantly. The best way to use it (IMHO) is to submit a text post or a curl-able URL here: https://news.ysimulator.run/submit. You don't need an account to post. When you do that, various prompts will be built from a library of commenter archetypes, moods, and shapes. The AI commenters will actually respond to your text post and/or submitted link. I really wanted it to feel…
Nov 2025 · news.ysimulator.run · its alternatives →
- 7

HN is great for the links people share, but a big part of the value I get comes from reading the discussion around them. I realized I was always opening the article in one tab and the comments in another, constantly switching back and forth. I figured there was probably a simpler way, so I threw together this userscript to merge the two. 1. Clicking a link from Hacker News opens the article with a side panel containing the discussion. It doesn't require your credentials, is resizable, and is easy to tweak if you want to customize it. 2. If you land on an article that has previously been…
Jul 2026 · github.com · its alternatives →
- 8

A chrome extension that applies a stylesheet to Hacker News' frontpage. - guicoelho/hn-beautify
2014 · github.com · its alternatives →
- 9

2018 · chrome.google.com · its alternatives →
- 10
Darkmode Widget▲356Add a dark-mode to your website in a few seconds 🌓
2019 · darkmodejs.learn.uno · its alternatives →
- 11

Hacker News comments sidebar bookmarklet. GitHub Gist: instantly share code, notes, and snippets.
2023 · gist.github.com · its alternatives →
- 12DH
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…
2023 · darkhn.com · its alternatives →
- 13

✨ Hacker News, but refined — Interface tweaks and features to make the HN experience better - plibither8/refined-hacker-news
2019 · github.com · its alternatives →
- 14HN
Just another HN reader that supports dark mode and an embeded reader view mode for links.
2023 · read-hn.vercel.app · its alternatives →
- 15EH
I wrote a short JavaScript snippet to export HN Favorites to a CSV file. It runs in your browser like a browser extension. It scrapes the HTML and navigates from page to page. Setup and usage instructions are in the file. Check out https://gabrielsroka.github.io/getHNFavorites.js or to view the source code, see getHNFavorites.js on https://github.com/gabrielsroka/gabrielsroka.github.io
2020 · its alternatives →
- 16IM
Hi HN! I’ve spent the last few weeks writing a browser extension that lets users write their own HN themes using Handlebars and CSS. It works by converting the current Hacker News page’s content into an object that is made available to the user-defined Handlebars templates. There is a built-in code editor that makes writing themes super easy and you can see changes in real-time. If you don’t want to write a theme from scratch, there are premade themes available or you may import one made by somebody else. It is shipped with Bootstrap so you can get pretty far without needing to write a lot…
2023 · hackernewspro.com · its alternatives →
- 17HA
Inspired by WikiTok (https://news.ycombinator.com/item?id=42936723) After making HN paradise: https://meet.hn I had to make https://hnhell.com Fully created with v0.dev: wanted to make the joke but didn't have time for it. Thanks v0! It's even better as you will probably enjoy some very cursed errors/problems, which is expected in hell.
2025 · hnhell.com · its alternatives →
- 18

- 19

2023 · chrome.google.com · its alternatives →
- 20HN
Hello everyone! This is a browser extension that attempts to enhance Hacker News user experience, while your data is kept secure, and private (never leaves the browser). Browsers have evolved significantly since doing a v1 back in 2010, which was one of the contributing factors, for attempting a complete re-take few months ago. Personally, I was surprised how useful it turned out to be when browsing around HN. On the linked page you can find install link(s) from web-browser stores, and demo video/screenshots of the features[1] What do you think ? [1] including, browsing content with…
2023 · carina.app · its alternatives →
- 21

Hi HN, I needed a distraction from the new and scary thing I was working on this weekend, so I grabbed HN's stylesheet, extracted CSS variables for every colour it defined, then re-applied them back onto HN using its own selectors (plus some extras for bits of HN which are styled inline, and some separation between header and content styling), allowing it to be themed with variables. After using them to implement a dark mode (and a pure black variant for OLED), plugging everything into my existing HN browser extension which already lets you apply custom CSS, and making it handle theme…
Apr 2026 · github.com · its alternatives →
- 22VD
A lightweight, reactive, and elegant dark mode composable for Vue 3. Seamlessly toggle themes with zero dependencies.
2018 · vuedarkmode.com · its alternatives →
- 23

I wrote a JavaScript tool to search your HN favorites and export them to CSV or HTML. The JavaScript runs in your browser like a browser extension. It scrapes the HTML and navigates from page to page. Setup and usage instructions are in the file.
2022 · github.com · its alternatives →
- 24

Alerts, AI summaries, and easy search for Hacker News
2025 · apps.apple.com · its alternatives →
Also compare
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →