Neon built a browser-based psql client available at psql.sh, born from an internal hackathon. Since browsers lack TCP stack access, it leverages Neon's existing WebSocket proxy and serverless driver to connect to Postgres. Each session gets an isolated database by instantly branching from a template using Neon's branching feature. The terminal UI was built from scratch rather than using xterm.js. Slash commands like \d are supported via a library also used in Neon's SQL Editor. The project is open-source, and the team is considering adding support for connecting to external databases and AI-powered SQL generation.

3m read timeFrom neon.com
Post cover image
Table of contents
It all started in a hackathon…But we can’t just connect to the database from the browser, right?What can the psql browser app do?How we built itNext steps: Help us decide
4 Impressions