
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@papi-ai/adapter-pg
Advanced tools
PAPI PostgreSQL adapter — read/write shared layer entities in PostgreSQL
PostgreSQL adapter for PAPI. Reads and writes project data to a Supabase-hosted PostgreSQL database.
This adapter implements the PapiAdapter interface using PostgreSQL (via Supabase) as the storage backend. It's the recommended adapter for hosted/production usage — all data is stored in the database with Row Level Security (RLS) for multi-tenant isolation.
npm install @papi/adapter-pg
This adapter is bundled into @papi/server — install separately only if building custom tooling.
Set these environment variables to connect to your Supabase instance:
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | PostgreSQL connection string |
PAPI_PROJECT_ID | Yes | UUID identifying your project in the database |
MIT
FAQs
PAPI PostgreSQL adapter — read/write shared layer entities in PostgreSQL
The npm package @papi-ai/adapter-pg receives a total of 102 weekly downloads. As such, @papi-ai/adapter-pg popularity was classified as not popular.
We found that @papi-ai/adapter-pg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.