Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 2.19 KB

File metadata and controls

88 lines (63 loc) · 2.19 KB

SDM ClickHouse

SDM ClickHouse is a Tauri desktop client for ClickHouse with a connection-first workflow inspired by Tiny RDM.

What ships in v0.1.2

  • Saved ClickHouse connections with local profile storage and password handling outside SQLite.
  • Database and table explorer with column inspection and DDL viewing.
  • Multi-tab SQL workspace with execution, cancellation, paging, formatting, and explain flows.
  • Query history, reusable snippets, audit logs, and application logs.
  • Guarded data operations for insert, update, delete, create, and drop actions.
  • Connection diagnostics, profile import/export, metadata backup/restore, and in-app update checks.
  • Connection overview insights for database, table, storage, and activity summaries.

Stack

  • Tauri v2
  • React 19 + TypeScript + Vite
  • shadcn/ui + Tailwind CSS
  • SQLite for local metadata
  • ClickHouse HTTP(S) for database communication

Prerequisites

  • Node.js 20+
  • pnpm 10+
  • Rust toolchain (rustup, cargo, rustc)
  • Platform build tooling for Tauri bundles

Setup

pnpm install

If Rust is missing from the current PowerShell session:

$env:Path += ";$env:USERPROFILE\\.cargo\\bin"

Run

pnpm tauri dev

Browser-only Vite preview is useful for layout work, but the product depends on the Tauri runtime for commands and native dialogs.

Build

pnpm build
pnpm tauri build

Quality Checks

pnpm typecheck
pnpm lint
pnpm format:check
pnpm knip
cargo check --manifest-path src-tauri/Cargo.toml

Installers and Updates

One-line installers are included for GitHub Releases:

curl -fsSL https://raw.githubusercontent.com/lord007tn/sdm-clickhouse/main/install.sh | bash
irm https://raw.githubusercontent.com/lord007tn/sdm-clickhouse/main/install.ps1 | iex

The release pipeline publishes cross-platform desktop bundles, a Windows portable ZIP, and latest.json for updater clients.

Documentation