Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basemax/sqlite-browser
SQLite Browser is a web-based SQLite database browser that allows you to load, execute SQL queries, and view results directly in your browser. It is designed to work with SQLite .db files, enabling users to interact with their SQLite databases via a user-friendly interface.
https://github.com/basemax/sqlite-browser
javascript js online-sqlite sql sqlite sqlite-webassembly sqlite3 wasm web-assembly webasm webassembly webassembly-demo webassembly-sqlite webassembly-tutorial
Last synced: 19 days ago
JSON representation
SQLite Browser is a web-based SQLite database browser that allows you to load, execute SQL queries, and view results directly in your browser. It is designed to work with SQLite .db files, enabling users to interact with their SQLite databases via a user-friendly interface.
- Host: GitHub
- URL: https://github.com/basemax/sqlite-browser
- Owner: BaseMax
- License: mit
- Created: 2025-01-05T14:38:46.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2025-01-05T17:31:40.000Z (26 days ago)
- Last Synced: 2025-01-12T21:12:52.698Z (19 days ago)
- Topics: javascript, js, online-sqlite, sql, sqlite, sqlite-webassembly, sqlite3, wasm, web-assembly, webasm, webassembly, webassembly-demo, webassembly-sqlite, webassembly-tutorial
- Language: JavaScript
- Homepage: https://basemax.github.io/sqlite-browser/client/sqlite_browser_ui.html
- Size: 552 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQLite Browser
SQLite Browser is a web-based SQLite database browser that allows you to load, execute SQL queries, and view results directly in your browser. It is designed to work with SQLite `.db` files, enabling users to interact with their SQLite databases via a user-friendly interface.
## Features
- Load SQLite `.db` files
- Execute SQL queries and view results in table format
- Browse tables in the database
- Save modified databases
- SQL editor with syntax highlighting
- Supports exporting the database to a file![SQLite Browser](demo.jpg)
## Installation
1. Clone the repository:
```bash
git clone https://github.com/BaseMax/sqlite-browser.git
cd sqlite-browser
```2. Install dependencies:
```bash
npm install
```3. Start the server:
```bash
node serve.js
```4. Open the browser and navigate to `http://localhost:4848/`.
## Usage
- Load a database: Use the file input at the top to load an SQLite .db file.
- Execute SQL: Write your SQL query in the editor and click "Execute SQL".
- Save the database: After making changes, click "Save Database" to download the modified .db file.
- Browse tables: Click on any table name in the list to populate the editor with a SELECT query for that table.## File Structure
```
.
├── client
│ ├── assets
│ │ ├── css
│ │ │ ├── bootstrap.min.css
│ │ │ ├── codemirror.min.css
│ │ │ └── custom.css
│ │ └── js
│ │ ├── bootstrap.min.js
│ │ ├── codemirror.min.js
│ │ ├── popper.min.js
│ │ ├── script.js
│ │ ├── sql-wasm.wasm
│ │ ├── sql.min.js
│ │ └── worker.sql-wasm.js
│ └── sqlite_browser_ui.html
├── LICENSE
├── README.md
├── serve.js
└── .git
```### License
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright © 2025 Max Base