A lightweight, zero-dependency SQLite viewer and custom editor extension powered by WebAssembly (WASM).
Inspect tables, run queries, preview image BLOBs, and filter records with Tokyo Night anime aesthetics.
Features β’ Quick Start β’ Why ChibiSQL? β’ Shortcuts β’ FAQ β’ Contributing
ChibiSQL is a modern, anime-inspired SQLite GUI built directly into VS Code, Cursor, and Antigravity IDE. Powered entirely in-process by WebAssembly (sql.js), ChibiSQL eliminates the need for native C++ build tools, Python environments, or external database software like DB Browser for SQLite.
Whenever you open a .db, .sqlite, or .sqlite3 file, ChibiSQL automatically intercepts the file via the VS Code Custom Editor API, presenting a fluid spreadsheet interface wrapped in a soothing Tokyo Night dark theme with cute anime mascot reactions.
- πΈ Tokyo Night Anime Interface: A sleek developer UI inspired by Tokyo Night with reactive kaomoji status toasts (
(qβ’Μα΄-)β§ Ready,(ΰΉΛΜ΅α΄ΛΜ΅) Loaded!,(>_<) Error). - β‘ Zero Native Dependencies: Runs on pure WebAssembly via
sql.jsβno node-gyp, Python, or SQLite CLI installation required. - π Instant File Association: Automatically opens
.db,.sqlite, and.sqlite3files with one click in the file tree. - π Interactive Multi-Level Filtering:
- Inline Column Filters: Dedicated per-column filter inputs (
Filter...) with live 250ms debounced search. - Global Table Search: Search across all numeric and textual columns at once.
- Inline Column Filters: Dedicated per-column filter inputs (
- π High-Performance Pagination:
- Fast SQL
LIMIT&OFFSETqueries handle large tables (100k+ rows) without freezing your editor. - Custom page size selector (
25,50,100,200rows per page).
- Fast SQL
- π Schema & Column Introspection:
- Visual type indicators: Primary Key (
π), Numeric (#), Text (π), Date/Time (π), and BLOB (π¦). - 3-state column sorting (
ASCβDESCβ default).
- Visual type indicators: Primary Key (
- πΌοΈ BLOB & Image Previewer:
- Auto-detects image BLOB formats (PNG, JPEG, GIF, BMP, WebP) including Northwind OLE image headers.
- Inline grid thumbnails and expanded preview in the inspector.
- Native Download BLOB button to export binary payloads to disk.
- π Row Inspector Modal:
- Click any record to inspect all fields in an organized modal view.
- Traverse rows sequentially using keyboard shortcuts (β and β).
- Quick-copy button on every cell and modal field.
- π» Integrated SQL Query Console:
- Collapsible terminal drawer to run custom
SELECT,JOIN, or aggregate queries with Ctrl+Enter. - Tracks query execution time in milliseconds (
β‘ 8ms).
- Collapsible terminal drawer to run custom
- Download the latest
chibisql-x.x.x.vsixrelease from GitHub Releases. - Open VS Code or Cursor.
- Open the Extensions sidebar (Ctrl+Shift+X or Cmd+Shift+X).
- Click the
...(More Actions) menu in the top-right corner. - Select Install from VSIX... and pick the downloaded
.vsixfile. - Click on any
.dbor.sqlitefile in your workspace to launch ChibiSQL!
# Clone the repository
git clone https://github.com/Nonx2360/chibiSQL.git
cd chibiSQL
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Package as .vsix
npx @vscode/vsce package --no-git-tag-versionTo debug locally in VS Code:
- Open the repository folder in VS Code.
- Press F5 to launch the Extension Development Host.
- Drag and drop any SQLite file into the new editor window.
| Feature | ChibiSQL πΈ | Traditional SQLite Extensions | External GUI (DB Browser) |
|---|---|---|---|
| Native Compilation Needed | β No (Pure WASM) | β Standalone App | |
| Integrated Inside VS Code / Cursor | β Yes | β Yes | β Requires App Switching |
| Inline Image BLOB Previews | β Built-in | β Rare | |
| Per-Column Live Filtering | β Yes | β Rare | β Yes |
| Tokyo Night Anime Theme | πΈ Yes (Iconic) | β Standard Dark/Light | β Desktop Native |
| Lightweight Memory Footprint | β Minimal |
| Shortcut | Action | Scope |
|---|---|---|
| Ctrl + Enter / Cmd + Enter | Run Custom Query | SQL Console |
| β (Up Arrow) | View Previous Record | Row Detail Modal |
| β (Down Arrow) | View Next Record | Row Detail Modal |
| Esc | Close Modal / Inspector | Row Detail Modal |
| Click on Cell | Open Row Detail Inspector | Data Grid |
- Runtime: VS Code Extension API (Custom Readonly Editor Provider)
- Engine: sql.js (SQLite compiled to WebAssembly)
- Frontend: HTML5, Modern CSS, Tailwind CSS
- Typography: Plus Jakarta Sans & JetBrains Mono
- Icons: Optimized SVG vectors with zero external font dependencies
How does ChibiSQL open SQLite database files?
ChibiSQL implements VS Code's CustomReadonlyEditorProvider to automatically register handlers for *.db, *.sqlite, and *.sqlite3 file extensions. When opened, the binary contents are parsed client-side using sql.js (WebAssembly) in a sandboxed Webview without modifying your original file unless explicitly edited.
Does ChibiSQL work in Cursor and Antigravity IDE?
Yes! Because Cursor and Antigravity IDE are built upon the VS Code extension architecture, ChibiSQL works identically across all modern VS Code-compatible forks.
Can ChibiSQL preview images stored in database BLOBs?
Yes. ChibiSQL inspects binary header signatures to detect PNG, JPEG, GIF, BMP, and WebP data (including Northwind OLE image headers) and displays interactive thumbnails inside the table grid with a full-size preview and export button in the Row Inspector.
Is ChibiSQL safe for large databases?
ChibiSQL utilizes paginated queries (LIMIT and OFFSET) so that only the currently viewed page (default 50 rows) is rendered into the DOM, keeping rendering fast and memory consumption low even on tables with hundreds of thousands of records.
Contributions, issues, and feature requests are welcome!
- Fork the project on GitHub.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
This project is licensed under the MIT License Β© 2026 Nonx2360.