package
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Feb 15, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
internal/sqlite3
This directory contains SQLite initialization and bundled sqlite-vec assets for clawlet.
Files
sqlitedriver.go
- Loads
sqlite-vec.wasm via go:embed and assigns it to github.com/ncruces/go-sqlite3 (sqlite3.Binary).
sqlite-vec.wasm
- The Wasm binary embedded into the application.
build-sqlite-vec-wasm.sh
- Script to rebuild
sqlite-vec.wasm.
sqlite-vec.patch
- Patch applied to the
go-sqlite3 build output to include and auto-register sqlite-vec.
Rebuild
Requirements:
wasi-sdk
binaryen
curl, tar, patch
Run:
./internal/sqlite3/build-sqlite-vec-wasm.sh
To override versions explicitly:
GO_SQLITE3_VERSION=v0.30.5 SQLITE_VEC_VERSION=v0.1.6 ./internal/sqlite3/build-sqlite-vec-wasm.sh
Pinned defaults:
GO_SQLITE3_VERSION=v0.30.5
SQLITE_VEC_VERSION=v0.1.6
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.