Skip to content

s1099/sqlite-editor

Repository files navigation

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.

About

Web based SQLite viewer and editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages