Tags: hfmsio/dbxlite
Tags
feat: add HTTP mode support for DuckDB CLI integration Add support for running dbxlite as a replacement UI for `duckdb -ui`, connecting to DuckDB's embedded HTTP server instead of using WASM. Server Mode: - DuckDB HTTP Connector with binary protocol deserialization - Handles all DuckDB types (INTERVAL, UUID, TIME, DECIMAL, etc.) - SSE subscription for real-time catalog change notifications - Export to Parquet/CSV/JSON via server filesystem Mode Detection: - Auto-detects WASM vs HTTP based on port (4213 = HTTP mode) - Feature flags adapt UI per mode (extensions, filesystem, BigQuery) Settings & Server Info: - Server tab with extensions, secrets, settings, variables - Load/install extensions, edit DuckDB settings (threads, memory_limit) - Enhanced TableInfoModal with Indexes and Constraints tabs Distribution: - CLI package `dbxlite-ui` published to npm - `npx dbxlite-ui` serves local assets for `duckdb -unsigned -ui` - Hosted option at sql.dbxlite.com (no install required) Testing: - Comprehensive hook tests (useMode, useServerDatabases, useServerInfo) - 753 tests passing 69 files changed, +9948/-232 lines