34 lines
848 B
Markdown
34 lines
848 B
Markdown
# SQLight
|
|
|
|
A SQLite Playground that runs completely locally.
|
|
|
|
## How it works
|
|
|
|
Run SQLite as wasm in the browser using [`sqlite-wasm-rs`](https://github.com/Spxg/sqlite-wasm-rs).
|
|
|
|
## About UI
|
|
|
|
Users who have used [rust playground](https://play.rust-lang.org) will feel very familiar.
|
|
|
|
Because the layout and component design are derived from it, but rewritten using [leptos](https://leptos.dev).
|
|
|
|
## Extensions Supported
|
|
|
|
|Extension|About|
|
|
|-|-|
|
|
|[sqlite-vec](https://crates.io/crates/sqlite-wasm-vec)|A vector search SQLite extension that runs anywhere!|
|
|
|
|
## Local deployment
|
|
|
|
```sh
|
|
npm install
|
|
npx postcss --dir assets/module.postcss assets/module.css --base assets/module.css
|
|
# Choose your preferred installation method
|
|
# https://trunkrs.dev/#install
|
|
cargo install trunk --locked
|
|
# The product is in the dist folder
|
|
trunk build --release
|
|
```
|
|
|
|
|