Runs in your browser
no API call
An embedding model in 7 MB.
Runs on your CPU. No API.
Drop it in, embed text in milliseconds, and never call a server.
Runs in your browser
no API call
Engine + weights Β· 7 MB
mini variant Β· 5 MB
Fast embeddings Β· ~5 ms
CPU only Β· no GPU
USE IT
Ships as a single npm package. No model download step, no server.
npm install @ternlight/base
import { embed, similar } from '@ternlight/base';
similar('easy weeknight dinner ideas', recipes, { topK: 3 });
// β ranked matches Β· ~5 ms Β· zero network
EXAMPLE
Search React's docs in your browser. Type a question β powered by @ternlight/mini, the 5 MB tier.
Loading the engineβ¦