You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A dynamic strategy wrapper for `libsqlite3.so` that allows any SQLite client to seamlessly connect to [Turso](https://turso.tech/) databases — with zero client-side changes.
4
+
5
+
This project provides drop-in `libsqlite3.so` support with automatic strategy selection depending on runtime context.
6
+
7
+
## ✨ Features
8
+
9
+
- ✅ Works with **any SQLite client** that uses `libsqlite3.so`
10
+
- 🔁 Automatically picks between strategies:
11
+
-**`EnvVarStrategy`** — for general use outside Globe
12
+
-**`GlobeStrategy`** — for auto-authenticated execution inside a Globe edge function
13
+
- 🔌 No custom SQLite client logic or HRANA knowledge required
14
+
15
+
---
16
+
17
+
## 🔧 Setup
18
+
19
+
### 1. Build the custom `libsqlite3.so`
20
+
21
+
```bash
22
+
cargo build --release
23
+
```
24
+
25
+
### 1. Place `libsqlite3.so` in your system
26
+
27
+
This project assumes `libsqlite3.so` is available at runtime.
28
+
29
+
Place it in a standard library path (e.g., `/usr/lib`, or use `/usr/local/lib/`).
30
+
31
+
---
32
+
33
+
## 🚀 Usage
34
+
35
+
Use **any standard SQLite library** in your language/runtime — this project handles the dynamic strategy and connection logic under the hood.
36
+
37
+
The strategy is selected automatically:
38
+
39
+
### 🌍 `GlobeStrategy` (used when running in Globe)
0 commit comments