back to home

supabase / wrappers

Postgres Foreign Data Wrapper development framework in Rust.

View on GitHub
830 stars
98 forks
28 issues
RustShellPython

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing supabase/wrappers in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/supabase/wrappers)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Wrappers is a development framework for Postgres Foreign Data Wrappers (FDW), written in Rust. Its goal is to make Postgres FDW development easier while keeping Rust language's modern capabilities, such as high performance, strong types, and safety. is also a collection of FDWs built by Supabase. We currently support the following FDWs, with more under development: | FDW | Description | Read | Modify | | ----------------------------------------------- | ----------------------------------------------------------------------------- | ---- | ------ | | AWS Cognito | A FDW for AWS Cognito | ✅ | ❌ | | Airtable | A FDW for Airtable API | ✅ | ❌ | | Apache Iceberg| A FDW for Apache Iceberg | ✅ | ❌ | | Auth0 | A FDW for Auth0 | ✅ | ❌ | | BigQuery | A FDW for Google BigQuery | ✅ | ✅ | | Calendly | A Wasm FDW for Calendly | ✅ | ❌ | | Cal.com | A Wasm FDW for Cal.com | ✅ | ❌ | | Clerk | A Wasm FDW for Clerk | ✅ | ❌ | | Clickhouse | A FDW for ClickHouse | ✅ | ✅ | | Cloudflare D1 | A Wasm FDW for Cloudflare D1 | ✅ | ✅ | | DuckDB | A FDW for DuckDB | ✅ | ❌ | | Firebase | A FDW for Google Firebase | ✅ | ❌ | | HelloWorld | A demo FDW to show how to develop a basic FDW. | | | | HubSpot | A Wasm FDW for HubSpot | ✅ | ❌ | | Infura | A Wasm FDW for Infura blockchain data | ✅ | ❌ | | Logflare | A FDW for Logflare | ✅ | ❌ | | Notion | A Wasm FDW for Notion | ✅ | ❌ | | OpenAPI | A Wasm FDW for any OpenAPI 3.0+ REST API | ✅ | ❌ | | Orb | A Wasm FDW for Orb | ✅ | ❌ | | Paddle | A Wasm FDW for Paddle | ✅ | ✅ | | Redis | A FDW for Redis | ✅ | ❌ | | S3 | A FDW for AWS S3 | ✅ | ❌ | | S3 Vectors | A FDW for AWS S3 Vectors | ✅ | ✅ | | SQL Server | A FDW for Microsoft SQL Server | ✅ | ❌ | | Slack | A Wasm FDW for Slack | ✅ | ❌ | | Snowflake | A Wasm FDW for Snowflake | ✅ | ✅ | | Stripe | A FDW for Stripe API | ✅ | ✅ | Warning Restoring a logical backup of a database with a materialized view using a foreign table can fail. For this reason, either do not use foreign tables in materialized views or use them in databases with physical backups enabled. Features • Minimum interface and easy to implement. • Support for rich data types. • Support both sync and async backends, such as RDBMS, RESTful APIs, flat files and etc. • Built on top of pgrx, providing higher level interfaces, without hiding lower-level C APIs. • , , pushdown are supported. Documentation • Usage Docs • Developer Docs (docs.rs) Installation is a pgrx extension, you can follow the pgrx installation steps to install Wrappers. Basically, run below command to install FDW after is installed. For example, Developing a FDW Visit Wrappers Docs for more details. License Apache License Version 2.0