# Postgres in the Browser

> Runs a real Postgres database in the browser, Node or your tests with PGlite, including vector search.

- Page: https://youraiskill.com/skill/terminalskills-pglite
- What it does: PGlite is Postgres compiled to WebAssembly: a real Postgres 18 database that runs inside the browser, Node.js, Bun or Deno with no server, in-memory or persisted to IndexedDB or a folder. Use when someone asks to "run Postgres in the browser", "embed Postgres in an app", "use PGlite", "local-first database", "Postgres for tests without Docker", or "vector search in the browser". Covers install, persistence, pgvector, live queries, workers, and upgrades between versions.
- Niches: backend, frontend, testing
- Licence: Apache-2.0
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (2 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
