Forked from caioricciuti/vs-duckdb-viewer (MIT) with cross-platform native VSIX packaging, .tsv and Apache Arrow IPC / Feather support, deduplicated webview hosting, and deep-linking (dripview.openAt) for integration with DripGrep.
DripView and @dripview AI (violet) inspecting DuckDB, live SQL, and files in VS Code, shown alongside optional companions DripGrep (cyan) and DripDB (amber).
▶ Watch the 2-minute ecosystem walkthrough (DripGrep + DripView + DripDB)
2-minute walkthrough (1080p MP4) — Cross-format search in DripGrep, relational trace into DripView, @dripview AI Postgres join & chart, and live DripDB browsing. Click the preview to watch.
Features
- Auto-open tabular data files —
.parquet, .duckdb, .ddb, .sqlite, .sqlite3, .xlsx, .arrow, .arrows, .ipc, .feather, and gzipped data files (.csv.gz, .tsv.gz, .jsonl.gz, .ndjson.gz, .json.gz) open directly in DripView on click/double-click
- Right-click & optional plain-text opener — Right-click any supported file → Open with DripView; plain-text data files (
.csv, .tsv, .jsonl, .ndjson, .json) register DripView in Open With… / Reopen Editor With… without overriding your default text editor
- Schema tree — Collapsible, resizable sidebar with live table/column filtering, grouped by schema (beyond
main) showing tables, columns, types, and lazy/estimated row counts (~N to avoid scanning large MySQL/PostgreSQL or local multi-table databases, with on-demand Exact count)
- Large-result & cell safety — Custom SQL queries stream with a configurable row cap (
dripview.maxQueryRows, default 10000; table browsing and file exports are uncapped) and paginate (50 / 100 / 500 rows/page with First/Last & page jump) from the extension host; oversized cells are truncated in the grid and loaded on demand on double-click/copy, while nested Struct/List/Map/VARIANT values render as BigInt-safe JSON
- Export & copy — Save query results to CSV, Parquet, or JSON on disk, copy the current page as CSV/JSON, or select any rectangular cell range (click+drag,
Shift+Arrow, row numbers, Ctrl/Cmd+A) and press Ctrl/Cmd+C for spreadsheet-ready TSV copy-paste with live selection Sum / Avg stats
- Universal column sorting & header quick actions — Click any column header (both raw tables and custom SQL results) to sort, double-click resize handles to auto-fit, or use the hover
▾ / right-click header menu for one-click Value counts (GROUP BY), Filter / Exclude NULLs / Only NULLs, and untruncated column value copying
- SQL editor — Freely resizable CodeMirror 6 SQL editor with syntax highlighting, bracket matching, search, DuckDB autocomplete, run-selection support (
Ctrl/Cmd+Enter), and query cancellation (Cancel)
- Data profiling, charts & diff — One-click
SUMMARIZE and DESCRIBE, resize-aware bar/line/scatter SVG charts (up to 2,000 rows across pages with NULL-safe gaps and preserved axis selections), and full-table Snapshot / Compare diffing (old → new, NULL vs "", paginated with Only changes filter)
- Open & attach databases (
DripView: Open Database / DripView: Attach Database) — Open local .duckdb/.sqlite files or saved DripDB (dripgrep.dripdb) MySQL & PostgreSQL connections straight from the Command Palette, or attach additional data files, local databases, and DripDB connections into the active viewer via the Schema pane + button or DripView: Attach Database to query and join across sources in SQL
- Broad format & remote database engine — DuckDB (
.duckdb, .ddb, .db), SQLite (.sqlite, .sqlite3, magic-byte-sniffed .db), multi-sheet Excel (.xlsx), live MySQL & PostgreSQL connections (dripdb:// via dripgrep.dripdb using DuckDB ATTACH ... TYPE MYSQL / POSTGRES, READ_ONLY or native mysql2 / pg fallback via dripview.remoteEngine), Parquet, Arrow IPC / Feather (via nanoarrow), CSV, TSV, JSON, JSONL, and NDJSON (plain or .gz)
- Non-blocking DB handles — Idle-closes read-only
.duckdb and .sqlite handles shortly after queries settle (reopening transparently on the next action) so open viewer tabs don't lock databases against external scripts or dripgrep
- Native VS Code AI Chat (
@dripview & Language Model Tools) — When VS Code Chat is available, click Ask AI in the toolbar (or invoke @dripview / #dripviewContext, #dripviewSources, #dripviewAttach, #dripviewQuery in Agent mode) to use your existing VS Code chat model to discover workspace files, local .duckdb/.sqlite files, and DripDB connections, attach them read-only into the active tab, and run cross-source SQL joins live in the grid (with read-only SQL validation and a one-time first-use notice)
- Deep-link & DripGrep integration — Exposes
dripview.openAt (dataViewerDeepLink v1) to open a file at a specific table, row, set of rows, column, or SQL filter; when DripGrep (dripgrep.dripgrep) is installed, right-clicking a cell, grid column header, or Schema column offers Search <column>:<value> in DripGrep (dripgrep.searchWhere) and Search column <column> in DripGrep (dripgrep.searchSchema)
Note on Arrow, SQLite & Excel extensions: Opening Arrow/Feather files lazily runs LOAD nanoarrow (FROM community), SQLite files run LOAD sqlite, and Excel (.xlsx) files run LOAD excel. First use requires internet access once to download the DuckDB extension, which is cached locally afterward.
Install
Search for DripView — DuckDB & Data Viewer (dripgrep.dripview) in the VS Code Marketplace or Open VSX:
code --install-extension dripgrep.dripview
Drip Ecosystem
Each tool works standalone and integrates seamlessly when installed together (code --install-extension dripgrep.<id>):
Build locally
Prerequisites: Node.js 20+ (tested on Node 22 LTS), npm
npm install
npm run typecheck
npm run build
npm run smoke-test
Package
npm run package:linux-x64
npm run package:linux-arm64
npm run package:darwin-arm64
npm run package:darwin-x64
npm run package:win32-x64
Platform-specific .vsix targets are built in CI via .github/workflows/release.yml so @duckdb/node-bindings-<target> is bundled for every OS/architecture.
Keyboard shortcuts
| Action |
Shortcut |
| Run query |
Ctrl+Enter / Cmd+Enter |
| Explain query |
Ctrl+Shift+Enter / Cmd+Shift+Enter |
| Focus editor |
Ctrl+L / Cmd+L |
| Navigate grid |
Arrow keys / Home / End |
| Extend selection |
Shift+Arrow / Shift+Click |
| Select page in grid |
Ctrl+A / Cmd+A |
| Copy selection as TSV |
Ctrl+C / Cmd+C |
| Inspect active cell |
Double-click / Enter / Space |
| Close modal / clear |
Escape |
AI-Native Development
This project is built using an AI-native workflow: AI coding agents write a large share of the implementation, while architecture, design decisions, review, and automated verification are human-directed. Every change is still expected to meet normal engineering standards — clean architecture, strict typing, tests, and real verification against actual data files.
Contributions: AI-assisted PRs and issues are explicitly welcome (see CONTRIBUTING.md). The bar is the same regardless of how the code was written: keep changes focused, make sure tests and checks pass, and be able to explain and stand behind what you submit.
If you prefer software developed strictly without AI assistance, this probably isn't the project for you — no hard feelings.
Acknowledgments & License
- vs-duckdb-viewer (Caio Ricciuti) — Upstream MIT project from which DripView was forked.
- DuckDB (
@duckdb/node-api + nanoarrow, sqlite, excel, mysql, postgres extensions) — In-process analytical query engine (MIT).
- CodeMirror 6 (Marijn Haverbeke & contributors) — Webview SQL editor (
MIT).
- DripGrep & DripDB — Companion data search and MySQL / PostgreSQL connection provider extensions.
MIT — see LICENSE and THIRD_PARTY_NOTICES.md. Originally created by Caio Ricciuti; maintained and extended by DripGrep Contributors.
| |