{"id":49850118,"url":"https://github.com/atilafassina/instant-postgres-skill","last_synced_at":"2026-05-14T15:05:10.385Z","repository":{"id":337647636,"uuid":"1148344612","full_name":"atilafassina/instant-postgres-skill","owner":"atilafassina","description":"Skill for claimable postgres provisioning","archived":false,"fork":false,"pushed_at":"2026-02-17T19:03:30.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-18T00:39:27.357Z","etag":null,"topics":["agent","postgres","serverless","skills"],"latest_commit_sha":null,"homepage":"https://pg.new","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atilafassina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-02T21:23:43.000Z","updated_at":"2026-02-17T19:04:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/atilafassina/instant-postgres-skill","commit_stats":null,"previous_names":["atilafassina/instant-postgres-skill"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atilafassina/instant-postgres-skill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Finstant-postgres-skill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Finstant-postgres-skill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Finstant-postgres-skill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Finstant-postgres-skill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atilafassina","download_url":"https://codeload.github.com/atilafassina/instant-postgres-skill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Finstant-postgres-skill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33030384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["agent","postgres","serverless","skills"],"created_at":"2026-05-14T15:05:07.132Z","updated_at":"2026-05-14T15:05:10.377Z","avatar_url":"https://github.com/atilafassina.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# instant-postgres\n\nInstant Postgres database provisioning via [Claimable Postgres by Neon](https://pg.new). No account required.\n\n## What is this?\n\nA toolkit for spinning up instant Postgres databases. Databases are available for 72 hours and can be claimed to a Neon account for permanent use.\n\n## Features\n\n- **Zero configuration** - Get a database with a single command\n- **No account required** - Start immediately, claim later if you want to keep it\n- **Multiple integration options** - CLI, SDK, Vite plugin, or REST API\n- **Seed support** - Initialize your database with a SQL file\n\n## Quick Start\n\n```bash\nnpx get-db\n```\n\nCreates a database and writes `DATABASE_URL` to `.env`.\n\n## Tools\n\n### CLI (`get-db`)\n\n```bash\nnpx get-db\n```\n\n**Options:**\n\n- `-y, --yes` - Skip prompts, use defaults\n- `-e, --env \u003cpath\u003e` - Target env file (default: `./.env`)\n- `-k, --key \u003cname\u003e` - Variable name (default: `DATABASE_URL`)\n- `-s, --seed \u003cpath\u003e` - SQL file to initialize the database\n- `-L, --logical-replication` - Enable logical replication (for ElectricSQL/TanStack DB)\n\n### SDK (`get-db/sdk`)\n\n```typescript\nimport { instantPostgres } from \"get-db/sdk\";\n\nconst db = await instantPostgres();\nconsole.log(db.connectionString);\n```\n\n### Vite Plugin (`vite-plugin-db`)\n\n```bash\nnpm install vite-plugin-db --save-dev\n```\n\n```typescript\n// vite.config.ts\nimport { defineConfig } from \"vite\";\nimport { postgres } from \"vite-plugin-db\";\n\nexport default defineConfig({\n  plugins: [postgres()],\n});\n```\n\nAutomatically provisions a database when you run `vite dev`.\n\n### REST API\n\nFor custom integrations or non-Node.js environments:\n\n```bash\ncurl -X POST https://pg.new/api/v1/database \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"ref\": \"my-app\"}'\n```\n\nReturns:\n\n```json\n{\n  \"id\": \"...\",\n  \"connection_string\": \"postgresql://...\",\n  \"claim_url\": \"https://pg.new/claim/...\",\n  \"expires_at\": \"...\"\n}\n```\n\nSee [references/api.md](./references/api.md) for full API documentation.\n\n## Database Specs\n\n| Spec             | Value                     |\n| ---------------- | ------------------------- |\n| Postgres Version | 17                        |\n| Region           | AWS us-east-2             |\n| SSL              | Required                  |\n| TTL              | 72 hours (unless claimed) |\n\n## Claiming Your Database\n\nDatabases expire after 72 hours. To keep one permanently:\n\n1. Find the claim URL in the CLI output or `.env` file (`PUBLIC_CLAIM_URL`)\n2. Visit the URL to attach the database to your Neon account\n3. Manage it from the [Neon Console](https://console.neon.tech)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatilafassina%2Finstant-postgres-skill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatilafassina%2Finstant-postgres-skill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatilafassina%2Finstant-postgres-skill/lists"}