MIT License

项目介绍

frectonz/sql-studio 是一个托管在 GitHub 上的开源项目,主要使用 Rust 编写,采用 MIT License 许可证,目前获得 3.7k 个 Star、132 次 Fork。

仓库全名
frectonz/sql-studio
开源许可证
MIT License
Star 数
3.7k
Fork 数
132
未关闭 Issue
4

README 摘要

SQL Studio Single binary, single command SQL database explorer. SQL studio supports SQLite, libSQL, PostgreSQL, MySQL, DuckDB, ClickHouse, Microsoft SQL Server, Parquet and CSV. Documentation Local SQLite DB File libSQL PostgreSQL Server MySQL/MariaDB Server Local DuckDB File Local Parquet File Local CSV File ClickHouse Server Microsoft SQL Server Features Overview page with common metadata. Tables page with each…

完整内容见 GitHub 原始 README 或本页 。

常见问题

sql-studio 用什么语言开发?

主要使用 Rust 编写,采用 MIT License 许可证,目前有 3.7k 个 Star。

sql-studio 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 sql-studio 的源码?

可以直接克隆仓库:git clone https://github.com/frectonz/sql-studio.git;安装与运行步骤见仓库 README。

sql-studio 最近还在维护吗?

仓库最近一次更新为 8月26日,当前有 4 个未关闭 Issue;Star 数为 3.7k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, ClickHouse, DuckDB, Microsoft SQL Server]

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
3978
价值分
2258
活跃状态
活跃

语言占比

CSS
HTML
Nix
Rust
Shell
TypeScript

Release

README

banner

SQL Studio

Single binary, single command SQL database explorer. SQL studio supports SQLite, libSQL, PostgreSQL, MySQL, DuckDB, ClickHouse, Microsoft SQL Server, Parquet and CSV.

Documentation

Local SQLite DB File

sql-studio sqlite [sqlite_db]

libSQL

sql-studio libsql [database] [auth_token]

PostgreSQL Server

sql-studio postgres [url]

MySQL/MariaDB Server

sql-studio mysql [url]

Local DuckDB File

sql-studio duckdb [duckdb_file]

Local Parquet File

sql-studio parquet [parquet_file]

Local CSV File

sql-studio csv [csv_file]

ClickHouse Server

sql-studio clickhouse [URL] [USER] [PASSWORD] [DATABASE]

Microsoft SQL Server

sql-studio mssql [connection]

Features

  • Overview page with common metadata.
  • Tables page with each table’s metadata.
  • Queries page with more access to your db.
  • Infinite scroll rows view.
  • Rich SQL IntelliSense for custom queries.

More features available on the releases page.

Screenshots

Overview Page

schema dark

Tables Page

query dark

Query Page

table dark

Schema Page

overview dark

Installation

Install prebuilt binaries via shell script (MacOS and Linux)

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/frectonz/sql-studio/releases/download/0.1.53/sql-studio-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/frectonz/sql-studio/releases/download/0.1.53/sql-studio-installer.ps1 | iex"

Updating

sql-studio-update

Nix

nix shell nixpkgs#sql-studio

Docker

A Docker image of SQL Studio is available on Docker Hub. The following is an example of how to run SQL Studio with the Postgres driver on port 3030.

docker run -p 3030:3030 frectonz/sql-studio /bin/sql-studio \
  --no-browser \
  --no-shutdown \
  --address=0.0.0.0:3030 \
  postgres \
  postgres://localhost:5432/

Contributing

Before executing cargo run you need to build the UI because the rust app statically embedded the UI files in the binary.

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

评论

暂无评论