Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frectonz/sql-studio
SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, DuckDB]
https://github.com/frectonz/sql-studio
duckdb libsql mariadb mysql postgresql rust sqlite sqlite-browser
Last synced: 5 days ago
JSON representation
SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, DuckDB]
- Host: GitHub
- URL: https://github.com/frectonz/sql-studio
- Owner: frectonz
- License: mit
- Created: 2024-06-11T18:32:36.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2024-06-23T22:09:49.000Z (7 days ago)
- Last Synced: 2024-06-24T08:02:14.438Z (6 days ago)
- Topics: duckdb, libsql, mariadb, mysql, postgresql, rust, sqlite, sqlite-browser
- Language: TypeScript
- Homepage: https://sql-studio.frectonz.io/
- Size: 1.78 MB
- Stars: 1,171
- Watchers: 4
- Forks: 22
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - frectonz/sql-studio - SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, DuckDB] (Rust)
- awesome-stars - frectonz/sql-studio - SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, DuckDB] (TypeScript)
- awesome-stars - frectonz/sql-studio - SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, DuckDB] (Rust)
- awesome-list - frectonz/sql-studio - SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, DuckDB] (Rust)
README
![banner](./logo_banner.jpg)
# SQL Studio
Single binary, single command SQL database explorer. SQL studio supports *SQLite*, *libSQL*, *PostgreSQL*, *MySQL* and *DuckDB*.
### Local SQLite DB File
```bash
sql-studio sqlite [sqlite_db]
```### Remote libSQL Server
```bash
sql-studio libsql [url] [auth_token]
```### PostgreSQL Server
```bash
sql-studio postgres [url]
```### MySQL/MariaDB Server
```bash
sql-studio mysql [url]
```### Local DuckDB File
```bash
sql-studio duckdb [duckdb_file]
```## Features
- Overview page with common metadata.
- Tables page with each table's metadata, including the disk size being used by each table.
- Infinite scroll rows view.
- A custom query page that gives you more access to your db.More features available on the [releases page](https://github.com/frectonz/sql-studio/releases).
## Screenshots
### Overview Page
![overview](./screenshots/overview.png)
![overview dark](./screenshots/overview-dark.png)### Tables Page
![tables](./screenshots/tables.png)
![tables dark](./screenshots/tables-dark.png)### Query Page
![query](./screenshots/query.png)
![query dark](./screenshots/query-dark.png)## Installation
### Install prebuilt binaries via shell script (MacOS and Linux)
```bash
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/frectonz/sql-studio/releases/download/0.1.14/sql-studio-installer.sh | sh
```### Install prebuilt binaries via powershell script
```powershell
powershell -c "irm https://github.com/frectonz/sql-studio/releases/download/0.1.14/sql-studio-installer.ps1 | iex"
```### Updating
```bash
sql-studio-update
```## Nix
```bash
nix shell github:frectonz/sql-studio
```## Contributing
Before executing `cargo run` you need to build the UI because the rust app statically embedded the UI files in the binary.
```bash
git clone [email protected]:frectonz/sql-studio.git
cd sql-studio
nix develop # if you use nix
cd ui
npm install
npm run build
cd ..
cargo run
```