{"id":21100732,"url":"https://github.com/neondatabase-labs/psqlsh","last_synced_at":"2025-07-01T04:08:40.281Z","repository":{"id":263024407,"uuid":"862257418","full_name":"neondatabase-labs/psqlsh","owner":"neondatabase-labs","description":"psql.sh - browser native PostgreSQL command line client","archived":false,"fork":false,"pushed_at":"2025-01-22T08:20:20.000Z","size":3623,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-03T15:15:01.929Z","etag":null,"topics":["neondb","postgresql","psql"],"latest_commit_sha":null,"homepage":"https://psql.sh","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neondatabase-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-24T09:51:01.000Z","updated_at":"2025-03-18T03:49:23.000Z","dependencies_parsed_at":"2024-12-24T16:19:47.597Z","dependency_job_id":"63a94b51-1e10-459e-aa44-25df41d05ff6","html_url":"https://github.com/neondatabase-labs/psqlsh","commit_stats":null,"previous_names":["neondatabase-labs/psqlsh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neondatabase-labs/psqlsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase-labs%2Fpsqlsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase-labs%2Fpsqlsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase-labs%2Fpsqlsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase-labs%2Fpsqlsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neondatabase-labs","download_url":"https://codeload.github.com/neondatabase-labs/psqlsh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase-labs%2Fpsqlsh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262893665,"owners_count":23380712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neondb","postgresql","psql"],"created_at":"2024-11-19T23:28:26.385Z","updated_at":"2025-07-01T04:08:40.244Z","avatar_url":"https://github.com/neondatabase-labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"250px\" src=\"https://neon.tech/brand/neon-logo-dark-color.svg\" /\u003e\n\n# [psql.sh](https://psql.sh) - browser native PostgreSQL command line client\n\nThis project gives you a browser-native, psql-like experience for working with a Postgres database, without having to install anything.\n\nCheck out the demo video:\n\nhttps://www.loom.com/share/17743bb0cc55445a84e6138a43a2557f?sid=2ba5854b-1ecd-4e86-9a4c-b76b997379b6\n\n## Start\nFirst, pick a dataset to work with. You can start with an empty database or choose one of these sample datasets:\n\n- **Chinook**. A sample database representing a digital media store.\n- **Pokemon**. A dataset with a single table containing information about Pokemon.\n- **Netflix**. A dataset with a single table containing information about Netflix shows.\n- **pgrag**. A demo database for the \u003ca href=\"https://neon.tech/docs/extensions/pgrag\" target=\"_blank\"\u003epgrag\u003c/a\u003e extension. It contains two tables: `docs` and `embeddings`. The `docs` table contains text from PGConfEU presentations and the `embeddings` table contains chunks and their embedding vectors.\n\nMake your selection and watch as your database spins up in real-time — don't blink!\n\nOnce created, you can execute any queries you want. Feel free to explore, experiment, and run as many queries as you'd like. You can't break anything, as this is a temporary database and will be destroyed after you leave the page or stay inactive for several minutes.\n\n## Features\n\n- No installation required\n- Supports most psql backslash commands (inspection commands)\n- Instant database spin-up with each session\n- AI-powered SQL generation:\n    - Type `\\ai \u003cyour query description\u003e` to get a SQL query generated for you\n    - Example: `\\ai find all pokemons`, `\\ai create a \"users\" table with two columns: \"id\" and \"name\"`\n\n## How does it work\n\nThis project is powered by \u003ca href=\"https://neon.tech\" target=\"_blank\"\u003eNeon\u003c/a\u003e. It leverages Neon's instant branching feature to create a new database for each session. Database connections are handled using the [Neon serverless driver](https://github.com/neondatabase/serverless).\n\n## Disclaimer\n\nThis project is in its early stages, some issues may occur. If you find a bug, please report it in the issues section.\n\nAlso, note that this project is not intended as a direct replacement for psql, but instead provides a similar experience in the browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneondatabase-labs%2Fpsqlsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneondatabase-labs%2Fpsqlsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneondatabase-labs%2Fpsqlsh/lists"}