{"id":50927563,"url":"https://github.com/f0rr0/oliphaunt","last_synced_at":"2026-06-17T00:31:43.512Z","repository":{"id":317921808,"uuid":"1065059114","full_name":"f0rr0/oliphaunt","owner":"f0rr0","description":"Embedded Postgres inside your apps and tests. No Docker, Node.js, or server. As easy as SQLite.","archived":false,"fork":false,"pushed_at":"2026-06-12T00:18:53.000Z","size":24026,"stargazers_count":76,"open_issues_count":5,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-12T01:19:20.331Z","etag":null,"topics":["pglite","postgres","rust","wasm"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f0rr0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T01:50:23.000Z","updated_at":"2026-06-11T06:10:10.000Z","dependencies_parsed_at":"2025-10-03T23:09:36.511Z","dependency_job_id":"1dde336b-0915-4db3-a1d5-035db3397fe5","html_url":"https://github.com/f0rr0/oliphaunt","commit_stats":null,"previous_names":["f0rr0/pglite-oxide","f0rr0/oliphaunt"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/f0rr0/oliphaunt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Foliphaunt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Foliphaunt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Foliphaunt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Foliphaunt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f0rr0","download_url":"https://codeload.github.com/f0rr0/oliphaunt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Foliphaunt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34429491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"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":["pglite","postgres","rust","wasm"],"created_at":"2026-06-17T00:31:42.879Z","updated_at":"2026-06-17T00:31:43.504Z","avatar_url":"https://github.com/f0rr0.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/pglite-oxide.png\" alt=\"pglite-oxide logo\" width=\"360\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003epglite-oxide\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eEmbedded Postgres for Rust tests and local apps.\u003c/strong\u003e\u003cbr\u003e\n  Real PostgreSQL. Instant testing. Packaged runtime. Direct Rust API or a local Postgres URL.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/blob/main/docs/USAGE.md\"\u003eUsage\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/blob/main/docs/PERFORMANCE.md\"\u003ePerformance\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/blob/main/docs/EXTENSIONS.md\"\u003eExtensions\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/blob/main/docs/PG_DUMP.md\"\u003eDump \u0026 Upgrade\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/blob/main/docs/TESTING.md\"\u003eTesting\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/blob/main/docs/TAURI.md\"\u003eTauri\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/f0rr0/pglite-oxide/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/pglite-oxide\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/pglite-oxide.svg\" alt=\"crates.io\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://docs.rs/pglite-oxide\"\u003e\u003cimg src=\"https://docs.rs/pglite-oxide/badge.svg\" alt=\"docs.rs\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.rust-lang.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/msrv-1.92-blue\" alt=\"MSRV\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/f0rr0/pglite-oxide#license\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT%20AND%20Apache--2.0%20AND%20PostgreSQL-blue\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n`pglite-oxide` brings PGlite/Postgres to Rust with a small API. Open a database\ndirectly with `Pglite`, or hand `PgliteServer` to SQLx and any standard\nPostgres client. The packaged runtime is PostgreSQL 17.5. No local Postgres\ninstall, no Docker, no runtime build toolchain.\n\n## Add Postgres In One Minute ⚡\n\nAlready using SQLx or another Postgres client? Add the crate and point your\nclient at an embedded database URL:\n\n```sh\ncargo add pglite-oxide\n```\n\n```rust,no_run\nuse pglite_oxide::PgliteServer;\nuse sqlx::{Connection, Row};\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let server = PgliteServer::temporary_tcp()?;\n    // For a persistent TCP server:\n    // let server = PgliteServer::builder().path(\"./.pglite\").start()?;\n    let mut conn = sqlx::PgConnection::connect(\u0026server.database_url()).await?;\n\n    let row = sqlx::query(\"SELECT $1::int4 + 1 AS answer\")\n        .bind(41_i32)\n        .fetch_one(\u0026mut conn)\n        .await?;\n    assert_eq!(row.try_get::\u003ci32, _\u003e(\"answer\")?, 42);\n\n    conn.close().await?;\n    server.shutdown()?;\n    Ok(())\n}\n```\n\nThat's it. Real PostgreSQL, no service setup.\n\n## Why pglite-oxide ✨\n\nPostgres should be as easy to add to a Rust project as SQLite.\n\n- ⚡ **No service tax**: no Docker, no local Postgres, no testcontainers.\n- 🔌 **Use your real stack**: SQLx, `tokio-postgres`, CLIs, and other clients\n  connect through a normal local URL.\n- 🌉 **Proxy included**: expose an embedded database to non-Rust tools with\n  `pglite-proxy`.\n- 🧪 **Clean tests**: temporary databases are isolated, fast, and removed on\n  drop.\n- 💾 **Persistent apps**: keep local app data across restarts when you want it.\n- 🧩 **Extensions included**: `pgvector`, `pg_trgm`, `hstore`, `citext`, and\n  more.\n- 📦 **Portable dumps**: use bundled `pg_dump` for logical backups and upgrade\n  paths.\n- 🚀 **Near-native feel**: close to native Postgres, fully embedded.\n\n## Near-Native Performance 🚀\n\nCurrent local snapshot on `Apple M1 Pro`, `16 GB RAM`, and `macOS 26.4.1`.\nFull numbers and reproduction steps live in the\n[performance guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/PERFORMANCE.md). Lower is better.\n\n| Operation | native pg + SQLx | pglite-oxide + SQLx | vanilla PGlite + SQLx |\n|---|---:|---:|---:|\n| 25,000 INSERTs in one transaction | 132.36 ms | 149.54 ms | 257.02 ms |\n| 25,000 INSERTs in one statement | 46.14 ms | 59.39 ms | 117.19 ms |\n| 25,000 INSERTs into an indexed table | 188.72 ms | 253.38 ms | 352.64 ms |\n| 5,000 indexed SELECTs | 81.39 ms | 125.31 ms | 203.05 ms |\n| 25,000 indexed UPDATEs | 351.05 ms | 578.96 ms | 720.63 ms |\n\n`pglite-oxide` stays close to native Postgres while running entirely embedded\nand consistently performs better than vanilla PGlite.\n\n## Extensions 🧩\n\nBundled extensions are supported, including `pgvector`, `pg_trgm`, `hstore`,\n`citext`, `ltree`, and more. See the\n[extensions guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/EXTENSIONS.md)\nfor the full catalog and usage details.\n\n```rust,no_run\nuse pglite_oxide::{extensions, PgliteServer};\nuse sqlx::Connection;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let server = PgliteServer::builder()\n        .path(\"./.pglite\")\n        .extension(extensions::VECTOR)\n        .start()?;\n    let mut conn = sqlx::PgConnection::connect(\u0026server.database_url()).await?;\n\n    sqlx::query(\"CREATE TABLE IF NOT EXISTS items (embedding vector(3))\")\n        .execute(\u0026mut conn)\n        .await?;\n    sqlx::query(\"INSERT INTO items VALUES ('[1,2,3]')\")\n        .execute(\u0026mut conn)\n        .await?;\n\n    conn.close().await?;\n    server.shutdown()?;\n    Ok(())\n}\n```\n\n## Docs\n\n- [Usage guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/USAGE.md)\n- [Extensions](https://github.com/f0rr0/pglite-oxide/blob/main/docs/EXTENSIONS.md)\n- [Performance guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/PERFORMANCE.md)\n- [Dump and upgrade guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/PG_DUMP.md)\n- [Testing guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/TESTING.md)\n- [Tauri usage](https://github.com/f0rr0/pglite-oxide/blob/main/docs/TAURI.md)\n- [Runtime guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/RUNTIME.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0rr0%2Foliphaunt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff0rr0%2Foliphaunt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0rr0%2Foliphaunt/lists"}