nano-supabase

Emulate Supabase auth, storage, and database in browsers and edge runtimes.

8|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/filipecabaco/nano-supabase --skill nano-supabase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-supabase
Source: https://github.com/filipecabaco/nano-supabase/tree/main
Command: npx skills add https://github.com/filipecabaco/nano-supabase --skill nano-supabase

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @electric-sql/pglite, postgrest-parser, uuid-ossp, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables developers to run a fully functional, in-process Supabase-compatible environment in browsers and edge runtimes without external dependencies.

Core Features & Use Cases

  • Local API Emulation: Provides authentication, storage, and database features identical to remote Supabase.
  • Edge Runtime Compatibility: Supports Node.js, Deno, Bun, browsers, and cloud edge environments.
  • Use Case: A developer tests serverless applications with offline-first data, seamless auth flows, and local REST API interactions without network latency.

Quick Start

Ask the AI to set up a local database with user auth and storage by providing the createClient() instruction and data configuration.

Frequently Asked Questions about nano-supabase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I emulate Supabase locally in the browser for offline development?

You can emulate Supabase locally using WebAssembly and PGlite to run an in-process PostgreSQL environment, providing local API emulation for auth, storage, and database access directly in your browser without external dependencies.

Can I use local Supabase emulation in edge runtimes like Deno or Bun?

Yes, local Supabase emulation supports cross-runtime environments including Node.js, Deno, Bun, browsers, and cloud edge platforms, allowing you to test serverless applications with offline-first data and seamless auth flows.

What's the best way to test serverless applications with offline-first Supabase auth and storage?

The best way is setting up an in-browser Supabase emulation using PGlite, which manages API routing, connection pooling, and schema initialization to facilitate local REST API interactions without network latency.

Does WebAssembly-based Supabase emulation support PostgreSQL extensions?

Yes, the WebAssembly-based emulation using PGlite supports flexible extension support and schema initialization with strong validation, enabling comprehensive database features identical to remote Supabase environments.

How do I set up a local database with user auth and storage using in-process PostgreSQL?

You can set up a local database by providing the createClient instruction and data configuration to the AI, which initializes the PGlite schema, manages connection pooling, and configures auth and storage APIs.

Why do I need WebAssembly for local Supabase API emulation instead of a mock server?

WebAssembly with PGlite provides a fully functional, in-process PostgreSQL environment rather than simple mocks, enabling actual database access, strong schema validation, and accurate REST API interactions identical to remote Supabase.