tursodatabase/tursoPublic

A SQL database in Rust: SQLite-compatible, now also speaking Postgres (experimental). The LLVM of databases.

AI summary: An edge-hosted, globally distributed SQL database built on libSQL, compatible with SQLite.

Stars
25.3K
+33 today
Forks
1.6K
Watchers
98
Open issues
1.3K
Open PRs
302
Contributors
~392
Commits
23.3K
Branches
1.1K
Views (30d)
5

RustMITCreated Aug 26, 2023Last push todayLatest release v0.8.3+63 stars this week+391 this month

Quick answers

What is turso?
An edge-hosted, globally distributed SQL database built on libSQL, compatible with SQLite.
What does turso do?
Turso is a highly performant, in-process SQL database engineered to bring data physically closer to application users for ultra-low latency execution. Built natively in Rust as a sophisticated fork of SQLite (libSQL), it merges the unparalleled developer experience of a local database with the immense scale of a globally distributed system. Turso automatically and transparently replicates data across dozens of edge regions, ensuring read queries execute in single-digit milliseconds. Furthermore, it acts as an extensible virtual machine, successfully hosting multiple SQL dialects including an experimental Postgres frontend over its unified core.
Who is turso for?
Turso is ideal for full-stack developers, edge computing engineers, and systems architects aiming to build globally responsive applications. It requires familiarity with SQL concepts and modern serverless or edge deployment architectures.
How do I get started with turso?
Please refer to the official repository bindings to install the SDK for your preferred language.
How popular is turso on GitHub?
tursodatabase/turso has 25,302 stars and 1,561 forks on GitHub, and gained 63 stars in the last 7 days.
What license does turso use?
tursodatabase/turso is released under the MIT license.

Star history

since Jul 29, 2026
010K20KJul 2026Sep 2026Oct 2026Nov 2026
25.3K stars as of Nov 20, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Update history

2 recorded
  • Oct 18, 2026New release v0.8.3 (previously v0.8.2).
  • Oct 9, 2026New release v0.8.2 (previously v0.8.1).

Contribution activity

commits per day, last 52 weeks
NovDecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-11-23: 37 commits2025-11-24: 20 commits2025-11-25: 19 commits2025-11-26: 33 commits2025-11-27: 29 commits2025-11-28: 28 commits2025-11-29: 7 commits2025-11-30: 11 commits2025-12-01: 19 commits2025-12-02: 39 commits2025-12-03: 56 commits2025-12-04: 42 commits2025-12-05: 41 commits2025-12-06: 13 commits2025-12-07: 8 commits2025-12-08: 45 commits2025-12-09: 37 commits2025-12-10: 72 commits2025-12-11: 52 commits2025-12-12: 20 commits2025-12-13: 17 commits2025-12-14: 14 commits2025-12-15: 49 commits2025-12-16: 32 commits2025-12-17: 57 commits2025-12-18: 60 commits2025-12-19: 40 commits2025-12-20: 12 commits2025-12-21: 35 commits2025-12-22: 44 commits2025-12-23: 68 commits2025-12-24: 21 commits2025-12-25: 22 commits2025-12-26: 48 commits2025-12-27: 17 commits2025-12-28: 22 commits2025-12-29: 18 commits2025-12-30: 49 commits2025-12-31: 17 commits2026-01-01: 20 commits2026-01-02: 49 commits2026-01-03: 69 commits2026-01-04: 22 commits2026-01-05: 66 commits2026-01-06: 39 commits2026-01-07: 65 commits2026-01-08: 66 commits2026-01-09: 71 commits2026-01-10: 25 commits2026-01-11: 29 commits2026-01-12: 28 commits2026-01-13: 67 commits2026-01-14: 76 commits2026-01-15: 69 commits2026-01-16: 73 commits2026-01-17: 40 commits2026-01-18: 97 commits2026-01-19: 135 commits2026-01-20: 65 commits2026-01-21: 68 commits2026-01-22: 91 commits2026-01-23: 56 commits2026-01-24: 34 commits2026-01-25: 24 commits2026-01-26: 64 commits2026-01-27: 43 commits2026-01-28: 64 commits2026-01-29: 32 commits2026-01-30: 29 commits2026-01-31: 19 commits2026-02-01: 10 commits2026-02-02: 17 commits2026-02-03: 13 commits2026-02-04: 43 commits2026-02-05: 51 commits2026-02-06: 59 commits2026-02-07: 47 commits2026-02-08: 8 commits2026-02-09: 86 commits2026-02-10: 72 commits2026-02-11: 65 commits2026-02-12: 79 commits2026-02-13: 74 commits2026-02-14: 57 commits2026-02-15: 77 commits2026-02-16: 125 commits2026-02-17: 70 commits2026-02-18: 93 commits2026-02-19: 119 commits2026-02-20: 52 commits2026-02-21: 62 commits2026-02-22: 14 commits2026-02-23: 62 commits2026-02-24: 103 commits2026-02-25: 67 commits2026-02-26: 82 commits2026-02-27: 54 commits2026-02-28: 3 commits2026-03-01: 3 commits2026-03-02: 21 commits2026-03-03: 31 commits2026-03-04: 21 commits2026-03-05: 19 commits2026-03-06: 35 commits2026-03-07: 35 commits2026-03-08: 39 commits2026-03-09: 34 commits2026-03-10: 43 commits2026-03-11: 106 commits2026-03-12: 41 commits2026-03-13: 55 commits2026-03-14: 40 commits2026-03-15: 25 commits2026-03-16: 47 commits2026-03-17: 29 commits2026-03-18: 7 commits2026-03-19: 6 commits2026-03-20: 9 commits2026-03-21: 5 commits2026-03-22: 5 commits2026-03-23: 22 commits2026-03-24: 28 commits2026-03-25: 22 commits2026-03-26: 30 commits2026-03-27: 27 commits2026-03-28: 15 commits2026-03-29: 5 commits2026-03-30: 31 commits2026-03-31: 36 commits2026-04-01: 34 commits2026-04-02: 26 commits2026-04-03: 8 commits2026-04-04: 11 commits2026-04-05: 1 commit2026-04-06: 31 commits2026-04-07: 40 commits2026-04-08: 27 commits2026-04-09: 54 commits2026-04-10: 27 commits2026-04-11: 2 commits2026-04-12: 3 commits2026-04-13: 30 commits2026-04-14: 33 commits2026-04-15: 23 commits2026-04-16: 37 commits2026-04-17: 32 commits2026-04-18: 15 commits2026-04-19: 24 commits2026-04-20: 29 commits2026-04-21: 69 commits2026-04-22: 59 commits2026-04-23: 29 commits2026-04-24: 33 commits2026-04-25: 4 commits2026-04-26: 20 commits2026-04-27: 19 commits2026-04-28: 34 commits2026-04-29: 36 commits2026-04-30: 22 commits2026-05-01: 16 commits2026-05-02: 11 commits2026-05-03: 11 commits2026-05-04: 40 commits2026-05-05: 24 commits2026-05-06: 13 commits2026-05-07: 27 commits2026-05-08: 13 commits2026-05-09: 3 commits2026-05-10: 25 commits2026-05-11: 29 commits2026-05-12: 28 commits2026-05-13: 27 commits2026-05-14: 25 commits2026-05-15: 27 commits2026-05-16: 13 commits2026-05-17: 1 commit2026-05-18: 25 commits2026-05-19: 36 commits2026-05-20: 35 commits2026-05-21: 16 commits2026-05-22: 17 commits2026-05-23: 0 commits2026-05-24: 7 commits2026-05-25: 20 commits2026-05-26: 24 commits2026-05-27: 32 commits2026-05-28: 32 commits2026-05-29: 15 commits2026-05-30: 0 commits2026-05-31: 1 commit2026-06-01: 15 commits2026-06-02: 30 commits2026-06-03: 9 commits2026-06-04: 25 commits2026-06-05: 24 commits2026-06-06: 2 commits2026-06-07: 5 commits2026-06-08: 30 commits2026-06-09: 37 commits2026-06-10: 27 commits2026-06-11: 46 commits2026-06-12: 21 commits2026-06-13: 4 commits2026-06-14: 3 commits2026-06-15: 21 commits2026-06-16: 7 commits2026-06-17: 25 commits2026-06-18: 18 commits2026-06-19: 19 commits2026-06-20: 4 commits2026-06-21: 4 commits2026-06-22: 22 commits2026-06-23: 36 commits2026-06-24: 27 commits2026-06-25: 40 commits2026-06-26: 13 commits2026-06-27: 9 commits2026-06-28: 8 commits2026-06-29: 26 commits2026-06-30: 30 commits2026-07-01: 27 commits2026-07-02: 41 commits2026-07-03: 43 commits2026-07-04: 3 commits2026-07-05: 4 commits2026-07-06: 21 commits2026-07-07: 27 commits2026-07-08: 25 commits2026-07-09: 21 commits2026-07-10: 19 commits2026-07-11: 0 commits2026-07-12: 16 commits2026-07-13: 35 commits2026-07-14: 18 commits2026-07-15: 29 commits2026-07-16: 38 commits2026-07-17: 57 commits2026-07-18: 8 commits2026-07-19: 6 commits2026-07-20: 33 commits2026-07-21: 24 commits2026-07-22: 39 commits2026-07-23: 23 commits2026-07-24: 28 commits2026-07-25: 9 commits2026-07-26: 21 commits2026-07-27: 43 commits2026-07-28: 54 commits2026-07-29: 44 commits2026-07-30: 67 commits2026-07-31: 44 commits2026-08-01: 1 commit2026-08-02: 2 commits2026-08-03: 28 commits2026-08-04: 62 commits2026-08-05: 33 commits2026-08-06: 53 commits2026-08-07: 41 commits2026-08-08: 2 commits2026-08-09: 3 commits2026-08-10: 40 commits2026-08-11: 22 commits2026-08-12: 21 commits2026-08-13: 27 commits2026-08-14: 3 commits2026-08-15: 0 commits2026-08-16: 0 commits2026-08-17: 10 commits2026-08-18: 18 commits2026-08-19: 16 commits2026-08-20: 30 commits2026-08-21: 19 commits2026-08-22: 4 commits2026-08-23: 5 commits2026-08-24: 35 commits2026-08-25: 15 commits2026-08-26: 26 commits2026-08-27: 22 commits2026-08-28: 30 commits2026-08-29: 13 commits2026-08-30: 18 commits2026-08-31: 26 commits2026-09-01: 32 commits2026-09-02: 22 commits2026-09-03: 30 commits2026-09-04: 25 commits2026-09-05: 121 commits2026-09-06: 34 commits2026-09-07: 35 commits2026-09-08: 38 commits2026-09-09: 45 commits2026-09-10: 55 commits2026-09-11: 46 commits2026-09-12: 4 commits2026-09-13: 35 commits2026-09-14: 59 commits2026-09-15: 60 commits2026-09-16: 33 commits2026-09-17: 55 commits2026-09-18: 58 commits2026-09-19: 7 commits2026-09-20: 6 commits2026-09-21: 44 commits2026-09-22: 53 commits2026-09-23: 41 commits2026-09-24: 65 commits2026-09-25: 4 commits2026-09-26: 2 commits2026-09-27: 4 commits2026-09-28: 15 commits2026-09-29: 14 commits2026-09-30: 18 commits2026-10-01: 16 commits2026-10-02: 14 commits2026-10-03: 9 commits2026-10-04: 11 commits2026-10-05: 46 commits2026-10-06: 101 commits2026-10-07: 17 commits2026-10-08: 26 commits2026-10-09: 59 commits2026-10-10: 15 commits2026-10-11: 15 commits2026-10-12: 18 commits2026-10-13: 35 commits2026-10-14: 117 commits2026-10-15: 67 commits2026-10-16: 20 commits2026-10-17: 0 commits2026-10-18: 28 commits2026-10-19: 43 commits2026-10-20: 60 commits2026-10-21: 60 commits2026-10-22: 312 commits2026-10-23: 49 commits2026-10-24: 26 commits2026-10-25: 51 commits2026-10-26: 81 commits2026-10-27: 117 commits2026-10-28: 110 commits2026-10-29: 104 commits2026-10-30: 111 commits2026-10-31: 110 commits2026-11-01: 41 commits2026-11-02: 94 commits2026-11-03: 32 commits2026-11-04: 223 commits2026-11-05: 68 commits2026-11-06: 25 commits2026-11-07: 20 commits2026-11-08: 8 commits2026-11-09: 18 commits2026-11-10: 51 commits2026-11-11: 51 commits2026-11-12: 97 commits2026-11-13: 31 commits2026-11-14: 39 commits2026-11-15: 23 commits2026-11-16: 24 commits2026-11-17: 0 commits2026-11-18: 0 commits2026-11-19: 0 commits2026-11-20: 0 commits2026-11-21: 0 commits
12,738 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Widely adopted

    25,302 stars

  • Very active

    12,738 commits in 52 weeks

  • Community-driven

    ~392 contributors

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

  • Repeat trending

    3 trending appearances

What turso does

Turso is a highly performant, in-process SQL database engineered to bring data physically closer to application users for ultra-low latency execution. Built natively in Rust as a sophisticated fork of SQLite (libSQL), it merges the unparalleled developer experience of a local database with the immense scale of a globally distributed system. Turso automatically and transparently replicates data across dozens of edge regions, ensuring read queries execute in single-digit milliseconds. Furthermore, it acts as an extensible virtual machine, successfully hosting multiple SQL dialects including an experimental Postgres frontend over its unified core.

Turso is ideal for full-stack developers, edge computing engineers, and systems architects aiming to build globally responsive applications. It requires familiarity with SQL concepts and modern serverless or edge deployment architectures.

  • Global edge replication: Automatically distributes data across numerous geographic regions to guarantee minimum latency for user queries.
  • SQLite and Postgres compatibility: Supports standard SQLite file formats and C APIs while introducing a fully functional Postgres frontend.
  • Multi-version concurrency control: Implements BEGIN CONCURRENT logic to significantly improve write throughput and eliminate database locking issues.
  • Change data capture: Provides real-time streaming capabilities to track and react to database changes across the distributed network.
  • Extensive language bindings: Offers robust, official support across multiple languages including Rust, Go, JavaScript, Python, and Java.

Where teams use it

Edge Computing Applications

Developers deploy Turso alongside serverless edge functions (like Cloudflare Workers) to execute lightning-fast database reads without cross-continent roundtrips.

Global E-commerce Platforms

Retail architectures utilize the automatic edge replication to serve product catalogs instantly to users regardless of their geographic location.

Real-time Analytics Dashboards

Data teams leverage the Change Data Capture (CDC) feature to stream database mutations directly into live, interactive user dashboards.

Embedded Desktop Applications

Software engineers use the local libSQL core to embed a robust, SQLite-compatible database directly into cross-platform Rust applications.

Getting started: Please refer to the official repository bindings to install the SDK for your preferred language.

README

main branch

Turso Database

Turso Database

An in-process SQL database, compatible with SQLite, and now with a Postgres frontend too.

English | 简体中文 | Suomi

Crate NPM PyPI Maven Central NuGet

Chat with the Core Developers on Discord

Chat with other users of Turso (and Turso Cloud) on Discord


About

Turso is an in-process SQL database written in Rust, compatible with SQLite. It runs in production today at multiple organizations.

Turso is also a virtual machine. Like SQLite, it compiles SQL into bytecode for that machine, the VDBE, and then runs the bytecode. That design is what lets one engine host more than one SQL dialect. SQLite is the first and primary frontend that compiles to it, and Postgres is now a frontend of its own, with its own dialect and wire protocol. More will follow. Our goal is to be for databases what LLVM is to compilers, with one modern and reliable core, and many frontends compiled down onto it.

How general is that core? General enough to run Doom on it.

See the FAQ for where the project stands on its way to 1.0.

Features and Roadmap

  • SQLite compatibility for SQL dialect, file formats, and the C API, tracking SQLite version 3.50.4 [see document for details]
  • BEGIN CONCURRENT for improved write throughput using multi-version concurrency control (MVCC).
  • Change data capture (CDC) for real-time tracking of database changes.
  • Multi-language support for
  • Asynchronous I/O support on Linux with io_uring
  • Cross-platform support for Linux, macOS, Windows and browsers (through WebAssembly)
  • Vector support support including exact search and vector manipulation
  • Improved schema management including extended ALTER support and faster schema changes.

The database has the following experimental features:

  • Postgres compatibility for SQL dialect and wire protocol, see the see compatibility reference for details.
  • Encryption at rest for protecting the data locally.
  • Incremental computation using DBSP for incremental view maintenance and query subscriptions.
  • Full-Text-Search powered by the awesome tantivy library
  • Multi-process WAL coordination via the .tshm sidecar for cross-process WAL readers and writers.

The following features are on our current roadmap:

Getting Started

Please see the Turso Database Manual for more information.

💻 Command Line
You can install the latest `turso` release with:
curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/tursodatabase/turso/releases/latest/download/turso_cli-installer.sh | sh

Then launch the interactive shell:

$ tursodb

This will start the Turso interactive shell where you can execute SQL statements:

Turso
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database
turso> CREATE TABLE users (id INT, username TEXT);
turso> INSERT INTO users VALUES (1, 'alice');
turso> INSERT INTO users VALUES (2, 'bob');
turso> SELECT * FROM users;
1|alice
2|bob

You can also build and run the latest development version with:

cargo run

If you like docker, we got you covered. Simply run this in the root folder:

make docker-cli-build && \
make docker-cli-run
🦀 Rust
cargo add turso

Example usage:

let db = Builder::new_local("sqlite.db").build().await?;
let conn = db.connect()?;

let res = conn.query("SELECT * FROM users", ()).await?;
✨ JavaScript
npm i @tursodatabase/database

Example usage:

import { connect } from '@tursodatabase/database';

const db = await connect('sqlite.db');
const stmt = db.prepare('SELECT * FROM users');
const users = stmt.all();
console.log(users);
🐍 Python
uv pip install pyturso

Example usage:

import turso

con = turso.connect("sqlite.db")
cur = con.cursor()
res = cur.execute("SELECT * FROM users")
print(res.fetchone())
🦫 Go
go get turso.tech/database/tursogo
go install turso.tech/database/tursogo

Example usage:

import (
    "database/sql"
    _ "turso.tech/database/tursogo"
)

conn, _ = sql.Open("turso", "sqlite.db")
defer conn.Close()

stmt, _ := conn.Prepare("select * from users")
defer stmt.Close()

rows, _ = stmt.Query()
for rows.Next() {
    var id int
    var username string
    rows.Scan(&id, &username)
    fmt.Printf("User: ID: %d, Username: %s\n", id, username)
}
️#️⃣ .NET

Example usage:

using Turso;

using var connection = new TursoConnection("Data Source=:memory:");
connection.Open();

connection.ExecuteNonQuery("CREATE TABLE t(a, b)");
var rowsAffected = connection.ExecuteNonQuery("INSERT INTO t(a, b) VALUES (1, 2), (3, 4)");
Console.WriteLine($"RowsAffected: {rowsAffected}");

using var command = connection.CreateCommand();
command.CommandText = "SELECT * FROM t";
using var reader = command.ExecuteReader();
while (reader.Read())
{
    var a = reader.GetInt32(0);
    var b = reader.GetInt32(1);
    Console.WriteLine($"Value1: {a}, Value2: {b}");
}
☕️ Java

We integrated Turso Database into JDBC. For detailed instructions on how to use Turso Database with java, please refer to the README.md under bindings/java.

🤖 MCP Server Mode

The Turso CLI includes a built-in Model Context Protocol (MCP) server that allows AI assistants to interact with your databases.

Start the MCP server with:

tursodb your_database.db --mcp

Configuration

Add Turso to your MCP client configuration:

{
  "mcpServers": {
    "turso": {
      "command": "/path/to/.turso/tursodb",
      "args": ["/path/to/your/database.db", "--mcp"]
    }
  }
}

Available Tools

The MCP server provides nine tools for database interaction:

  1. open_database - Open a new database
  2. current_database - Describe the current database
  3. list_tables - List all tables in the database
  4. describe_table - Describe the structure of a specific table
  5. execute_query - Execute read-only SELECT queries
  6. insert_data - Insert new data into tables
  7. update_data - Update existing data in tables
  8. delete_data - Delete data from tables
  9. schema_change - Execute schema modification statements (CREATE TABLE, ALTER TABLE, DROP TABLE)

Once connected, you can ask your AI assistant:

  • "Show me all tables in the database"
  • "What's the schema for the users table?"
  • "Find all posts with more than 100 upvotes"
  • "Insert a new user with name 'Alice' and email '[email protected]'"

MCP Clients

Claude Code

If you're using Claude Code, you can easily connect to your Turso MCP server using the built-in MCP management commands:

Quick Setup
  1. Add the MCP server to Claude Code:

    claude mcp add my-database -- tursodb ./path/to/your/database.db --mcp
  2. Restart Claude Code to activate the connection

  3. Start querying your database through natural language!

Command Breakdown
claude mcp add my-database -- tursodb ./path/to/your/database.db --mcp
#              ↑            ↑       ↑                           ↑
#              |            |       |                           |
#              Name         |       Database path               MCP flag
#                          Separator
  • my-database - Choose any name for your MCP server
  • -- - Required separator between Claude options and your command
  • tursodb - The Turso database CLI
  • ./path/to/your/database.db - Path to your SQLite database file
  • --mcp - Enables MCP server mode
Example Usage
# For a local project database
cd /your/project
claude mcp add my-project-db -- tursodb ./data/app.db --mcp

# For an absolute path
claude mcp add analytics-db -- tursodb /Users/you/databases/analytics.db --mcp

# For a specific project (local scope)
claude mcp add project-db --local -- tursodb ./database.db --mcp
Managing MCP Servers
# List all configured MCP servers
claude mcp list

# Get details about a specific server
claude mcp get my-database

# Remove an MCP server
claude mcp remove my-database
Claude Desktop

For Claude Desktop, add the configuration to your claude_desktop_config.json file:

{
  "mcpServers": {
    "turso": {
      "command": "/path/to/.turso/tursodb",
      "args": ["./path/to/your/database.db", "--mcp"]
    }
  }
}
Cursor

For Cursor, configure MCP in your settings:

  1. Open Cursor settings
  2. Navigate to Extensions → MCP
  3. Add a new server with:
    • Name: turso
    • Command: /path/to/.turso/tursodb
    • Args: ["./path/to/your/database.db", "--mcp"]

Alternatively, you can add it to your Cursor configuration file directly.

Direct JSON-RPC Usage

The MCP server runs as a single process that handles multiple JSON-RPC requests over stdin/stdout. Here's how to interact with it directly:

Example with In-Memory Database
cat << 'EOF' | tursodb --mcp
{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "client", "version": "1.0"}}}
{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "schema_change", "arguments": {"query": "CREATE TABLE users (id INTEGER, name TEXT, email TEXT)"}}}
{"jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": {"name": "list_tables", "arguments": {}}}
{"jsonrpc": "2.0", "id": 4, "method": "tools/call", "params": {"name": "insert_data", "arguments": {"query": "INSERT INTO users VALUES (1, 'Alice', '[email protected]')"}}}
{"jsonrpc": "2.0", "id": 5, "method": "tools/call", "params": {"name": "execute_query", "arguments": {"query": "SELECT * FROM users"}}}
EOF
Example with Existing Database
# Working with an existing database file
cat << 'EOF' | tursodb mydb.db --mcp
{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "client", "version": "1.0"}}}
{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "list_tables", "arguments": {}}}
EOF

Contributing

We'd love to have you contribute to Turso Database! Please check out the contribution guide to get started.

FAQ

Is Turso Database ready for production use?

Yes — Turso powers production applications today at multiple organizations, including Turso Cloud, the Kin AI assistant, and Spice.ai. Reliability is our top priority: Turso is extensively tested by a collection of tools including a native Deterministic Simulation Testing suite and Antithesis.

That said, we have not yet reached 1.0. The project is under active development, and some features are explicitly marked experimental. Our bar is SQLite-level reliability — one of the most rigorously tested pieces of software in the world — and until we declare 1.0, we recommend the same discipline you would apply to any database: keep independent backups.

How compatible is Turso Database with SQLite?

Turso is compatible with SQLite at the SQL dialect, file format, and C API levels, and existing SQLite database files work as-is. We are not at 100% yet, so some differences are still expected — COMPAT.md tracks the details — but the gap is closing quickly, and full compatibility is a requirement for 1.0.

Is Turso a SQLite database or a Postgres database?

It is one engine with more than one SQL frontend. SQLite is the original and primary frontend, with its dialect, its file format, and its C API, and if that is what you use, nothing changes for you. Postgres is a newer and still experimental frontend that speaks the Postgres dialect and wire protocol. They share everything below the SQL: the storage, the concurrency, the query compiler, and the VM. Postgres is additive.

What do you mean by "the LLVM of databases"?

Like SQLite, Turso compiles a query into bytecode for a virtual machine called the VDBE, and runs that bytecode. SQL is just one language that compiles to it. Our goal is to make that VM a general target, with one modern and rigorously tested core, and many database frontends compiled onto it: SQLite, Postgres, and others over time. LLVM did this for compilers, where a stable intermediate representation let many languages share one backend, and we think databases deserve the same. The bytecode is general enough to run Doom, if you want proof.

How is Turso Database different from Turso's libSQL?

Turso Database is a project to build the next evolution of SQLite in Rust, with a strong open contribution focus and features like native async support, vector search, and more. The libSQL project is also an attempt to evolve SQLite in a similar direction, but through a fork rather than a rewrite.

Rewriting SQLite in Rust started as an unassuming experiment, and due to its incredible success, replaces libSQL as our intended direction. Both run in production today: libSQL has been battle-tested for longer, while Turso Database is where our development effort is focused and is evolving rapidly. More details here.

Publications

  • Pekka Enberg, Sasu Tarkoma, Jon Crowcroft Ashwin Rao (2024). Serverless Runtime / Database Co-Design With Asynchronous I/O. In EdgeSys ‘24. [PDF]
  • Pekka Enberg, Sasu Tarkoma, and Ashwin Rao (2023). Towards Database and Serverless Runtime Co-Design. In CoNEXT-SW ’23. [PDF] [Slides]
  • Alperen Keles, Ethan Chou, Harrison Goldstein, Leonidas Lampropoulos (2026). DIRT: Database-Integrated Random Testing. In DBTest '26. [PDF]

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Turso Database by you, shall be licensed as MIT, without any additional terms or conditions.

Partners

Thanks to all the partners of Turso!

Contributors

Thanks to all the contributors to Turso Database!

View on GitHub

Recent activity

commits and pull requests

Recent open issues

view all

Discussions

all 67

Releases and announcements

242 total
  1. v0.8.4-pre.3v0.8.4-pre.3Nov 12, 2026pre-release115 downloads

    ## Install turso_cli 0.8.4-pre.3 ### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/turso/releases/download/v0.8.4-pre.3/turso_cli-installer.sh | sh ``` ### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/tursodatabase/turso/releases/download/v0.8.4-pre.3/turso_cli-installer.ps1 | iex" ``` ## Download turso_cli 0.8.4-pre.3 | File | Platform | Checksum | |--------|----------|----------| | [turso_cli-aarch64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.8.4-pre.3/turso_cli-aarch64-apple-darwin.tar.xz) | Apple Silicon macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.8.4-pre.3/turso_cli-aarch64-apple-darwin.tar.xz.sha256) | | [turso_cli-x86_64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.8.4-pre.3/turso_cli-x86_64-apple-darwin.tar.xz) | Intel macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.8.4-pre.3/turso_cli-x86_64-apple-darwin.tar.xz.sha256) | | [turso_cli-aarch64-pc-windows-msvc.zip](https://github.com/turs

  2. v0.9.0-pre.2v0.9.0-pre.2Oct 28, 2026pre-release514 downloads

    ## Install turso_cli 0.9.0-pre.2 ### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.2/turso_cli-installer.sh | sh ``` ### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.2/turso_cli-installer.ps1 | iex" ``` ## Download turso_cli 0.9.0-pre.2 | File | Platform | Checksum | |--------|----------|----------| | [turso_cli-aarch64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.2/turso_cli-aarch64-apple-darwin.tar.xz) | Apple Silicon macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.2/turso_cli-aarch64-apple-darwin.tar.xz.sha256) | | [turso_cli-x86_64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.2/turso_cli-x86_64-apple-darwin.tar.xz) | Intel macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.2/turso_cli-x86_64-apple-darwin.tar.xz.sha256) | | [turso_cli-aarch64-pc-windows-msvc.zip](https://github.com/turs

  3. v0.9.0-pre.1v0.9.0-pre.1Oct 15, 2026pre-release517 downloads

    ## Install turso_cli 0.9.0-pre.1 ### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.1/turso_cli-installer.sh | sh ``` ### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.1/turso_cli-installer.ps1 | iex" ``` ## Download turso_cli 0.9.0-pre.1 | File | Platform | Checksum | |--------|----------|----------| | [turso_cli-aarch64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.1/turso_cli-aarch64-apple-darwin.tar.xz) | Apple Silicon macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.1/turso_cli-aarch64-apple-darwin.tar.xz.sha256) | | [turso_cli-x86_64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.1/turso_cli-x86_64-apple-darwin.tar.xz) | Intel macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.9.0-pre.1/turso_cli-x86_64-apple-darwin.tar.xz.sha256) | | [turso_cli-aarch64-pc-windows-msvc.zip](https://github.com/turs

  4. v0.8.3v0.8.3Oct 12, 20267.5K downloads

    ## Install turso_cli 0.8.3 ### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_cli-installer.sh | sh ``` ### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_cli-installer.ps1 | iex" ``` ## Download turso_cli 0.8.3 | File | Platform | Checksum | |--------|----------|----------| | [turso_cli-aarch64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_cli-aarch64-apple-darwin.tar.xz) | Apple Silicon macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_cli-aarch64-apple-darwin.tar.xz.sha256) | | [turso_cli-x86_64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_cli-x86_64-apple-darwin.tar.xz) | Intel macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_cli-x86_64-apple-darwin.tar.xz.sha256) | | [turso_cli-aarch64-pc-windows-msvc.zip](https://github.com/tursodatabase/turso/releases/download/v0.8.3/turso_c

  5. v0.8.3-pre.2v0.8.3-pre.2Oct 12, 2026pre-release380 downloads

    ## Install turso_cli 0.8.3-pre.2 ### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/turso/releases/download/v0.8.3-pre.2/turso_cli-installer.sh | sh ``` ### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/tursodatabase/turso/releases/download/v0.8.3-pre.2/turso_cli-installer.ps1 | iex" ``` ## Download turso_cli 0.8.3-pre.2 | File | Platform | Checksum | |--------|----------|----------| | [turso_cli-aarch64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.8.3-pre.2/turso_cli-aarch64-apple-darwin.tar.xz) | Apple Silicon macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.8.3-pre.2/turso_cli-aarch64-apple-darwin.tar.xz.sha256) | | [turso_cli-x86_64-apple-darwin.tar.xz](https://github.com/tursodatabase/turso/releases/download/v0.8.3-pre.2/turso_cli-x86_64-apple-darwin.tar.xz) | Intel macOS | [checksum](https://github.com/tursodatabase/turso/releases/download/v0.8.3-pre.2/turso_cli-x86_64-apple-darwin.tar.xz.sha256) | | [turso_cli-aarch64-pc-windows-msvc.zip](https://github.com/turs

Commits per week

last 52 weeks
6840Week of 2025-11-23: 173 commitsWeek of 2025-11-30: 221 commitsWeek of 2025-12-07: 251 commitsWeek of 2025-12-14: 264 commitsWeek of 2025-12-21: 255 commitsWeek of 2025-12-28: 244 commitsWeek of 2026-01-04: 354 commitsWeek of 2026-01-11: 382 commitsWeek of 2026-01-18: 546 commitsWeek of 2026-01-25: 275 commitsWeek of 2026-02-01: 240 commitsWeek of 2026-02-08: 441 commitsWeek of 2026-02-15: 598 commitsWeek of 2026-02-22: 385 commitsWeek of 2026-03-01: 165 commitsWeek of 2026-03-08: 358 commitsWeek of 2026-03-15: 128 commitsWeek of 2026-03-22: 149 commitsWeek of 2026-03-29: 151 commitsWeek of 2026-04-05: 182 commitsWeek of 2026-04-12: 173 commitsWeek of 2026-04-19: 247 commitsWeek of 2026-04-26: 158 commitsWeek of 2026-05-03: 131 commitsWeek of 2026-05-10: 174 commitsWeek of 2026-05-17: 130 commitsWeek of 2026-05-24: 130 commitsWeek of 2026-05-31: 106 commitsWeek of 2026-06-07: 170 commitsWeek of 2026-06-14: 97 commitsWeek of 2026-06-21: 151 commitsWeek of 2026-06-28: 178 commitsWeek of 2026-07-05: 117 commitsWeek of 2026-07-12: 201 commitsWeek of 2026-07-19: 162 commitsWeek of 2026-07-26: 274 commitsWeek of 2026-08-02: 221 commitsWeek of 2026-08-09: 116 commitsWeek of 2026-08-16: 97 commitsWeek of 2026-08-23: 146 commitsWeek of 2026-08-30: 274 commitsWeek of 2026-09-06: 257 commitsWeek of 2026-09-13: 307 commitsWeek of 2026-09-20: 215 commitsWeek of 2026-09-27: 90 commitsWeek of 2026-10-04: 275 commitsWeek of 2026-10-11: 272 commitsWeek of 2026-10-18: 578 commitsWeek of 2026-10-25: 684 commitsWeek of 2026-11-01: 503 commitsWeek of 2026-11-08: 295 commitsWeek of 2026-11-15: 47 commitsNov 23, 2025Nov 15, 2026
12.7K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 43 commitsSun 1:00 — 27 commitsSun 2:00 — 37 commitsSun 3:00 — 24 commitsSun 4:00 — 10 commitsSun 5:00 — 9 commitsSun 6:00 — 17 commitsSun 7:00 — 13 commitsSun 8:00 — 46 commitsSun 9:00 — 79 commitsSun 10:00 — 89 commitsSun 11:00 — 90 commitsSun 12:00 — 101 commitsSun 13:00 — 107 commitsSun 14:00 — 108 commitsSun 15:00 — 101 commitsSun 16:00 — 122 commitsSun 17:00 — 109 commitsSun 18:00 — 102 commitsSun 19:00 — 123 commitsSun 20:00 — 86 commitsSun 21:00 — 103 commitsSun 22:00 — 86 commitsSun 23:00 — 65 commitsMon 0:00 — 40 commitsMon 1:00 — 22 commitsMon 2:00 — 20 commitsMon 3:00 — 6 commitsMon 4:00 — 10 commitsMon 5:00 — 17 commitsMon 6:00 — 14 commitsMon 7:00 — 33 commitsMon 8:00 — 60 commitsMon 9:00 — 116 commitsMon 10:00 — 194 commitsMon 11:00 — 193 commitsMon 12:00 — 232 commitsMon 13:00 — 234 commitsMon 14:00 — 186 commitsMon 15:00 — 190 commitsMon 16:00 — 231 commitsMon 17:00 — 175 commitsMon 18:00 — 160 commitsMon 19:00 — 127 commitsMon 20:00 — 121 commitsMon 21:00 — 142 commitsMon 22:00 — 116 commitsMon 23:00 — 72 commitsTue 0:00 — 42 commitsTue 1:00 — 29 commitsTue 2:00 — 27 commitsTue 3:00 — 20 commitsTue 4:00 — 8 commitsTue 5:00 — 12 commitsTue 6:00 — 20 commitsTue 7:00 — 27 commitsTue 8:00 — 58 commitsTue 9:00 — 110 commitsTue 10:00 — 215 commitsTue 11:00 — 215 commitsTue 12:00 — 212 commitsTue 13:00 — 208 commitsTue 14:00 — 235 commitsTue 15:00 — 239 commitsTue 16:00 — 190 commitsTue 17:00 — 233 commitsTue 18:00 — 164 commitsTue 19:00 — 138 commitsTue 20:00 — 124 commitsTue 21:00 — 120 commitsTue 22:00 — 93 commitsTue 23:00 — 83 commitsWed 0:00 — 73 commitsWed 1:00 — 37 commitsWed 2:00 — 29 commitsWed 3:00 — 20 commitsWed 4:00 — 9 commitsWed 5:00 — 11 commitsWed 6:00 — 14 commitsWed 7:00 — 58 commitsWed 8:00 — 91 commitsWed 9:00 — 210 commitsWed 10:00 — 196 commitsWed 11:00 — 212 commitsWed 12:00 — 253 commitsWed 13:00 — 262 commitsWed 14:00 — 290 commitsWed 15:00 — 233 commitsWed 16:00 — 240 commitsWed 17:00 — 200 commitsWed 18:00 — 148 commitsWed 19:00 — 150 commitsWed 20:00 — 126 commitsWed 21:00 — 99 commitsWed 22:00 — 92 commitsWed 23:00 — 87 commitsThu 0:00 — 50 commitsThu 1:00 — 45 commitsThu 2:00 — 28 commitsThu 3:00 — 19 commitsThu 4:00 — 15 commitsThu 5:00 — 12 commitsThu 6:00 — 87 commitsThu 7:00 — 68 commitsThu 8:00 — 100 commitsThu 9:00 — 179 commitsThu 10:00 — 181 commitsThu 11:00 — 182 commitsThu 12:00 — 233 commitsThu 13:00 — 236 commitsThu 14:00 — 234 commitsThu 15:00 — 299 commitsThu 16:00 — 235 commitsThu 17:00 — 197 commitsThu 18:00 — 164 commitsThu 19:00 — 138 commitsThu 20:00 — 129 commitsThu 21:00 — 96 commitsThu 22:00 — 78 commitsThu 23:00 — 81 commitsFri 0:00 — 51 commitsFri 1:00 — 48 commitsFri 2:00 — 36 commitsFri 3:00 — 25 commitsFri 4:00 — 12 commitsFri 5:00 — 23 commitsFri 6:00 — 14 commitsFri 7:00 — 42 commitsFri 8:00 — 64 commitsFri 9:00 — 106 commitsFri 10:00 — 158 commitsFri 11:00 — 167 commitsFri 12:00 — 214 commitsFri 13:00 — 214 commitsFri 14:00 — 192 commitsFri 15:00 — 199 commitsFri 16:00 — 152 commitsFri 17:00 — 167 commitsFri 18:00 — 125 commitsFri 19:00 — 96 commitsFri 20:00 — 116 commitsFri 21:00 — 108 commitsFri 22:00 — 61 commitsFri 23:00 — 42 commitsSat 0:00 — 41 commitsSat 1:00 — 26 commitsSat 2:00 — 19 commitsSat 3:00 — 3 commitsSat 4:00 — 20 commitsSat 5:00 — 21 commitsSat 6:00 — 29 commitsSat 7:00 — 33 commitsSat 8:00 — 44 commitsSat 9:00 — 115 commitsSat 10:00 — 96 commitsSat 11:00 — 70 commitsSat 12:00 — 106 commitsSat 13:00 — 134 commitsSat 14:00 — 139 commitsSat 15:00 — 116 commitsSat 16:00 — 100 commitsSat 17:00 — 114 commitsSat 18:00 — 95 commitsSat 19:00 — 71 commitsSat 20:00 — 111 commitsSat 21:00 — 74 commitsSat 22:00 — 56 commitsSat 23:00 — 50 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Jun 21, 2026daily#24+21
Jun 20, 2026daily#18+24
Jun 19, 2026daily#18+12
  • ultraworkers/claw-code

    An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

    194.8K stars · Rust

  • farion1231/cc-switch

    A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

    156K stars · Rust

  • openai/codex

    Lightweight coding agent that runs in your terminal

    136K stars · Rust

  • rust-lang/rust

    Empowering everyone to build reliable and efficient software.

    122.3K stars · Rust

  • pbakaus/impeccable

    The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

    114.1K stars · Rust

  • denoland/deno

    A modern runtime for JavaScript and TypeScript.

    109.1K stars · Rust