Local AI use cases with Transformers.js

Transformers.js runs Hugging Face models directly in JavaScript, in the browser or Node.js, using ONNX weights and WebGPU or WebAssembly, so a model can run inside a web page with no server.

1 real example, each linked to its original source.

The Dead Letter Office: Gemma in the browser helps you write to someone who died

Night Clerk built The Dead Letter Office, a static website where Gemma runs in your browser tab on WebGPU and only asks questions, while the letter itself is made word for word from your answers and never leaves your computer.

Night Clerk (DEV Community) · 2026-10-28