- Category
- Developer Tools
- Rank
- No. 1463Tools index
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data Processing
- GitHub
- 47 stars
- Latest release
- v0.2.0-beta.18
- Date
About
ChKit is open-source tooling from ObsessionDB for managing ClickHouse schemas, migrations and backfills. You define tables, materialized views and column types in TypeScript, generate DDL migrations from that schema, check for drift in CI, and reuse the types when ingesting data. For breaking schema changes it generates a backfill sequence into an intermediate table, and existing schemas can be pulled down to start from.
At a glance
ChKit turns TypeScript definitions for ClickHouse into SQL migrations and checks whether the live schema has drifted. It is worth trying if your team wants to review schema changes in Git before applying them.
Good fit
TypeScript projects that manage ClickHouse tables and related objects across environments.
Consider something else when
Skip it if your database is outside ClickHouse or your team needs to keep an existing migration system as the sole schema authority.
Start here
Define a scratch table and generate its first migration offline. Inspect the SQL, including any database creation. Apply it only to a test database, then change the test schema and check whether drift is reported.
Cost and requirements
The MIT-licensed CLI and schema packages support Bun or Node.js 22 or later for the documented npm setup. Live operations require a ClickHouse endpoint and credentials.
Limits to know
A connected migration preview can initialize its journal. Generation and drift checks do not make structural changes safe by themselves. Review target, permissions and the generated SQL before applying, especially when adopting an existing database.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.