Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 847 Bytes

File metadata and controls

42 lines (32 loc) · 847 Bytes

SQLite Editor

A small in-browser SQLite database viewer/editor built with vite, react, Tailwind, and sql.js.

Features

  • Load and edit SQLite databases in the browser locally
  • Runs SQLite via WebAssembly using sql.js

Tech stack

  • React + TypeScript
  • Vite
  • Tailwind CSS
  • sql.js (WASM)

Getting started

Prerequisites

  • bun (or your preferred package manager)

Install

bun install

Run locally (dev)

bun run dev

Build

bun run build

Preview production build

bun run preview

Notes

  • The app uses import.meta.env.BASE_URL to locate the sql.js WASM files (see src/lib/db.ts).
  • Vite is configured with base: "/sqlite-editor" in vite.config.ts so that it works with github pages. If you deploy under a different subpath, update the value accordingly.