Add README.md

This commit is contained in:
Spxg
2025-05-17 10:06:50 +08:00
parent ff74e0527f
commit abec4e6108

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
# SQLite Playground
A SQLite Playground that runs entirely 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).
## Local deployment
```sh
npm install
npx postcss --dir assets/module.postcss assets/module.css/**/*.css --base assets/module.css
# Choose your preferred installation method
# https://trunkrs.dev/#install
cargo install trunk --locked
trunk serve --open
```