A complete dev environment, in a tab
npm install, the real dev server, hot reload, a database and git, all in the visitor's browser. Frameworks run unmodified, and there is no machine per user to provision.
Run a Vite app. A real Vite dev server in the box, with hot reload.
The whole loop, not just a preview.
- 01
Install
npm install downloads real packages from the registry into the box. Ship a snapshot with node_modules to skip it.
- 02
Run
The framework's own dev server starts in the box. Its port shows in an iframe on your page, with hot reload.
- 03
Store and ship
Postgres (PGlite) and a Supabase-compatible API run next to the app. git clones, commits and pushes to any remote.
The frameworks your agent reaches for.
Unmodified: the real CLIs from npm, the real dev servers, hot reload included. 7 run on lifo.sh today; the rest work on Lifo's main line and ship with the next release.
What works in each, with an example to open
- Vite 6 and 7Web
React and TypeScript apps: npm install, the dev server with hot reload, vite build.
Runs todaytry it → - Vite 8Web
create-vite as on your machine, with Rolldown and Oxc running as WebAssembly with threads.
Comingnext release - Next.js 16Web
App Router: server and client components, route handlers the page calls, Fast Refresh, create-next-app with Tailwind. Webpack with SWC's WebAssembly build (Turbopack is native only).
Comingnext release - TanStack StartWeb
File routes, server functions, server rendering, hydration and HMR. The TanStack CLI scaffolds an app 1:1.
Comingnext release - Express and Node serversWeb
http, Express and other Node servers, reachable from the preview and from curl in the box.
Runs todaytry it → - Expo and React NativeMobile
Expo, Expo Router and create-expo-app (SDK 54 and 57) as live web previews; open them on a phone with Expo Go.
Runs todaytry it → - Supabase (tinbase)Data
supabase start runs a Supabase-compatible API (auth, REST, storage) on Postgres, Studio included.
Runs todaytry it → - Postgres (PGlite)Data
Postgres compiled to WebAssembly, queried from Node code in the box.
Runs todaytry it → - Python 3Languages
CPython on WebAssembly (Pyodide) with pip, reading and writing the box's files.
Runs todaytry it → - GitTools
Clone, commit, push and pull, against GitHub or any remote.
Runs todaytry it → - Linux packages: Alpine, Debian, NixTools
apk add, apt install and nix run in the box: real Alpine, Debian and nixpkgs programs working on the box's files, in a Linux kernel compiled to WebAssembly that starts only when one is used. Natively in Debian containers and where Nix is installed.
Comingnext release - Bun's CLITools
bun install, run, x, create and init on the box's npm and node. Bun's own APIs (Bun.serve, bun:sqlite) aren't there yet.
Comingnext release - Claude CodeAgents
Anthropic's coding agent (its last JavaScript release): the terminal UI, its Bash tool and file edits run in the box.
Comingnext release
Know before you build
Lifo runs JavaScript and WebAssembly, not Linux binaries. Packages with native addons load only where Lifo ships a WebAssembly stand-in (esbuild, SWC, Rollup's parser, Tailwind's oxide). Node.js is a compatibility layer, so some packages will not run. Limitations
Next.js, TanStack Start, Vite 8 and Bun's CLI work on Lifo's main line and ship with the next release.
Other things the same box does.
> The cart total is wrong. Fix it.
⏺ bash(npm test)
⎿ 1 failed, 12 passed
⏺ bash(grep -n total src/cart.ts)
⏺ edit(src/cart.ts)
⏺ bash(npm test)
⎿ 13 passed
Bash for agents
Give the model one bash tool backed by a Lifo box. If your agent is in JavaScript you need nothing else: Lifo is an import that runs in your Node.js API routes.
$ npm i -g @anthropic-ai/claude-code@2.1.112
$ claude
> add a /health route
⏺ Bash(ls src)
⏺ Update(src/server.js)
Claude Code in the browserComing
Anthropic's Claude Code runs in a box: its terminal UI, its Bash tool and its file edits, with nothing installed on the machine.
$ browser open news.ycombinator.com
✓ Hacker News
$ browser state
[1] new [2] past
$ browser click 1
Browser-use agents
Firefox, compiled to WebAssembly, runs next to the box. An agent opens pages, reads them and clicks, all inside the tab.
$ desktop snap firefox left
$ desktop windows --json
Desktop and computer usePreview
Lifo Desktop is a full desktop in a tab. Its windows and apps are scriptable through one API and a desktop command.