Show HN:AGX——ClickHouse 开源数据探索工具(新的标准?)
Show HN: AGX – Open-Source Data Exploration for ClickHouse (The New Standard?)

原始链接: https://github.com/agnosticeng/agx

agx 是一款跨平台桌面应用程序,它利用 Tauri 和 SvelteKit 提供了一个用户友好的界面,用于使用 ClickHouse 的嵌入式数据库引擎 (chdb) 来探索和查询数据。其特性包括:现代化的交互式 SQL 查询编辑器(带有语法高亮)、模式浏览器、表格结果显示以及拖放文件支持。agx 考虑到性能,使用 Rust 编写后端操作,并通过 Tauri 的 IPC 桥与 SvelteKit 前端进行通信。安装选项包括 Docker Compose 或直接安装,需要 Node.js、Rust 工具链以及 Tauri 的系统依赖项。预构建的 Agnostic ClickHouse UDF 可以通过简单的脚本安装。该项目是 MIT 许可下的开源项目,欢迎贡献和修改。

AGX团队开源了其专为ClickHouse设计的數據探索工具,旨在提供比Tabix和DataGrip更快、更面向开发者的替代方案。AGX直接构建在ClickHouse之上(嵌入式或远程),具有类似IDE的界面,包括标签页、Monaco编辑器和键盘中心工作流程,无需复杂的设置或基础设施。他们设想它非常适合探索实时区块链数据,但也适用于一般的ClickHouse用途。 可以在agx.app上进行在线演示。一位Hacker News上的评论者询问了该工具相较于Tabix/DataGrip的具体优势、目标用例、它解决的与先前方法相比的问题、在此背景下数据探索的含义,以及它与ClickHouse的交互方式,包括数据隐私问题,以及它使用的表格库。

原文

agx is a desktop application built with Tauri and SvelteKit that provides a modern interface for exploring and querying data using ClickHouse's embedded database engine (chdb).

Preview

  • Native desktop application performance with web technologies
  • Interactive SQL query editor with syntax highlighting
  • Schema browser for exploring data structure
  • Results displayed in a tabular format
  • Support for drag & drop file operations
  • Cross-platform compatibility (macOS, Linux, Windows)
  • Node.js (v16 or later)
  • Rust toolchain
  • System dependencies for Tauri

https://agx.app

  1. Clone the repository:
git clone https://github.com/agnosticeng/agx
cd agx
  1. Run with docker compose:
  1. Access the application via http://localhost:8080
  1. Clone the repository:
git clone https://github.com/agnosticeng/agx
cd agx
  1. Download and setup chdb library:
./src-tauri/update_libchdb.sh
  1. Install dependencies:
  1. Run in development mode:
  1. Build for production:
agx/
├── src/                 # Frontend source code (SvelteKit)
│   ├── lib/             # Shared components
│   └── routes/          # Application routes
├── src-tauri/           # Backend source code (Rust)
│   ├── src/             # Rust source files
│   └── Cargo.toml       # Rust dependencies
├── package.json         # Node.js dependencies
└── README.md

Install Agnostic ClickHouse UDFs with a single command:

curl -fsSL https://raw.githubusercontent.com/agnosticeng/agx/main/scripts/install_agnostic_udfs.sh | sh
  • The frontend is built with SvelteKit, offering a reactive and efficient UI
  • The backend uses Tauri with Rust, providing native performance and security
  • Communication between frontend and backend happens through Tauri's IPC bridge
  • Data querying is handled by chdb, an embedded ClickHouse engine

Contributions are welcome! Please feel free to submit a Pull Request.

This project is licensed under the MIT License - see the LICENSE file for details.

The MIT License is one of the most popular open-source licenses because it:

  • Is simple and permissive
  • Allows commercial use
  • Allows modification and distribution
  • Allows private use
  • Has minimal restrictions
  • Is compatible with many other licenses
联系我们 contact @ memedata.com