Home
Softono
datastoria

datastoria

Open source TypeScript
320
Stars
16
Forks
2
Issues
5
Watchers
1 month
Last Commit

About datastoria

AI-native ClickHouse console for your cluster diagnostics and query generation, optimization and data visualization.

Platforms

Web Self-hosted

Languages

TypeScript

DataStoria

The AI-native ClickHouse console for your cluster diagnostics, query generation, evidence-based optimization, intelligent visualization.

Demo

β–Ά Watch demo

πŸ“– More demo/screenshots at docs.datastoria.app


πŸš€ Key Features

πŸ€– AI Features

  • Natural Language Data Exploration β€” Describe your data needs in plain English and receive optimized ClickHouse queries instantly.
  • Smart Query Optimization β€” AI inspects schema, validates SQL, collects evidence, and recommends concrete ClickHouse performance improvements.
  • Intelligent Visualization β€” Ask for a chart in plain language and DataStoria generates both the SQL and the visualization spec for time series, bar, pie, and table views.
  • Agent SKILLs Supported β€” Skill-based agent architecture that saves tokens across multi-turn conversations; apply the Official ClickHouse Agent Skills to your ClickHouse
  • Multiple Model Providers β€” Use OpenAI, Anthropic Claude, Google Gemini, GitHub Copilot, OpenRouter, Groq, Cerebras, Nebius and more.
  • GitHub Copilot Integration β€” Sign in with GitHub device flow and use your existing Copilot subscription for chat, query assistance, and other AI-powered workflows.

⚑ Powerful Query Experience

  • Advanced SQL Editor β€” Enjoy syntax highlighting, auto-completion, and query formatting for a seamless coding experience.
  • Smart Error Diagnostics β€” Pinpoint syntax errors instantly with precise line and column highlighting, and get AI-powered fix suggestions with one click.
  • System Log Inspector β€” Dive deep into query execution with timeline views, topology graphs, and performance analysis as well as Materialized Views, ZooKeeper states.
  • One-Click Explain β€” Instantly understand query execution plans with visual AST and pipeline views.
  • Dependency Graph β€” Visualize table relationships and trace data flows through Materialized Views, Distributed tables, and external systems.

πŸ“Š Cluster Monitoring & Management

  • Multi-Cluster Support β€” Manage multiple ClickHouse clusters effortlessly from a single interface.
  • Multi-Node Dashboard β€” Monitor all nodes with real-time metrics, merge operations, and replication status.
  • Cluster wide Dashboards β€” Access pre-configured panels for query performance, ZooKeeper status, and more.
  • Schema Explorer β€” Navigate databases, tables, and columns with an intuitive tree view.

πŸ”’ Privacy & Security

  • 100% Local Execution β€” All SQL queries run directly from your browser to your ClickHouse server, ensuring complete privacy.
  • No Data Collection β€” Your credentials and query results never leave your machine.
  • Bring Your Own API Key β€” Use your own LLM API keys for AI features, keeping your data under your control.
  • Browser-Side Visualization Rendering β€” For AI-generated visualizations, the model produces SQL and chart specs while your browser fetches and renders the data locally.

🌐 Experience the app

Visiting dataStoria.app to experience all features without any installation.


πŸ› οΈ Build from Source

Prerequisites:

  • Node.js v22 or later
  • pnpm (install via npm install -g pnpm)

Follow these steps to build and run locally:

# Clone the repository
git clone --recurse-submodules https://github.com/FrankChen021/datastoria.git
cd datastoria

# Install dependencies
npm install --force

# Start the development server
npm run dev

Open http://localhost:3000 in your browser and connect to your ClickHouse instance.


🐳 Running with Docker

The easiest way to run DataStoria is using the pre-built Docker image:

docker run -d -p 3000:3000 frankchen021/datastoria:latest

Then open http://localhost:3000 in your browser.

The Docker image supports both linux/amd64 and linux/arm64 platforms, so it runs natively on Intel/AMD machines as well as Apple Silicon Macs and ARM-based servers.


πŸ“– Documentation

User Manual

Development


🧰 Tech Stack


πŸ“œ License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.


DataStoria is an AI-native ClickHouse console for modern query, visualization, and diagnostics workflows.