Skip to content

indigoai-us/snoopgres

Repository files navigation

snoopgres

Just database. CLI-first managed Postgres that replaces Neon and Supabase.

No dashboard. No bloat. No 47-tab web console. You get a connection string and you get to work.

Why snoopgres

  • One command to provision a database: snoopgres create mydb
  • CLI-native -- every operation works from your terminal
  • Agent-friendly -- MCP server and structured JSON output for AI agents
  • Affordable -- $3/mo starter, $12/mo pro. Free tier with no credit card.
  • Zero config backups -- automatic snapshots, one-command restore

Quick Start

npx snoopgres signup --email you@example.com --password ********
npx snoopgres create mydb
# => postgres://user:pass@fly-host:5432/mydb

npx snoopgres connect mydb
# => opens psql

Packages

Package Description
snoopgres CLI -- the primary interface
@snoopgres/api API server -- manages provisioning, auth, billing
@snoopgres/sdk TypeScript SDK for programmatic usage
@snoopgres/shared Shared types and utilities

Development

pnpm install
pnpm typecheck
pnpm lint

Architecture

snoopgres provisions Postgres instances on Fly.io Machines. The API handles auth, metadata, and orchestration. The CLI talks to the API. The SDK wraps the API for TypeScript consumers. AI agents connect via MCP or structured skill invocation.

CLI / SDK / MCP
      |
  snoopgres API
      |
  Fly.io Machines (Postgres)
      |
  Cloudflare R2 (snapshots)

License

MIT

About

SnoopGres — PostgreSQL introspection and schema analysis tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages