Skip to content

Releases: SSHdotCodes/nadir

Nadir 2.0.1

Choose a tag to compare

@SSHdotCodes SSHdotCodes released this 15 Oct 16:11

Runtime fixes for the pages where 2.0.0 did worse than v1. The model weights are unchanged.

  • Logos on headers that turn dark. A wordmark or tagline drawn in dark ink on transparency is now adapted (dark ink turns light, brand colours stay) whenever the element head gives that a real chance. Dark badges with white text in them are left as they are.
  • Light icons drawn for a dark surface keep their colours when that surface stays dark.
  • Adapting transparent logos keeps thin white outlines and knockouts white.
  • Elements drawn over a picture shown as it is (a title graphic over a hero illustration) stay as designed.
  • Large light pictures under text that the dark palette turns light go dark too: removed when the head was open to removing them, otherwise inverted with hues preserved.
  • ::before/::after backgrounds are measured in their own box. Before this, a small checkmark could be measured as its whole list item and removed.
  • Pages painted dark by a gradient on <html>/<body> are recognised as already dark.
  • Large light gradients that the palette kept light go dark outside media.

Judged blind by Claude Haiku 5.5 on 384 live pages: 2.0.1 vs 2.0.0 is 102 to 93 (189 ties), within the noise of live pages. On the pages where v1 had beaten 2.0.0, 2.0.1 is preferred 19 to 10, and against Dark Reader it is preferred 243 to 127. Details: https://huggingface.co/ProCreations/nadir

Install: download nadir-extension.zip, unzip it, open chrome://extensions, turn on Developer mode, click Load unpacked and choose the folder. If 2.0.0 is already loaded unpacked, replace its folder's contents and click the reload icon.

Nadir 2.0.0

Choose a tag to compare

@SSHdotCodes SSHdotCodes released this 15 Oct 11:27

Nadir 2.0.0: dark mode for every website, designed on your device.

Install: download nadir-extension.zip, unzip it, open chrome://extensions, turn on Developer mode, click Load unpacked and pick the unzipped folder. Works in Chrome, Edge, Brave, Arc, Aside and other Chromium browsers.

What's in this release:

  • A 16M-parameter model with a palette head and a new element head. The element head decides how every image, CSS background, sprite and ::before icon is shown, including ones that load later.
  • In a blind Claude Haiku 5.5 judge on 190 held-out live pages, the judge preferred Nadir 2 to Dark Reader 126 to 56, and to Nadir 1 91 to 59.
  • Runs fully in the browser (onnxruntime-web, WASM). The 8-bit model takes about 30 ms per new site on an M4 Max.

Model, training data and evaluation: https://huggingface.co/ProCreations/nadir