Skip to content
AI Learning Ground Start learning

News ·

Running the full server-side Datasette Python app in the browser with service workers and Pyodide

Simon Willison rewrote Datasette Lite to run the full server-side Datasette Python app in the browser using Pyodide and service workers, supporting plugins, pinned Datasette versions, and over 100 SQLite versions via URLs.

Running the full server-side Datasette Python app in the browser with service workers and Pyodide
Image: Simon Willison

Simon Willison has released a complete rewrite of Datasette Lite, a browser-based port of his Datasette Python application built on WebAssembly and Pyodide. The new version is, in his words, almost indistinguishable from the real server-side application. Crafted URLs to lite.datasette.io can load a SQLite database, JSON file, CSV file, or SQL script, select a released Datasette version from PyPI, load a specific commit, tag, or branch from GitHub, pick from over 100 versions of SQLite, and install plugins from PyPI or wheel file URLs.

References

Read the full story at Simon Willison ↗Like, save or discuss on Buzz

#tooling #prompting