Aller au contenu
#0119
CodeSqlite
NEW PRIMITIVE

Embed a SQL editor in your admin panel

Your admin dashboard needs a query tab. The product manager wants real autocomplete, syntax highlighting, query history: not a textarea with a Monaco wrapper you'll regret in six months. You don't want to build it, you don't want to ship a 4MB SQL Workbench bundle.

You drop an iframe. <iframe src="...code-1.../?folder=/queries&id=admin-42&extension=mtxr.sqltools&password=...">. VS Code loads in extension-only mode: no file explorer, no menu bar, just the SQLTools extension hooked to your hoody-sqlite database.

The extension owns its own settings, its own query history, its own connection string. Each admin user gets their own instance ID, their own history, their own state.

It's a SQL IDE, embedded, with zero packages added to your bundle.