{"repo":"RichardKnop/minisql","free":true,"listed":false,"github":"https://github.com/RichardKnop/minisql","clone":"git clone https://github.com/RichardKnop/minisql.git","description":"Embedded single file SQL database written in Golang","language":"Go","stars":48,"topics":["golang","sql","sqlite","database","single-file","agentic-ai","agentic-workflow","mvcc","embedded-database","vector-search"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"minisql MiniSQL is an embedded single-file SQL database written in Go, inspired by SQLite but borrowing ideas from PostgreSQL. Documentation Features - Pure Go — zero CGO - MVCC snapshot isolation for reads; serialised single-writer for writes - B+ tree storage with WAL and crash recovery - Parallel full-table scan - JSON and UUID as native column types - Built-in full-text search (inverted index + MATCH / TS RANK ) - Built-in JSON inverted index ( JSON CONTAINS ) - Vector similarity search ( VECTOR(n) column + VEC L2 / VEC COSINE + HNSW ANN index) - Transparent AES-256-CTR page encryption with HKDF key derivation Installation Import the driver (blank import registers it with database/sql ): See the Getting Started guide and Connection reference for full details. CLI Or build from source: Or install with homebrew: See the CLI Shell Development Generate mocks MiniSQL uses mockery to generate interface mocks: Run tests Setting LOG LEVEL=info suppresses debug output and makes test failures easier to read. Fuzz testing MiniSQL uses Go's built-in fuzzer ( go test -fuzz ) to find parser bugs and storage corruption issues that structured unit tests are unlikely to reach. Three fuzz targets are maintained: Target Package What it finds -------- --------- --------------- FuzzParser ./internal/parser/ Parser panics / infinite loops on arbitrary SQL input FuzzPageUnmarshal ./internal/minisql/ Panics in B-tree page deserialization on truncated/corrupt pages FuzzRowView ./internal/minisql/","default_branch":null,"files":null,"tree":[],"storefront":"/r/RichardKnop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RichardKnop/minisql/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."}