YL

yelog/lazydb

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

66 stars 5 forks 质量 67 趋势 35Apache-2.0

一个美观且便捷的TUI数据库客户端,支持MCP。

概览

LazyDB 是终端的键盘优先数据库工作区。LazyDB 允许您浏览模式、编写和运行 SQL、检查关系、管理连接配置文件,并向编码代理开放项目范围的数据库访问,而无需离开终端。它使用 Rust 编写,支持 PostgreSQL、MySQL、MariaDB、Oracle、SQL Server、SQLite、Resis 和 MongoDB。MongoDB 使用文档浏览器、有界 JSON 控制台以及原生 BSON/EJSON 处理;请参阅 MongoDB 指南了解当前范围和验证限制。 LazyDB 目前处于测试阶段。核心数据库工作区、连接管理、SQL 执行和编码代理接口均可用,但 LazyDB 尚未成为 DataGrip 的生产准备替代。 SQL 编辑器与执行表 数据视图 仪表盘 鼠标支持 MCP 和 Neovim 集成 Neovim LSP(补全与语法高亮) 在工作区内任意位置按 F2 即可打开全局全屏栏,用于命令、连接、控制台、表格和导航。按 F1 还是?

概述(AI 翻译)

LazyDB 是一个以键盘为先的终端数据库工作区。

LazyDB 允许你浏览模式、编写和运行 SQL、检查关系、管理 连接配置文件,并将项目范围的数据库访问暴露给编码代理 无需离开终端。它用Rust编写,支持PostgreSQL, MySQL、MariaDB、Oracle、SQL Server、SQLite、DuckDB、Redis、MongoDB 和 ClickHouse。MongoDB 使用 文档资源管理器、有界 JSON 控制台以及原生 BSON/EJSON 处理;参见 MongoDB 当前范围和验证限制指南。

DuckDB 可作为嵌入式文件或内存数据库提供。参见 DuckDB 连接网址、会话行为及支持指南 目录和数据操作。

项目状态: LazyDB 目前处于测试阶段。核心数据库工作区, 连接管理、SQL 执行和编码代理接口是可用的, ,但 LazyDB 还不是 DataGrip 的生产准备替代品。

SQL 编辑器与执行 表格数据视图

仪表盘 鼠标支持

MCP与Neovim集成 Neovim LSP(完成与语法高亮)


快速开始

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

LazyDB

A keyboard-first database workspace for your terminal, built in Rust.

Quickstart · Databases · Documentation · Releases

  • Explore databases — browse schemas, table data, Redis/Valkey keys, and MongoDB documents.
  • Write SQL — use Vim-style editing, catalog-aware completion, and multiple consoles with query results and transaction controls where supported.
  • Work in your tools — integrate with Neovim, coding agents, MCP, and a JSON CLI.

LazyDB is in beta. Feature availability varies by database; see the capability reference and current limitations.

Quickstart

macOS / Linux

curl -fsSL https://lazydb.yelog.org/install.sh | sh

Windows (PowerShell, x86_64)

powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "irm https://lazydb.yelog.org/install.ps1.txt -ErrorAction Stop | iex"

Homebrew (macOS)

brew install yelog/tap/lazydb

Follow the installer’s shell instructions or open a new terminal, then start LazyDB:

lazydb
  1. In Explorer, select No profiles and press Enter to create your first connection. Choose a driver, enter its connection details, then save and connect.
  2. Open a table to inspect its data, or press F6 to open the SQL console manager.
  3. Press F2 to search commands and objects. F1 opens help; the footer and help view show contextual controls for the active pane and mode.

Use Ctrl-c to quit from the workspace.

SQL consoles also work offline: write, format, and save SQL before connecting.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →