caioricciuti/duck-ui

The fully open-source DuckDB workbench that runs in your browser. SQL editor, notebooks, charts, AI assistant. No install, no signup, no backend — your data never leaves the tab.

What it solves

Duck-UI provides a fully browser-based, serverless workbench for DuckDB. It solves the problem of needing to install software or manage backend infrastructure to analyze data, allowing users to perform SQL queries, run Python notebooks, and create dashboards entirely within their browser tab.

How it works

It runs DuckDB via WebAssembly (WASM) directly in your browser. Because it is client-side, your data never leaves your machine. It supports importing various file formats (CSV, Parquet, JSON, etc.) and connecting to remote data sources. It includes a "Duck Brain" AI assistant that can generate SQL or fix errors using either local WebLLM models (which run entirely offline) or external API providers like OpenAI or Anthropic.

Who it’s for

It is designed for data analysts, developers, and researchers who want a portable, privacy-focused tool to explore datasets, share analyses via URLs, or embed interactive SQL explorers into their own websites without managing a database server.

Highlights

  • Fully client-side execution with no backend or sign-up required.
  • Integrated AI assistant for Text-to-SQL and error fixing, with support for offline local models.
  • Supports SQL, Python (Pyodide), and Markdown notebooks with interactive charts.
  • Enables live collaborative sessions via WebRTC without a central server.
  • Portable deployment options including Docker, static hosting, and GitHub Pages.
  • Kiosk mode for publishing read-only, interactive data dashboards.

Related

  • Project
  • Project
  • Project
  • Project
  • Project