https://github.com/codekeyz/libsqlite3_turso
Proxy for libsqlite3.so to Turso Database
https://github.com/codekeyz/libsqlite3_turso
globe libsql rust turso
Last synced: 4 months ago
JSON representation
Proxy for libsqlite3.so to Turso Database
- Host: GitHub
- URL: https://github.com/codekeyz/libsqlite3_turso
- Owner: codekeyz
- Created: 2025-08-05T15:37:16.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-08-21T12:13:17.000Z (4 months ago)
- Last Synced: 2025-08-21T13:37:35.009Z (4 months ago)
- Topics: globe, libsql, rust, turso
- Language: Rust
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libsqlite-turso
A rewrite for `libsqlite3.so` dynamic library that allows any SQLite client to seamlessly connect to [Turso](https://turso.tech/) or LibSQL databases — with zero client-side changes.
This project provides drop-in `libsqlite3.so` support with automatic strategy selection depending on runtime context.
## ✨ Features
- ✅ Works with **any SQLite client** that uses `libsqlite3.so`
- 🔁 Supports both `Http` & `Websocket` protocol for LibSQL
- 🔌 No custom SQLite client logic or [Hrana](https://github.com/tursodatabase/libsql/blob/main/docs/HRANA_3_SPEC.md) knowledge required
---
## 🔧 Setup
### 1. Build the custom `libsqlite3.so`
```bash
cargo build --release
```
### 2. Place `libsqlite3.so` in your system
This project assumes `libsqlite3.so` is available at runtime.
Place it in a standard library path (e.g., `/usr/lib`, or use `/usr/local/lib/`).
---
## 🚀 Usage
Use **any standard SQLite library** in your language/runtime — this project handles the dynamic strategy and connection logic under the hood.