Back to Daily Feed 
Datasette Lite: Full Python App Runs in Browser with WebAssembly
Must Read
Originally published on Simon Willison's Weblog by Simon Willison
View Original Article
Share this article:

Summary & Key Takeaways
- Datasette Lite has been rewritten to run the full server-side Python application in the browser.
- It utilizes WebAssembly, Pyodide, and service workers for this functionality.
- The browser-based version is now almost indistinguishable from the server-side application.
- Users can browse SQLite databases, JSON, CSV, or SQL scripts directly in the client.
- It supports loading specific Datasette versions, commits, or branches from GitHub.
- Users can select from over 100 SQLite versions and install additional Datasette plugins.
- The tool is ideal for linking to demos, work-in-progress features, or bug reproductions without a server.
Our Commentary
This is genuinely mind-blowing. Running a full server-side Python application like Datasette entirely in the browser with WebAssembly and service workers is a monumental achievement. It really pushes the boundaries of what the web platform can do. The ability to load specific versions and plugins via URL parameters makes it an incredible tool for demos and bug reproduction. I'm constantly amazed by the innovation happening in the Wasm space; it feels like we're just scratching the surface.
View Original Article
Share this article: