r/sqlite • • 9h ago

Query Kafka topics with SQL from your SQL editor or terminal: KafCacheQL 0.5.0

Post image
1 Upvotes

Query Kafka data with SQL. No ksqlDB, no Flink, just a JDBC driver, a Kafka cluster and your SQL editor or a terminal.

Data pulled is cached locally in SQLite, so rerunning a query only fetches the new records.

This is a tool for platform engineers, data scientists/analysts, BI, or anyone who prefers to use SQL to interact with Kafka data without the need to write a Kafka client. All they need are credentials for a Kafka cluster (and Schema Registry, for schema-backed topics). It's also an easy way to onboard people who don't know Kafka and don't want to (or can't) spin up a sink connector.

Full disclosure, I work for Confluent, but this is a tool created for the Kafka community.

It is experimental, not recommended for production and not supposed to replace stream processing engines.

See below the full list of functionalities shipped on v0.5.0:

- One JDBC JAR: works in DBeaver, DataGrip, any Java app (Java 21+) or its own kafcacheql command line
- Kafka 3.1+: Confluent Cloud, Confluent Platform, self-managed or local
- Auth: PLAINTEXT, SSL/TLS (incl. client certificates), SASL_PLAINTEXT and SASL_SSL with PLAIN or SCRAM-SHA-256/512
- Confluent Cloud: API key over SASL_SSL, and the client.properties file Cloud generates works as-is
- Schema Registry with basic auth (API key and secret)
- Not supported (yet): OAuth/OAUTHBEARER and AWS MSK IAM
- Read-only (pull query style): it never writes to Kafka
- Topics show up as tables, and you get SQLite's SQL: joins, aggregations, JSON functions
- Compacted topics read as current state (tombstones handled), append topics as event history
- Every row has its partition, offset, timestamp, key, value and headers
- Avro, JSON Schema and Protobuf through Confluent Schema Registry, plus plain JSON, string and bytes. Schema fields become typed columns
- Schema evolution handled: columns come from every schema version in the topic, so fields added or removed over time all show up (NULL where a record doesn't have them), and if versions disagree on a field's type you get the raw value and a warning instead of a wrong conversion
- Local cache: reruns only fetch new records, and cached topics can be queried offline
- How fetching works:
  - SELECT: fetches only what the query needs that isn't cached yet. That's limited by its window if you set one, and by default it's everything Kafka still holds
  - SYNC: fetches everything new since the last cached offset, with no limit
  - Both: stop at the end offsets they saw when they started, and anything produced after that comes with the next query
- No consumer group: each consumer is assigned one partition at a time and seeks straight to the offsets it needs, by default up to 8 consumers fetching in parallel (sync.fetch.parallelism). Offsets are kept in the SQLite cache, so nothing is committed to Kafka and there's no rebalancing
- Time/offset windows on big topics, plus fast "last N records" queries
- Cache size and age limits; cached data follows Kafka's retention
- Records that fail to decode still show up as rows, with the error and the raw bytes, handy for debugging
- Drop or mask fields (PII) before anything is written to the cache, or plug in your own Java transform
- The kafcacheql command line: interactive (help, history, Ctrl-R, TAB completion) or scripted, with table, line or JSON output. Start it with just a settings file: kafcacheql ~/.kafcacheql/cloud.properties
- Your own / commands: save the queries you run every day as SQL files with typed, optional arguments in ~/.kafcacheql/commands, then run them by name, e.g. /last shop-orders 30 (every record from the last 30 minutes) or /tail shop-orders 10. help shows each command's usage and SQL, and TAB completes command and topic names. Five examples ship with the repo
- follow: like tail -f for SQL. follow /last shop-orders reruns a query or command every second (or every N seconds, e.g. follow 0.5 ...) and prints only the rows it hasn't shown yet until Ctrl-C. Works with joins, and with --mode json it streams one JSON object per row, ready for jq
- SHOW TABLES, SHOW LAG, DESCRIBE, DROP TABLE (cache only) and SYNC, with wildcards like SHOW TABLES shop-* or SYNC shop-*, easy to run from cron to keep a cache warm
- A Docker web-store demo with Zeppelin charts to try it in minutes

Repo: https://github.com/ifnesi/kafcacheql

Note: the code and docs were written with the assistance of AI, with every change tested and reviewed before release.


r/sqlite • • 21h ago

I made a small Linux desktop app that shows how many tokens Claude Code (and Codex, Gemini CLI…) actually used

2 Upvotes

Think DB Browser for SQLite, but small and driven from the keyboard: completion that knows your tables and columns, schema browser, row inspector, CSV/JSON export, any SQLite URI (?mode=ro, :memory:, ?immutable=1). When a statement fails, one key hands it to your coding agent to fix.

https://github.com/FabianJ-L/omasql – MIT, prebuilt package for Arch, builds anywhere with Qt 6.

I'd love feedback from people who live in SQLite every day: what does your current tool do that this should?


r/sqlite • • 3d ago

How WAL mode works in SQLite

Thumbnail slicker.me
6 Upvotes

r/sqlite • • 3d ago

WAL mode saved our exporter's dashboards, but busy_timeout was the missing piece

1 Upvotes

We store rolling metrics samples for some internal exporters in a small SQLite database on each box, and after enabling WAL mode we still saw intermittent SQLITE_BUSY errors when the collector process and a reporting script overlapped. Turns out WAL alone doesn't eliminate contention, it just narrows the window, and the default busy timeout is zero. Setting PRAGMA busy_timeout=5000 in both connections fixed it completely, and we've gone months without a hiccup on a database that takes a few hundred writes a minute. Cheap lesson: WAL is necessary but not sufficient if you have concurrent writers, even briefly overlapping ones.


r/sqlite • • 4d ago

Why PRAGMA journal_mode=WAL still threw "database is locked" on 50-thread cold start (fix)

2 Upvotes

Hit an annoying edge case while stress-testing our Python 3.11+ SQLite persistence layers (Ledger and ReplayGuard) across concurrent worker threads on a brand-new database file, and figured I would share the exact reproducer and fix.

Most Python SQLite snippets initialize connections in this order:

  1. sqlite3.connect(path, timeout=5.0)
  2. PRAGMA journal_mode=WAL
  3. PRAGMA busy_timeout=5000

Under a cold-start burst where 16 to 50 threads open a fresh database file at the exact same millisecond, step 2 still intermittently raises sqlite3.OperationalError: database is locked. Two things happen at once:

  • Switching journal_mode to WAL takes an exclusive lock before busy_timeout=5000 has been configured on that connection, and warm threads opening connections later still issue PRAGMA journal_mode=WAL unconditionally instead of checking the active mode first.
  • On Windows CI/dev runners, if connect() succeeds but executescript() or the PRAGMA raises OperationalError, letting the failed Connection wait for garbage collection leaves the file descriptor open and breaks TemporaryDirectory cleanup with WinError 32.

Moving busy_timeout=5000 ahead of the mode check, skipping redundant WAL transitions, closing failed connections explicitly in except, and wrapping append writes in BEGIN IMMEDIATE (isolation_level=None in src/invoice_engine/ledger.py) eliminated the cold-start lock failures and handle leaks:

_SQLITE_OPEN_MAX_ATTEMPTS = 6


def _is_transient_sqlite_error(exc: sqlite3.OperationalError) -> bool:
    msg = str(exc).lower()
    return "locked" in msg or "busy" in msg


def _open_connection(self, init_schema: bool = False) -> sqlite3.Connection:
    for attempt in range(_SQLITE_OPEN_MAX_ATTEMPTS):
        db: sqlite3.Connection | None = None
        try:
            db = sqlite3.connect(self.path, timeout=5.0, isolation_level=None, check_same_thread=False)
            db.row_factory = sqlite3.Row
            db.execute("PRAGMA busy_timeout=5000")
            mode_row = db.execute("PRAGMA journal_mode").fetchone()
            mode = str(mode_row[0]).lower() if mode_row else ""
            if mode not in ("wal", "memory"):
                db.execute("PRAGMA journal_mode=WAL")
            db.execute("PRAGMA synchronous=NORMAL")
            if init_schema:
                db.executescript(_SCHEMA)
            return db
        except sqlite3.OperationalError as exc:
            if db is not None:
                try:
                    db.close()
                except sqlite3.Error:
                    pass
            if _is_transient_sqlite_error(exc) and attempt < _SQLITE_OPEN_MAX_ATTEMPTS - 1:
                time.sleep(min(0.2, 0.02 * (2 ** attempt)) + random.uniform(0.0, 0.02))
                continue
            raise
        except BaseException:
            if db is not None:
                try:
                    db.close()
                except sqlite3.Error:
                    pass
            raise
    raise sqlite3.OperationalError("database is locked")

Measured numbers from our stdlib WAL concurrency & FTS5 benchmark suite (kiberlabs-benchmarks, 50 concurrent threads doing `1,00


r/sqlite • • 5d ago

The most complete C++23 wrapper for SQLite includes Sessions and CloudSQLite

Thumbnail github.com
3 Upvotes

r/sqlite • • 6d ago

better to have multiple small tables or one large one with unused columns?

2 Upvotes

Hello!

I am asking this out of curiosity to improve my data management because I am always looking to expand on my skills.

Project:

I am making a very simple, small scope discord.js bot where players can play card games. I am currently using an sqlite DB to manage game states in case of discord restarts, crashes, etc. I have successfully implemented BlackJack as my first game.

Question:

Now that I have finished the first game, would it be better for me to continue in one table for all the games to limit the number of tables I have over the life of the project? Or would it be better for me to have separate tables for each game that are all linked to a common "player profile" table with foreign keys?

Pros of multiple tables: The DB would stay pretty clean/organized and it would be easier for me to find the data I am looking for. It would also prevent having loads of unused columns that are significant for one game but irrelevant for another.

Cons: Eventually I would have like 10-15 tables that are all very small with like 5 or 6 columns each.

Would love to hear the thoughts on this. I am getting a lot more comfortable using sqlite and now that I am past the "beginner" stages, I am thinking a lot more about good data management and future-proofing.

Thanks everyone!


r/sqlite • • 6d ago

WAL file keeps growing until I restart, how do I find what's blocking the checkpoint?

3 Upvotes

Small app, one writer process and a couple of readers that open and close quickly. The -wal file grows to a few hundred MB over a day and only shrinks after a restart. wal_autocheckpoint is at the default.

My guess is some reader is holding a read transaction open, but I can't find it. Is there a way to see which connection is stopping the checkpoint from resetting the WAL, or do people just run PRAGMA wal_checkpoint(TRUNCATE) on a timer?


r/sqlite • • 7d ago

Using Lean to formally verify an optimised SQLite B-tree traversal

0 Upvotes

Wanted to share an exploration I did into using Lean4 and the SQLite B-tree API for reading data.

In this experiment, I use Lean 4 to formally prove that a custom SQLite B-tree traversal produces the same result as a conventional SQL query (ORDER BY id DESC LIMIT n).

I also implemented an interactive SQLite page inspector and benchmarked the different approaches.

The article goes through the reasoning, Lean proofs, SQLite internals and benchmarks.

Disclaimer: Super new to Lean4

https://www.kylesmith.space/blog/leansql/leansql


r/sqlite • • 7d ago

Omasql: a small, keyboard-first SQLite browser and SQL editor for Linux

2 Upvotes

Think DB Browser for SQLite or TablePlus, but small, fast to start, and driven from the keyboard.

Omasql is a small Qt 6 / C++ app: SQL editor with autocomplete, schema

browser, results grid, row inspector. It follows your Omarchy theme and

language live, and everything is on the keyboard.

Some things I use every day:

- Ctrl+Enter runs the statement under the cursor, Esc cancels it

- Autocomplete knows your tables, columns and aliases (o.)

- Ctrl+click a foreign key to jump to the row it points to

- Ctrl+F filters the results as you type

- Ctrl+. sends a failing query + error + schema to your `omarchy default agent`

(Claude/Codex) and puts the fix in place for you to check

- Export as CSV, JSON, Markdown table or INSERT statements

https://github.com/FabianJ-L/omasql

MIT licensed. It's early (0.3.0), so feedback and bug reports are very welcome.


r/sqlite • • 8d ago

Cuckoo filter w/ xxHash3 beats SQLite in performance by ~120x times!

Thumbnail reddit.com
0 Upvotes

r/sqlite • • 10d ago

Lesson from a metrics exporter: WAL mode alone didn't stop "database is locked", BEGIN IMMEDIATE did

5 Upvotes

I wrote a small Prometheus exporter that keeps a rolling 24h buffer of scrape samples in SQLite, with one writer goroutine and a few HTTP handlers reading for a debug endpoint. Even with journal_mode=WAL and busy_timeout=5000, I kept getting occasional SQLITE_BUSY errors right at the moment a handler tried to upgrade a deferred read transaction into a write to mark rows as exported. The cause was the deferred transaction itself: when a read transaction tries to become a write transaction and another connection has already written, SQLite returns BUSY right away instead of waiting on the busy handler, because waiting could deadlock. Switching every write path to BEGIN IMMEDIATE (via _txlock=immediate in the mattn/go-sqlite3 DSN) made the errors go away, and p99 write latency barely changed. Is there any good reason not to default to IMMEDIATE for anything that might write, or is that just the accepted pattern now?


r/sqlite • • 10d ago

Could .NET database development move toward Write Less. Build More?

1 Upvotes

I've been exploring this idea through EFX. It's still an early experiment, with basic model discovery, SQLite schema comparison, and a review-before-apply sync workflow.

But what I'm really hoping to achieve in the future is something much bigger:

Making everyday database development feel simpler. Less setup, less boilerplate, and fewer steps to get things done, while keeping developers in control.

Write Less. Build More.

That's the dream behind EFX. I'd love to see how far this idea could go.

What do you think is the most unnecessarily complicated part of database development in .NET?


r/sqlite • • 11d ago

Belay - formal verification for SQLite statements

Thumbnail vihren.dev
7 Upvotes

Hi,

I am working on a tool that allows you to do formal verification of your SQLite statements, queries and transactions. Basically this means that you can prove something about your statement and then this means that the statement will always work as expected, no matter what data your database has. This is much better than tests which can only verify the behaviour of a statement for a specific database state.

For example now you can state: Migration M preserves the output of a query Q. Then you can ask your agent to write a proof of this statement. The proof can be checked by the Lean proof checker, and if it is correct, you know that the claim will hold for any database you run it on.

This approach can work on basically any claim you can think of. For example right now I'm implementing UX to claim that a certain transaction is idempotent.

The core of this project is a semantic model of Sqlite in Lean. Essentially thes is a rewrite of part of sqlite in lean. As long as this semantic model matches actual sqlite behaviour we can trust that our claims will hold. The model is currently checked against SQLite using a large number of tests, most of which taken from the sqlite test suite.

This is a very early proof-of-concept. I need feedback from the community how to make it better. Tell me what checks you would like to run on your DB statements and I'll make it easy to do them with Belay.


r/sqlite • • 10d ago

Design question for an open-source local-first database: one SQLite database on OPFS, several browser tabs, and iOS freezing them

1 Upvotes

Hey, I'm building NoCentralDB, an open-source local-first database, and I'd like feedback on its design before the first release. We build it because AI agents work much faster and cheaper when they read data from a local copy: an agent may read hundreds of records in one task, and every read that needs no network costs no round-trip and hits no server rate limit. In the browser, that local copy is SQLite compiled to WebAssembly, stored in the Origin Private File System (OPFS). RFC 0001 has the whole design on one page; this post is about a problem only the browser has: several tabs of the same app sharing that one database.

Natively, SQLite solved this long ago: in WAL mode, one writer and many readers share the file. In the browser, the fast OPFS backend, the opfs-sahpool VFS, takes a synchronous access handle for every file of its pool, and those handles are exclusive. So until now, one tab's worker held the database for the whole session, and every other tab sent its reads and writes to that tab.

That works until iOS freezes the owning tab. WebKit doesn't reliably fire visibilitychange before it suspends a page (WebKit bug 207256, open since 2020), and closing a tab from the tab overview fires no event at all (bug 205942). A suspended page keeps its Web Locks, and in our tests WebKit released a worker's OPFS handles only once its page ran again. Every other tab waits in the meantime: its writes, opening the database, the sync.

The design we chose, and haven't built yet: no tab owns the database any more. Each tab takes it for one transaction under a Web Lock: resume the pool, run the transaction, pause the pool, release the lock. Think of the lock as a single checkout queue; every tab gets the database for exactly one transaction and goes to the back. A frozen tab then blocks the others only if it froze in the middle of a transaction.

We looked at wa-sqlite's OPFSCoopSyncVFS first. It keeps its handles after a transaction and gives them up only when another tab asks, and a frozen tab can't answer; TanStack DB issue #1883 is exactly that hang.

The price, measured in WebKit: a small write costs about 8 ms through our Rust port of the VFS, 5 ms through the official build, against 1.5 ms with the handles held for the session. (Five times slower per write, so that one frozen tab can't stop all the others.) And before each transaction, a tab has to find out whether another tab wrote since its last turn, and bring its in-memory state up to date.

If you've run SQLite on OPFS across several tabs, especially on iPhones: did frozen tabs hold your handles too, and what did you do about it?

RFC 0001: https://github.com/nocentraldb/nocentraldb/blob/main/docs/rfc/0001-nocentraldb.md Multi-tab storage in detail, RFC 0012: https://github.com/nocentraldb/nocentraldb/blob/main/docs/rfc/0012-multi-tab-browser-storage.md Feedback: https://github.com/nocentraldb/nocentraldb/discussions/categories/rfc-feedback


r/sqlite • • 10d ago

I built a free, open-source SQL & database internals guide with an in-browser WASM SQLite 3 Workbench

1 Upvotes

Hey r/sqlite!

I built SQL in Depth — a free, open-source interactive textbook and playground for SQL & database internals that runs directly in the browser with no signup or local setup needed.

Since this community appreciates SQLite, here's what's built around it:

• In-Browser WASM SQLite 3 Workbench: Write and run real SQLite queries client-side with preloaded datasets, schema inspection, and instant query results.

• Relational Visualizer: Step through how joins, grouping, filtering, and window functions transform tables row by row.

• 36 Interactive Database Internals Simulators: Visually explore B-Trees & B+ Trees, WAL vs rollback journals, query planners, index scans vs full table scans, MVCC, and locking behavior.

• 180 Structured Units: Covers everything from core SQL and schema design to indexing strategies, transactions, and storage engine mechanics.

Live site: https://sql-in-depth.vedgupta.in

GitHub (open-source): https://github.com/innovatorved/sql-in-depth

I'd love any feedback from SQLite folks — especially on SQLite-specific quirks, STRICT tables, WAL mode details, or interactive labs you'd like to see added!


r/sqlite • • 11d ago

How a read buffer changes the result of a 100-migration SQLite benchmark in Go

2 Upvotes

I maintain Go-Gen-Ecosystem/go-migrate. I compared v1.0.1 with golang-migrate/migrate v4.20.1 and pressly/goose v3.30.1. Each library applied the same 100 SQL migrations to a fresh SQLite database. Each migration created a table and inserted one row.

On Linux/amd64 with Go 1.26.11, the median allocated per batch across six samples was 727.8 KiB for go-migrate, 10.66 MiB for golang-migrate, and 1.14 MiB for goose. Goose made the fewest allocations at default settings, with 8,547 per batch compared with 9,420 for golang-migrate and 10,873.5 for go-migrate.

I repeated the golang-migrate benchmark with one change. Setting gm.DefaultBufferSize = 4096 at the start of its benchmark, down from the 100,000-byte default, brought its median to 892.2 KiB on these small files. All three libraries used in-memory migration sources, the same pure-Go SQLite driver, WAL, and synchronous=OFF.

To reproduce the defaults from a disposable v1.0.1 checkout, run the following. The tagged benchmark module needs -mod=mod to refresh its dependency metadata.

cd benchmarks/compare
GOWORK=off CGO_ENABLED=0 GOTOOLCHAIN=go1.26.11 go test -mod=mod -run '^$' -bench '^BenchmarkUp100_' -benchmem -count=6 .

Benchmark source · golang-migrate buffer implementation


r/sqlite • • 11d ago

SQLite foreign keys are off by default, per connection: four small experiments (tested on 3.53.1)

1 Upvotes

If you declare REFERENCES in your schema and assume the database enforces it, here’s something worth checking. I ran four small experiments on SQLite 3.53.1 from Python.

Schema:

CREATE TABLE parent (id INTEGER PRIMARY KEY);
CREATE TABLE child (
    id INTEGER PRIMARY KEY,
    parent_id INTEGER REFERENCES parent(id) ON DELETE CASCADE
);
INSERT INTO parent VALUES (1);

1. Default connection

PRAGMA foreign_keys;                       -- 0
INSERT INTO child (parent_id) VALUES (999);  -- accepted, no error

The orphan row was accepted. With foreign_keys at 0, the REFERENCES clause isn’t enforced.

2. After turning it on

PRAGMA foreign_keys = ON;
PRAGMA foreign_keys;                       -- 1
INSERT INTO child (parent_id) VALUES (999);
-- FOREIGN KEY constraint failed
INSERT INTO child (parent_id) VALUES (1);
DELETE FROM parent WHERE id = 1;           -- cascades; child is now empty

Enforcement works, including ON DELETE CASCADE (0 child rows left).

3. Inside a transaction, the pragma did nothing

BEGIN;
PRAGMA foreign_keys = ON;
PRAGMA foreign_keys;   -- 0 (still off)
COMMIT;
PRAGMA foreign_keys;   -- 0

In my test, turning it on inside an open transaction had no effect, and it stayed off after the commit. As I understand the docs, the setting can’t be changed while a transaction is open, so set it right after opening the connection, before any BEGIN. Check the official documentation for the exact wording.

4. It’s per connection, not per database file

connection a (set ON):  1
connection b (same file, new connection): 0

The setting isn’t stored in the database file, so each new connection starts with the default again. A second process or a different tool opening the same file may not enforce your foreign keys.

What I’d do about it (opinion):

  • Run PRAGMA foreign_keys = ON right after every connection is opened, ideally in the one place your code creates connections (a connection factory or pool hook).
  • Add a test that tries to insert an orphan row and expects it to fail, so a future change that bypasses the setup gets caught.
  • To audit existing data, PRAGMA foreign_key_check lists violations. I haven’t run it in these experiments, so check how it behaves on your database.
  • Some libraries and drivers enable it for you and others don’t, so check yours.

Limits: this is one SQLite version and one driver (Python’s sqlite3), and the behavior can be changed by compile-time options, which I haven’t tested. If you use an ORM, it may set the pragma for you.

Do you enable foreign keys in a connection hook, a test, or do you leave them off? Any surprises from tools opening the same file?


r/sqlite • • 12d ago

SQLite & CSV/JSON Suite

0 Upvotes

If you ever need to inspect a .sqlite or .db file without uploading it to a server or installing a desktop client, KitWharf's SQLite Viewer ( https://kitwharf.com/sqlite-viewer/ ) runs SQLite compiled to WebAssembly right in your browser tab. You can browse tables, run custom SQL queries, and export results to CSV/JSON—paired with our CSV to JSON Converter ( https://kitwharf.com/csv-to-json-converter/ ) for quick data transforms.


r/sqlite • • 12d ago

Learning SQL with Python?

Post image
1 Upvotes

This 👉interactive SQLite demonstration helps student understand relational databases.

The sqlite3 extension of 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 makes database content visible alongside Python's data structures. The demo shows how to:

  • Create tables with primary and foreign keys.
  • Model relationships between students, courses, and teachers.
  • Insert data and observe how the database changes.
  • Combine multiple tables using SQL JOIN operations.
  • Use parameterized queries.

The final query answers a seemingly simple question: Which teachers teach Alice, and for which courses? Answering this question involves joining five tables!

With 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡, students can step through the Python program and inspect the database content at every step, directly in their browser, without installing anything.

See 👉other 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 visualizations.


r/sqlite • • 12d ago

Qryndel: a query language for SQLite that refuses risky queries before they run (Python, MIT)

Post image
0 Upvotes

r/sqlite • • 13d ago

Built a local-first bookmark & PKM action engine backed by a single SQLite file (Go + embedded UI)

4 Upvotes

Sharing Sparkkeep (v0.1.0, AGPL-3.0) — a self-hosted bookmark and knowledge action engine where your entire library, triage state, playbooks, and digests live in a single portable SQLite database.

Repo: https://github.com/BurlacuAndrei/sparkkeep

Why SQLite was the centerpiece

Most self-hosted bookmark apps ask you to spin up Postgres, Redis, Meilisearch, and background worker containers just to save links. Keeping everything in a single Go binary + SQLite means:

  • Backups are literally copying one .db file.
  • Fast local search and filtering with zero external search daemon.
  • Runs comfortably on a tiny VPS, Raspberry Pi, or homelab container.

It also pairs with local Ollama (or any OpenAI-compatible endpoint) if you want automatic enrichment/digests, plus Discord/Slack/Telegram capture adapters. Happy to hear feedback on the schema or SQLite performance!


r/sqlite • • 12d ago

Debug RAG Retrieval Visually: SQLite + sqlite-vec 3D Explorer

Thumbnail github.com
1 Upvotes

r/sqlite • • 13d ago

SQLite & CSV/JSON Suite

Thumbnail reddit.com
1 Upvotes