matou9 / postgres-new

TEXT2SQL 针对postgres的文本转SQL

Home Page:https://postgres.new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postgres.new

In-browser Postgres sandbox with AI assistance.

github-repo-hero

With postgres.new, you can instantly spin up an unlimited number of Postgres databases that run directly in your browser (and soon, deploy them to S3).

Each database is paired with a large language model (LLM) which opens the door to some interesting use cases:

  • Drag-and-drop CSV import (generate table on the fly)
  • Generate and export reports
  • Generate charts
  • Build database diagrams

How it works

All queries in postgres.new run directly in your browser. There’s no remote Postgres container or WebSocket proxy.

How is this possible? PGlite, a WASM version of Postgres that can run directly in your browser. Every database that you create spins up a new instance of PGlite that exposes a fully-functional Postgres database. Data is stored in IndexedDB so that changes persist after refresh.

Monorepo

This is a monorepo split into the following projects:

Video

image

License

Apache 2.0

About

TEXT2SQL 针对postgres的文本转SQL

https://postgres.new

License:Apache License 2.0


Languages

Language:TypeScript 73.1%Language:JavaScript 17.9%Language:CSS 8.2%Language:Dockerfile 0.4%Language:Shell 0.4%