July 6, 2026

Small model, huge comment energy

Ternlight – 7 MB embedding model that runs in browser (WASM)

This tiny search tool runs on your laptop, and the comments are already fighting over it

TLDR: Ternlight is a tiny browser-based tool that lets websites sort and search text on your own device instead of sending it to a server. Commenters loved the privacy-friendly idea, but immediately argued over slow first-time setup, noisy laptop fans, and whether browsers should just build this in for everyone.

A new project called Ternlight just strutted onto the internet with a bold promise: fast text search in your browser, no server, no account, no sneaky data trip to the cloud. The big flex is size — just 7 MB, with a 5 MB mini version — which had people doing a double take because that means a website can understand and sort text locally on your own machine. In normal-human terms: it helps apps find related text without sending your words off to somebody else’s computer.

But the real action was in the reactions. Creator soycaporal showed up with the classic humble-brag energy: this was a hobby project, but also one where they built the whole engine themselves and squeezed it into the browser. That instantly won admiration — and skepticism. One of the strongest practical takes came from aetherspawn, who basically asked, “Cool, but can we skip the slow setup and do that part ahead of time?” Translation: people love the speed, but they’re already poking at the startup pain.

Then came the comic relief. dirteater_ complained the demo unexpectedly made their computer fans "go crazy," which is exactly the kind of accidental chaos the internet lives for. Meanwhile, esafak pushed a bigger hot take: instead of every project inventing its own workaround, why not a standard browser feature for this stuff? And in true comment-section fashion, another user immediately rolled in with a live example, saying they already plugged it into an offline search tool. So yes: part applause, part feature requests, part browser-policy debate — and a little bit of laptop jump-scare comedy.

Key Points

  • Ternlight is presented as a 7 MB embedding model that runs on CPU in the browser without API calls.
  • The article also highlights a 5 MB mini variant for smaller deployments.
  • The package is distributed as a single npm package with no separate model download step and no server requirement.
  • A sample API shows using `embed` and `similar` from `@ternlight/base` for semantic search.
  • The article demonstrates in-browser search over React documentation using `@ternlight/mini`, with cached operation after first load.

Hottest takes

"it’s a bit startling to hear my fans go crazy when opening a webpage" — dirteater_
"Can the 30 second embedding time be done beforehand" — aetherspawn
"What we need is a W3C LLM API" — esafak
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.
Ternlight – 7 MB embedding model that runs in browser (WASM) - Weaving News | Weaving News