r/sqlite • u/Icy_Cancel_2827 • Sep 05 '26
r/sqlite • u/__el1s7 • Sep 03 '26
I built Model - a minimal Python ORM for SQLite and MySQL
The idea is simple: instead of hiding SQL behind a big custom query language, Model keeps things explicit, typed, and predictable. You define models using native Python types, write clear SQL conditions when querying, and use a CLI to preview and automatically apply schema changes.
Check it out here: https://github.com/el1s7/model
Let me know what you think!
r/sqlite • u/kimsnow2001 • Sep 02 '26
Native database client in Rust (no Electron) – feedback welcome
Hey,
I’ve been building plusplus — a pure Rust desktop database client (no Electron).
Main goals:
Completely local (no telemetry, passwords in OS keychain)
Safety features for production (profiles + risky statement warnings)
Fast native UI
Supports PostgreSQL, MySQL, SQL Server, SQLite, DuckDB, Cassandra/ScyllaDB
Still pre-1.0.
Repo: github.com/plusplus
Would love feedback on what features matter most or any pain points with current clients. Thanks!
r/sqlite • u/LastCounter6753 • Sep 01 '26
I built an active reading workbench that generates inline, interactive HTML visualizers for technical docs (Demo: SQLite internals)
When reading dense technical documentation or systems architecture specs, static text and flat diagrams often fall short for concepts that involve dynamic state transitions, memory offsets, or execution pipelines.
I’ve been building Noesis, a technical reading workbench that generates interactive HTML artifacts and simulators directly inside any document—either via one-click inline actions or through conversation with the sidebar companion. All generated dynamic media stays permanently embedded with your reading notes.
What's in this 1:25 demo on SQLite's architecture (sqlite.org/arch.html):
- Asking the companion to visualize how logical B-Tree nodes map to physical 4096-byte disk blocks.
- Inlining an interactive dual-view artifact directly beneath the chapter to step through the seek offset:
(PageNumber - 1) * 4096. - Storing the interactive widget permanently with the document for future review.
You can use this workflow across any technical doc to generate interactive pipeline traces, memory layout models, token visualizers, or state machines.
🔗 Try the live interactive SQLite doc: https://noesis-ai.app/article/p/25312 (You can interact with the dynamic widgets and explore the doc directly in the browser).
Would love to hear feedback from anyone studying database engines, systems architecture, or SQLite internals!
r/sqlite • u/cevheribozoglan • Aug 29 '26
Self-hosted browser GUI for SQLite, Postgres, Mongo, Redis, ClickHouse, Druid... now on their official tool lists
Affiliation: I’m the maintainer of LibreDB Studio.
Most of the GUI conversation here is Postgres which is fair, but a lot of us also keep Redis, ClickHouse, or Druid in the same week.
I was tired of bouncing between desktop clients and per-engine admin UIs, so I built a self-hosted browser editor that talks to all of them from one place (plus MySQL, Oracle, SQL Server, MongoDB, Cassandra, Elasticsearch and more...).
Not claiming to replace DBeaver/DataGrip. Different access model: it deploys next to the data(kubernetes), not onto every laptop.
Third-party listing, for context:
• PostgreSQL project news + clients catalogue
• Also in official Redis, ClickHouse, and Apache Druid tool docs
MIT, Docker/Helm/ `npx "@libredb/studio"`. Quick path: `docker run -p 3000:3000 libredb/libredb-studio`
r/sqlite • u/COLDWAR_1980 • Aug 28 '26
LuaDB: A pure Lua embeddable SQL database for game save files, state tracking, and cloud sync
r/sqlite • u/kaizhu256 • Aug 27 '26
yet another opensource offline-browser / wasm sqlite-editor (used internally for stock trading)
gallerycompletely offline, but feel free to git-clone / host it locally as a quick-and-dirty sqlite table-explorer - https://sqlmath.github.io/sqlmath/index.html
- import / export / attach - databases
- import / export - csv, json, tsv
- export - tables as sql-insert-scripts for mssql / mysql / postgres etc...
built originally as dev-oriented frontend dashboard for a tradebot
- includes some custom / esoteric sql-functions for OLS and sine-fitting (look in file
sqlmath_base.c) custom datetime functions manipulating 64-bit integers as
YYYYMMDDhhmmss- string-based
YYYY-MM-DD hh:mm:sstimestamps consumes too much space for intraday stock-data I deal w/ ^^;;;
- string-based
- node.js variant also has integrated c-bindings to LightGBM to directly train from, and make predictions from sql-tables.
- includes some custom / esoteric sql-functions for OLS and sine-fitting (look in file
r/sqlite • u/Recent-Pear-6341 • Aug 28 '26
Renamed my SQL detective game to SQL Shadow — wanted to close the loop from my last post
galleryHey everyone — following up on the post I made a little while back about the SQL detective game I'm building.
A few people pointed out that the original name was too close to an existing project with a similar concept.
Even though the game itself is built very differently, I get the criticism. If the name creates confusion, there's no real point arguing about it.
So I changed it.
It's now called SQL Shadow.
For anyone seeing this for the first time:
SQL Shadow is a mobile noir detective game where you learn SQL by actually writing SQL.
Not multiple-choice answers pretending to be queries.
Not simulated query execution.
Your queries actually run against real SQLite databases on the device, and the results become the evidence you use to solve the case.
The detective theme is only one part of the project. I've been building the actual learning system around it as well.
The current WIP includes:
- 🔎 10 structured detective cases — each focused on specific SQL concepts
- 📚 Standalone SQL lessons — explanations, examples, deep-dives, and practice exercises
- 🧩 Progressive schema discovery — tables are introduced as you investigate
- 🧳 Evidence system — clues come from dialogue, quizzes, and SQL results
- 💻 Real SQLite execution — queries actually execute locally against the case database
- 🎮 Practice modes — 3 mini-game types with hundreds of SQL questions
- 🧠 Coaching feedback — wrong answers explain what your query actually returned
- 🏆 XP and detective ranks — progression as you learn and solve cases
- 📰 The Daily Detective — an in-game newspaper with new content
- 👤 Guest-first — you can start playing without creating an account and link your progress later
The basic learning loop is:
Learn the concept → investigate → write the SQL → inspect the result → collect evidence → solve the mystery → practice.
And just to be clear, I don't claim to have invented the idea of combining SQL with detective mysteries. There are already projects in that space, and that's completely fine.
What I'm building is my own implementation of the idea, with a different UI, game structure, learning flow, progression system, lessons, practice modes, and mobile-first experience.
The project is still WIP and currently in internal testing, so a lot of things are still being polished and may change before release.
I'm sharing these screenshots mainly because I'd genuinely like feedback on the UI/UX and learning experience rather than another debate about the name 😅
If you've learned SQL before, I'd especially love to know:
Would a learning flow like this actually make you want to practice SQL, or is there anything you'd change?
Built with Flutter, Riverpod, and sqlite3.
r/sqlite • u/Resistorsoup2984 • Aug 27 '26
I built an extension for SQL and I call it BeatSQL
reddit.comr/sqlite • u/CompetitionTiny6703 • Aug 27 '26
I ran integrity_check on 3 deliberately-corrupted SQLite DBs — here's what it can't catch

I corrupted three copies of a 1000-row SQLite DB three different ways (bit-rot in row payloads, truncation, zeroed page) and tested recovery.
The result that surprised me: **bit-rot inside row payloads returns `ok` from integrity_check.** Structure check passes, content is wrong. So my backup discipline now assumes integrity_check validates structure only, not data.
- Truncation / zeroed page → `malformed (11)`, VACUUM INTO fails, need backup or `.recover`
- Garbled payload bytes → integrity_check says ok, VACUUM INTO "succeeds" with corrupted content
Full walkthrough with the raw output here (no signup, no tracking): https://devprofit.net/post/sqlite-corruption-recovery/
**Verdict:** test your restores. A backup you never restored is a folder of bytes.
r/sqlite • u/avkijay • Aug 26 '26
SQLite in Production with Built-In Litestream Replication
openrun.devI’ve been working on making SQLite a first-class production option in OpenRun. OpenRun is a deployment platform for web apps and internal tools which I have been building as a side project for last three years. Built-in Litestream replication and automatic restore is a new feature I added, so apps can use SQLite while OpenRun handles backup/recovery on Docker, Podman, or Kubernetes.
r/sqlite • u/Creative_Sugar-33 • Aug 26 '26
I built a SQL Workbench-like SQLite Playground
There are many SQL playgrounds out there, but I wanted something closer to a workbench experience in the browser. The Dataslope SQLite Playground lets you work with SQLite in a more workbench-like environment. It's completely free and doesn't require a sign-in.
Features:
- Query tools (query history, code formatter, ER diagram viewer)
- Query plan viewer ("explain")
- Comprehensive I/O (import from .sql, .db, .sqlite, CSV/JSON/Parquet, SQL dump)
- Flexible result set export formats (CSV, JSON, SQL, Parquet, Excel)
- Persistence via OPFS or cloud
- Infinite scroll with dynamic loading instead of loading all rows at once (for 200+ rows)
- Editable grid for tables (i.e., double-click to edit)
- Modal cell editor
- Copy row as JSON/SQL
- Duplicate row
- DDL Viewer
- Visual table structure editor
- Visual view/index creator
- Intellisense
I'd love any feedback or feature requests!
r/sqlite • u/LimitedEdition7741 • Aug 24 '26
SQLite advanced search engine
reddit.comSQLite .db search engine ready with us for amazing anchoring and latest search features (Hybrid: Lexical & Semantic) for voluminous documents (100 MB to 2 GB) under milliseconds deterministic responses. We can have a single file (.db) built from 1,000s of documents in diverse formats (PDFs, Excels, Words, Access, PPTs etc). We will show millisecond deterministic responses in our demo.
r/sqlite • u/boringari • Aug 23 '26
Used Antigravity to Decrypt iPhone local backup of SMS.DB into SQLite DB and built a tiny analysis web app - took 6 hours lol MACOS only
galleryr/sqlite • u/Recent-Pear-6341 • Aug 22 '26
Building a noir detective game where you learn SQL by writing real database queries instead of doing boring tutorials

Hey everyone!
I got super tired of dry, textbook-style SQL tutorials, so I decided to build my own indie game for mobile. It's a noir detective game called SQL Case File where you actually solve crimes by writing real SQL queries.
Instead of multiple-choice quizzes, queries run directly against an actual on-device SQLite database for each case.
I just finished putting together the main case selection screen and the core game loop. Here’s a quick look at where it's at:
- The Case Board: Built a moody, dim-lit UI with a custom noir palette to handle case progression and unlocks.
- Real Execution: Queries aren't just text-matched; they actually execute on-device against custom case databases.
- Progression & Economy: Added a dual-currency system (coins and diamonds), daily login bonuses, and extra mini-game modes for practice.
It's built with Flutterusing Riverpod and the sqlite3 package.
Would love to hear what you guys think of the UI vibe or the concept overall!
r/sqlite • u/Zealousideal_Set9862 • Aug 22 '26
3 months into learning programming. reactoredmy database from raw SQL to SQLAlchemy and struggled with autoflush. Did I structure this correctly?
I’m 16 and started learning Python about 3 months ago. My first project was a simple CRUD app with raw SQL. For my second project (ashflow tracker with auth and budgeting), I wanted to push myself further, so I switched to Flask, SQLAlchemy, and Flask-Login.
I’m looking for feedback from experienced developers on a few specific architectural decisions and hurdles I ran into:
1. Database Schema Refactoring (Categories & Budgets) Initially, categories were just free-text strings on every transaction. Once I added budgets, case mismatches and typos completely broke my budget tracking. I refactored categories into their own table with foreign keys on the transaction and budget models.
- Question: Is moving away from free-text strings to dedicated category models always the standard approach here, or are there cleaner ways to handle user-defined categories at scale without making the schema too rigid (fixed categories list) ?
2. SQLAlchemy Autoflush Confusion Coming from raw SQL, SQLAlchemy's session management took a while to wrap my head around. During my refactoring, I hit several bugs where autoflush triggered database writes mid-transaction before I was ready to commit, causing unexpected constraints errors.
- Question: How do experienced Python devs typically manage session state when doing complex multi-model updates? Do you explicitly disable autoflush, or is that a code smell that points to poor transaction design?
3. Auth Implementation I built authentication from scratch using Flask-Login and password hashing instead of a third-party service just to understand the mechanics. Moving from "auth is a black box" to "it's just checking session state on each request" was a huge lightbulb moment for me.
I’d love any feedback on how I structured my models or handled sessions. You can see how I implemented the SQLAlchemy relationships and routes in my repository here:https://github.com/E-Ecstacy/wise-wealth
Thanks in advance for any insights!
r/sqlite • u/Medmip • Aug 21 '26
Will the new Rust-based Turso engine get a standalone server like sqld?
I’ve been looking into the new Turso engine written in Rust, and I’m really interested in using it for a self-hosted BaaS.
From what I understand, the new engine is primarily an embedded database, while the old libSQL sqld provided a proper standalone server with HTTP access, authentication, replication, and standalone/primary/replica modes.
The new Turso CLI does have a --sync-server, but that seems to be a local server for the Turso sync protocol rather than a full database server comparable to sqld.
So I’m wondering:
Is there a plan to build a standalone server for the new Turso engine?
r/sqlite • u/copilot_husky • Aug 19 '26
Reliability Lessons From SQLite - Richard Hipp | SSW 2026
youtube.comAll about testing
r/sqlite • u/Slight_Smile654 • Aug 20 '26
DBCLS - a terminal DB client
I've made a terminal database client that combines a SQL editor with interactive data visualization (via VisiData) in a single TUI tool. It supports MySQL, PostgreSQL, ClickHouse, SQLite, and Cassandra/ScyllaDB, offering syntax highlighting, schema-aware autocomplete ranked by SQL context, query execution, schema browsing, table editing that shows you the generated SQL before committing, and export (including to SQL INSERTs). With no connection arguments it starts on an in-memory SQLite, so dbcls scratch.sql is enough to try it.
The editor isn't limited to single statements — steps chained with | turn a .sql file into a small script: SQL, Python, regex filters, loops, variables, and prompts mid-run:
`.RUN "SHOW TABLES" | .PY "sselect('select tables to use')" |`
`.FOR_RUN "SELECT id FROM {{_0}} WHERE failed = 1"`
All results merge into one sheet. There's also an optional LLM chat (Ctrl+L, any OpenAI-compatible endpoint) that reads your schema through read-only tools and writes queries it can never execute itself, and a plugin API for your own commands.
VisiData brings exceptional data presentation capabilities — sorting, filtering, aggregating and pivoting on the fly, frequency tables and histograms, expression-based columns, and millions of rows navigated at lightning speed — all without leaving the terminal.
GitHub: https://github.com/Sets88/dbcls
r/sqlite • u/Minimum_Hour519 • Aug 19 '26
BufferOverride — where humans and agents debug together
bufferoverride.comr/sqlite • u/Ornery_Dealer5897 • Aug 17 '26
how do i convert a sqlite file into something readable
i have a whatsapp sqlite file but what do i do with it i cant convert it, can view it in a mess
i just want to convert it into something readable.