You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+57-13Lines changed: 57 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# CLAUDE.md - RowBinary Visualizer
1
+
# CLAUDE.md - ClickHouse Format Explorer
2
2
3
3
## Project Overview
4
4
5
-
A web-based tool for visualizing ClickHouse RowBinary wire format data. Features an interactive hex viewer with AST-based type visualization, similar to ImHex. The tool queries a local ClickHouse database and presents the raw binary data alongside a decoded AST tree with bidirectional highlighting.
5
+
A tool for visualizing ClickHouse RowBinary and Native wire format data. Features an interactive hex viewer with AST-based type visualization, similar to ImHex. Available as a web app (Docker) or an Electron desktop app that connects to your existing ClickHouse server.
6
6
7
7
**Current scope**: RowBinaryWithNamesAndTypes and Native formats.
8
8
@@ -11,16 +11,22 @@ A web-based tool for visualizing ClickHouse RowBinary wire format data. Features
Copy file name to clipboardExpand all lines: README.md
+37-4Lines changed: 37 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ClickHouse Format Explorer
2
2
3
-
A web-based tool for visualizing ClickHouse RowBinary and Native format data. Features an interactive hex viewer with AST-based type visualization.
3
+
A tool for visualizing ClickHouse RowBinary and Native format data. Features an interactive hex viewer with AST-based type visualization. Available as a web app or Electron desktop app.
4
4
5
5

6
6
@@ -11,6 +11,7 @@ A web-based tool for visualizing ClickHouse RowBinary and Native format data. Fe
11
11
-**AST Tree**: Collapsible tree view showing decoded structure
12
12
-**Interactive Highlighting**: Selecting a node in the tree highlights corresponding bytes in the hex view (and vice versa)
13
13
-**Full Type Support**: All ClickHouse types including Variant, Dynamic, JSON, Geo types, Nested, etc.
14
+
-**Desktop App**: Electron app that connects to your existing ClickHouse server (no bundled DB)
14
15
15
16
## Quick Start (Docker)
16
17
@@ -23,9 +24,39 @@ docker run -d -p 8080:80 rowbinary-explorer
23
24
24
25
Open http://localhost:8080
25
26
26
-
## Development Setup
27
+
## Desktop App
27
28
28
-
For local development (requires ClickHouse at `localhost:8123`):
29
+
For developers who already run ClickHouse locally. Download the latest release for your platform from the [Releases](../../releases) page:
30
+
31
+
| Platform | Format |
32
+
|----------|--------|
33
+
| Windows |`.exe` (NSIS installer) |
34
+
| macOS |`.dmg`|
35
+
| Linux |`.AppImage` / `.deb`|
36
+
37
+
### Configuration
38
+
39
+
The app looks for a `config.json` file next to the executable:
40
+
41
+
```json
42
+
{
43
+
"host": "http://localhost:8123"
44
+
}
45
+
```
46
+
47
+
You can also change the host from the **Host** field in the toolbar. Changes are saved back to `config.json`.
48
+
49
+
### Building from source
50
+
51
+
```bash
52
+
npm install
53
+
npm run electron:dev # Dev mode with hot reload
54
+
npm run electron:build # Package installer for current platform
55
+
```
56
+
57
+
## Web Development Setup
58
+
59
+
For local web development (requires ClickHouse at `localhost:8123`):
29
60
30
61
```bash
31
62
npm install
@@ -37,7 +68,7 @@ Open http://localhost:5173
37
68
## Usage
38
69
39
70
1. Enter a SQL query in the input box
40
-
2. Click "Run Query" to fetch data from ClickHouse (expects local instance at `localhost:8123`)
71
+
2. Click "Execute" to fetch data from ClickHouse
41
72
3. Explore the parsed data:
42
73
- Click nodes in the AST tree to highlight bytes
43
74
- Click bytes in the hex viewer to select the corresponding node
0 commit comments