Wren documentation
Wren is a web browser written from scratch in Odin, for Windows, where WebAssembly is the only execution engine — JavaScript included. The scripts of a page run in an engine written in Odin and compiled to WebAssembly, inside the same Wasmtime sandbox, memory cap and interruption as every other module. The web platform itself (DOM, CSS, layout, painting, Fetch, the shell) is native Odin, drawn on Direct3D 11. There is no Chromium underneath.
A page can also be a single .wasm file that calls the browser directly, through imports generated from
Web IDL: see Web API.
Installing
Wren is a single executable for Windows x64. There is no installer to run as administrator:
- Download the latest
wren-<version>-windows-x64.exefrom the releases page and run it: the program is that one file, with nothing to unzip.wren.exe --setupinstalls it. - Or, for a release that has reached winget:
winget install FromentSoftware.Wren.
Every version is free during the beta. A Wren User Licence unlocks nothing during the beta; it keeps the work going and covers two years of updates from 1.0.
Driving Wren
You rarely need to click to test a page. Wren ships one executable that is also its own client:
wren ctl run --size 1280x800 --shot out.png https://example.com/ # one page, one capture
wren ctl start --size 1280x800 # a session you keep driving
wren ctl nav https://example.com/
wren ctl shot page.png
wren ctl stopThe same browser can be driven by Puppeteer and Playwright over the Chrome DevTools Protocol:
wren --remote-debugging-port=9222 --headless about:blankBoth paths are the same command engine. See Remote control for wren ctl, and
CDP and WebDriver BiDi for the standard automation tools.
Where to go
- New here? Read the overview on the architecture page for how a page owns its DOM, its WebAssembly instances, its requests and its timers, and how closing a tab tears all of it down in order.
- Writing a page in WebAssembly? The Web API reference lists every import, module by module, with its ABI.
- Automating Wren? Remote control and CDP.
- Curious how far it has come? Web platform conformance shows the WPT pass rate over time, with an honest caveat about the sample.
- Looking for a feature? The sidebar groups the features (the content blocker, media, accessibility, several windows, and more).
Contributing to the docs
Every page in this site is a Markdown file under docs/. How to write documentation explains the
format and how the site is generated.