{"repo":"HuakunShen/tauri-plugin-libsql","free":true,"listed":false,"github":"https://github.com/HuakunShen/tauri-plugin-libsql","clone":"git clone https://github.com/HuakunShen/tauri-plugin-libsql.git","description":"Bring libsql + encryption + turso sync + drizzle orm to Tauri apps","language":"Rust","stars":16,"topics":["drizzle","drizzle-orm","libsql","sqlite","tauri","turso"],"license":null,"category":"databases-storage","readme_excerpt":"Tauri Plugin libsql A Tauri plugin for libsql with built-in AES-256-CBC encryption, Drizzle ORM support, and a browser-compatible migration runner. Try the Example App The fastest way to understand the full workflow (Drizzle ORM, browser-safe migrations, optional encryption, and Turso sync) is to run the demo app. For a complete walkthrough, see examples/todo-list/README.md . --- Table of Contents - Try the Example App - Why this plugin? - Features - Installation - Quick Start - Database Location - Drizzle ORM Integration - Migrations - Encryption - API Reference - Permissions - Comparison with @tauri-apps/plugin-sql - Turso / Remote Database - Bundle Size - Using AI to Integrate This Plugin - Project Structure Why this plugin? 1. Rust ORMs are painful for app development Using raw SQL in Rust is verbose, and Rust ORMs (Diesel, SeaORM) require schema definitions in Rust, don't compose well with TypeScript frontends, and add significant build complexity. For Tauri apps where the real logic lives in TypeScript, you want to write database code in TypeScript too. 2. Drizzle ORM without a Node.js runtime Drizzle ORM is excellent — type-safe queries, a clean migration system, great ergonomics. But it normally requires a Node.js or Bun runtime to open database files directly. Tauri's WebView has no such runtime. This plugin solves that with Drizzle's sqlite-proxy pattern: Drizzle generates SQL, the proxy sends it via Tauri's invoke() to the Rust plugin, and the Rust plugin executes ","default_branch":null,"files":null,"tree":[],"storefront":"/r/HuakunShen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HuakunShen/tauri-plugin-libsql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}