Frappe in the browser
A complete Frappe site in your browser
Learn how to use it, host it, customize it, and understand the WebAssembly runtime underneath.
No backend to provision
Frappe, SQLite, and the WSGI request loop execute locally in a Pyodide Web Worker.
Isolated playgrounds
Create multiple named sites. Each keeps its database, cookies, uploaded files, and installed-app list in its own IndexedDB database.
Static hosting
The production output is a static directory. Serve it over HTTPS with the required cross-origin isolation headers.
Reproducible demos
Use URL parameters to create a named playground, install supported apps, complete onboarding, sign in, and open a specific route.
What is Frappe Playground?
Frappe Playground runs a prepared Frappe Framework site entirely inside a browser tab. The page shell is a Vue application, Python executes through Pyodide, Frappe uses SQLite, and a Service Worker makes the in-browser WSGI application look like a normal same-origin website.
It is designed for experiments, demos, learning, and compatibility work. It is not a hosted Bench, and it does not provide a Redis service, background workers, Socket.IO realtime events, remote persistence, or server-side backups.
Choose a path
- Use the playground to create sites, install supported apps, and automate a demo with URL parameters.
- Host your own copy to build the runtime and publish it on Cloudflare Pages or another capable static host.
- Customize it to change branding, runtime configuration, Frappe, or the curated app catalog.
- Understand the internals to follow boot, routing, persistence, and cross-worker messages end to end.
- Contribute to work locally and run the repository’s verification suites.
Experimental
Important data should live elsewhere. Browser site data is the only persistence layer, and clearing it deletes playground instances.