1 Star 5 Fork 1

佲日 / WebSQL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Web-SQL

web版数据库管理工具,由go+vue编写,可以做到无依赖跨平台,编译后无需安装运行环境,支持本地模式和远程部署模式,支持基于操作系统的人脸/指纹识别登录。开源协议宽松,可以自由使用,以满足个人和企业需求。

演示地址 http://124.221.221.247:8090

管理员账号:admin/1

指纹/人脸识别只在用户支持且https下证书有效或http下使用localhost访问才被支持。

1.png

运行参数

-port 运行端口号,默认80

-https 是否为https,默认false

-remote 是否为远程模式,默认false。远程模式下有严格的权限管理,也有会话管理,适合远程、多实例部署。false下没有权限管理,仅支持本机使用。

配置文件

文件名:config.json

{
    // 详情参考https://pkg.go.dev/modernc.org/sqlite
    // https://pkg.go.dev/github.com/go-sql-driver/mysql
    // https://pkg.go.dev/github.com/sijms/go-ora/v2
    "db": {
        "type": "sqlite",  // sqlite、 mysql、oracle(oracle暂时只有sql相关操作靠谱)
        "dsn": "nway.sqlite3.db"    // sqlite:数据库文件路径;mysql:user:password@tcp(host:port)/db?params
    },
    // 详情参考 https://pkg.go.dev/github.com/redis/go-redis/v9
    "redis": {
        "addr": "", // host:port
        "password":"",
        "db": 0
    }
}

构建自己的Docker镜像

FROM zdtjss/websql:latest

COPY ./config.json .
MIT License Copyright (c) 2022 佲日 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

web版数据库管理工具,由go+vue编写,可以做到无依赖跨平台,编译后无需安装运行环境,支持本地模式和远程部署模式,支持基于操作系统的人脸/指纹识别登录。开源协议宽松,可以自由使用,以满足个人和企业需求 展开 收起
MIT
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/nway/websql.git
git@gitee.com:nway/websql.git
nway
websql
WebSQL
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891