English | 中文
Desktop application for browsing Apache IoTDB data and running SQL against it through the IoTDB REST API (Tree REST v2 and Table REST v1).
- Tree connections post to
/rest/v2/queryfor reads and/rest/v2/nonQueryfor everything else; Table connections use/rest/table/v1/queryand/rest/table/v1/nonQueryand add the selecteddatabaseto every request body. - Browse databases (
SHOW DATABASES), then devices (SHOW DEVICES) or tables (SHOW TABLES), then the schema (SHOW TIMESERIESfor Tree,DESCRIBEfor Table). - The data grid pages through one object 20 rows at a time with
ORDER BY time ... LIMIT 21 OFFSET n- the extra row only tells the UI whether a next page exists - plus an optional newest-first order and a time-range filter. - The SQL console runs arbitrary statements; a response is capped at 8 MiB and INT64 values are parsed as strings, so timestamps beyond
Number.MAX_SAFE_INTEGERsurvive intact.
| IoTDB version | Data model | REST protocol | Node.js |
|---|---|---|---|
| 2.x | Tree | REST v2: /rest/v2/query, /rest/v2/nonQuery over HTTP or HTTPS |
20 or newer (CI: 20.x, 22.x) |
| 2.x | Table | REST v1: /rest/table/v1/query, /rest/table/v1/nonQuery over HTTP or HTTPS |
20 or newer (CI: 20.x, 22.x) |
The application window runs on Electron 11.5, pinned in package.json and installed by npm ci.
Prerequisites: Node.js 20 or newer, npm 9 or newer, and a desktop session - the app opens an Electron window.
git clone https://github.com/iotdb-ecosystem/iotdb-data-browser.git
cd iotdb-data-browser
npm ci
npm startnpm run build still packages installers with electron-builder 22 from the inherited configuration; CI does not run it.
npm testCI runs npm ci and npm test on Node 20.x and 22.x - nothing else, so no Electron packaging and no desktop session are involved. No running IoTDB is required either: the suite starts a throwaway HTTP server, replays Tree and Table REST payloads, and checks routing, paging SQL, identifier validation, error mapping and INT64 decoding. npm run test:iotdb:live is the opt-in counterpart that talks to a real server, configured through IOTDB_REST_URL, IOTDB_USER and IOTDB_PASSWORD.
Connection profiles are stored in the window's localStorage under links without the password; passwords are held in memory for the session only.
| Field | Default | Notes |
|---|---|---|
| Host | - | hostname or IP address, IPv6 literals in brackets |
| REST port | 18080 |
IoTDB REST port |
| Protocol | http |
http or https |
| SQL model | table |
tree (REST v2) or table (REST v1) |
| Username | - | sent as HTTP Basic auth, normally root |
| Password | - | sent as HTTP Basic auth, never written to disk |
| Timeout | 15000 ms | per request; a response larger than 8 MiB is aborted |
A profile therefore looks like this:
Host iotdb.example
REST port 18080
Protocol https
SQL model tree
Username root
Password ******
- Run
npm start. - Click 新建连接 (new connection) and fill in the profile above.
- Select a database and an object for the data grid, or type a statement in the SQL tab:
SHOW DATABASES;
SELECT * FROM root.factory.room LIMIT 20;Table databases use plain names such as factory and the same SELECT * FROM sensors form.
Independent project. Maintained here; contributions and adoption inquiries are welcome.
Apache-2.0, see LICENSE. Derived from a 2021 community desktop GUI project by skye published under CC0-1.0, whose text is kept verbatim in licenses/CC0.txt; see NOTICE.



