Index

Strapi in the Browser

An experiment that runs the Strapi headless CMS entirely in the browser on StackBlitz, with SQLite compiled to WebAssembly.

Client
Experiment
Year
2023
Discipline
Strapi in the Browser cover: the project name set in Google Sans on a white grid

Strapi normally needs a Node.js server and a database. This experiment runs it inside StackBlitz's in-browser runtime instead, using SQLite compiled to WebAssembly.

What it took

  • Adding @webassembly/sqlite3 as the database driver
  • Patching Strapi's SQLite dialect to disable RETURNING
  • A postinstall script and a seed database

Build and start work. Database initialisation and the develop command are still open problems.

Next project