frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

https://demo.duckui.com
96•caioricciuti•4h ago
I built Duck-UI, a web-based SQL editor that runs DuckDB entirely in your browser via WebAssembly. No backend required.

The Problem: Every time I needed to query csv, parquet, or even to play with SQL, I had to either: (a) spin up a Jupyter notebook (b) use the CLI (c) upload to a hosted service.

Friction at every step (TOO MUCH to load a csv or even to test some sql (study)...

The Solution: DuckDB's WASM runtime lets us run SQL analysis client-side. Load CSV/JSON/Parquet files from disk or URL, write SQL, get results instantly. Data stays on your machine. What It Does:

SQL editor with autocomplete & syntax highlighting Import CSV, JSON, Parquet, Arrow (local or remote URLs) Query history, keyboard shortcuts, theme toggle Persistent storage via OPFS (data survives browser refresh) Optional: Connect to external DuckDB servers One-liner Docker deployment or Node 20+ dev server

Technical Details:

DuckDB compiled to WASM; query execution in-browser OPFS-backed persistence Apache 2.0 licensed Runs on Chrome 88+, Firefox 79+, Safari 14+

Use Cases:

Learning SQL without setting up databases Ad-hoc data exploration (CSV → SQL in seconds) Quick prototyping before shipping to production Privacy-conscious workflows (no data leaves your browser)

GitHub: https://github.com/ibero-data/duck-ui Live Demo: https://demo.duckui.com Quick Start: docker run -p 5522:5522 ghcr.io/ibero-data/duck-ui:latest

Would love feedback on: (1) Use cases I'm missing (2) Performance bottlenecks you hit (3) Features that would make this your default SQL scratchpad.

Comments

mgaunard•3h ago
doesn't work well on phones, run query button is not visible.
caioricciuti•3h ago
Thank you for the feedback, adding to the roadmap right now!
CSDude•3h ago
There is an embedded one in DuckDB for a while now and it's great. I get the apeal of yours but this one is much easier to use for same cases:

https://duckdb.org/2025/03/12/duckdb-ui

mrs6969•3h ago
This is not a self hosted one though. You can not use default ui offline, you can not guarantee data safety
nirav72•1h ago
Anyone know if there is a similar selfhosted/run local option?
jasonjmcghee•1h ago
It's very weird they don't offer it by default, but there are workarounds.

(You can use it offline)

https://github.com/duckdb/duckdb-ui/issues/62

chrisweekly•3h ago
I haven't had a chance to play w this yet, but thank you for building and sharing this -- great writeup, sounds v useful and compelling!
gamerrk•3h ago
The autocomplete is really good, UI is snappy as well. Well done!
caioricciuti•2h ago
Thanksss, happy you liked, thanks for trying it out!
mritchie712•3h ago
Really excited about the future of DuckDB:

1. DuckLake is the best datalake spec and their team is improving on the extension rapidly.

2. With DuckDB WASM, you can make apps that would normally have 2 to 3 second latency for network calls work in < 200ms.

We use it as our built-in datalake at Definite and couldn't be happier with it.

0 - https://ducklake.select/

1 - https://www.definite.app/blog/ducklake

curiousgal•3h ago
I am curious is anyone using DuckDB in prod?
mgaunard•3h ago
of course, why wouldn't you?

I was using it even before it hit 1.0

mritchie712•2h ago
Yes, we run DuckDB + DuckLake in prod for https://www.definite.app/
fluxkernel•11m ago
Is DuckLake compatible with Iceberg? I remember they create a new catalog.
jsight•1h ago
Agreed. I just wish that the vector support were fully supported. It has been experimental for a long time.
spooky_deep•3h ago
When DuckDB queries across multiple sources (say, Postgres and a CSV) does it first load all data into DuckDB or is it smart enough to only pull minimal data needed for the query on the fly?
dav43•3h ago
possible, seems this is done in other modes.

quote - google ai mode:

"DuckDB offers robust capabilities for querying data stored partially on S3, particularly when dealing with Parquet files. This is achieved through several optimization techniques:

Predicate Pushdown: When you apply a WHERE clause to filter data, DuckDB can "push down" this filter directly into the Parquet file scan. If the Parquet file contains zonemaps (metadata about value ranges within columns), DuckDB can use this information to skip reading entire sections of the file that do not contain relevant data, significantly reducing the amount of data transferred from S3.

Projection Pushdown: When you select only specific columns in your SELECT statement, DuckDB automatically reads only those required columns from the Parquet file. This means you avoid downloading and processing unnecessary data, leading to faster queries and reduced S3 transfer costs.

HTTP Range Reads: DuckDB leverages HTTP range headers when interacting with S3 (or other object storage supporting range reads). This allows it to fetch only the necessary parts of the Parquet file, such as metadata or specific column chunks, rather than downloading the entire file."

lolive•1h ago
« How does it handle [multi-source] joins ? » is the obvious next question.
VHRanger•1h ago
In memory, and if larger than memory it makes .duckdbtmp files to work from
mosselman•3h ago
What is a duckdb server? I was under the impression there is no server in duckdb, just the client.
caioricciuti•2h ago
In theory there's none... DuckDB is like Sqlite, it's a file, but in this case it's 100% wasm so theres zero interaction with any "server", it's all on Browser. One example of DuckDB in server is mother duck... It makes .duckdb files "available" on the cloud.
joshmn•2h ago
This is cool, thanks. I use the embedded UI but I’m going to play around with yours too.

DuckDB is the single-most impressive piece of software I’ve used in my career. I’m mangling terabytes of parquets daily and it just handles them effortlessly; the bindings also also well-written.

caioricciuti•2h ago
TRUE! It's amazing and I have in other project too! The idea of of this app 100% in browser came from handling lots of CSV's from different people in my former company... Just to load in excel it took forever, then I came up with this, it made my life much easier, hope it makes yours too!
alex_hirner•2h ago
I'd love to make it work with flightsql or HTTP endpoints returning arrow IPC [0]! Did you consider using perspective for last-mile charting [1]? Building your own seems like a huge chunk of work. Well done!

[0] https://duckdb.org/docs/stable/clients/wasm/data_ingestion#a... [1] https://github.com/finos/perspective

cjonas•1h ago
I just leave 'duckdb --ui' running on my computer at all times. While the functionality is great, I'm really not happy that UI itself isn't open source and instead controlled by motherduck. There are many quick and easy improvements that will probably never get made, as motherduck has no real incentive to improve it at this point.

Wonder if this work could be ported as a replacement to duckdb local UI?

caioricciuti•17m ago
I would love for this to be the case... I'm also not a fan of mother's duck ui... Also I created this project like 2 weeks before they launch it (that's why it's named duckui...) I would choose another name but well I had bought the domain already hahaha... But SURE, I would like this to be the best UI ever for all of us... Just need some ideas/help to implement all missing parts...
tonyhart7•29m ago
do we have analytics product that build on top of duck db yet?????

Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

https://demo.duckui.com
96•caioricciuti•4h ago•27 comments

Show HN: Pyversity – Fast Result Diversification for Retrieval and RAG

https://github.com/Pringled/pyversity
8•Tananon•1h ago•0 comments

Show HN: Jekyll Book Boilerplate – A boilerplate for self-publishing books

https://github.com/abuseofnotation/jekyll-book-boilerplate
2•boris_m•55m ago•0 comments

Show HN: The Shape of YouTube

https://soy.leg.ovh/
30•hide_on_bush•1w ago•11 comments

Show HN: Proxmox-GitOps: Container Automation Metaframework (Recursive Monorepo)

https://github.com/stevius10/Proxmox-GitOps
4•gitopspm•6h ago•1 comments

Show HN: Nova: Open-source solution for CAD file conflicts

https://github.com/agg111/nova
2•aishwaryagune•7h ago•0 comments

Show HN: ServiceRadar – open-source Network Observability Platform

https://github.com/carverauto/serviceradar
55•carverauto•1d ago•3 comments

Show HN: We packaged an MCP server inside Chromium

https://github.com/browseros-ai/BrowserOS/blob/main/docs/browseros-mcp/how-to-guide.mdx
44•felarof•1d ago•16 comments

Show HN: Inkeep (YC W23) – Agent Builder to create agents in code or visually

https://github.com/inkeep/agents
78•engomez•3d ago•49 comments

Show HN: WP-Easy, framework to build WordPress themes

https://github.com/drewbaker/wp-easy
2•drewrbaker•12h ago•0 comments

Show HN: Land use visualization for European countries

https://onsland.koenvangilst.nl/
17•vnglst•1d ago•6 comments

Show HN: A large format XY scanning hyperspectral camera

https://www.anfractuosity.com/projects/waverider/
44•anfractuosity•1w ago•10 comments

Show HN: Firm, a text-based work management system

https://github.com/42futures/firm
168•danielrothmann•4d ago•60 comments

Show HN: Halloy – Modern IRC client

https://github.com/squidowl/halloy
374•culinary-robot•4d ago•97 comments

Show HN: Open-source implementation of Stanford's self-learning agent framework

https://github.com/kayba-ai/agentic-context-engine
7•kayba•1d ago•1 comments

Show HN: Compression-Resistant Data Transfers

https://github.com/ianling/steg-experiments
27•iaaan•1w ago•6 comments

Show HN: Odyis: lunar lander (1979) clone written in Rust

https://ad301.org/blog/odyis.php
2•pilkiad•20h ago•0 comments

Show HN: Scriber Pro – Offline AI transcription for macOS

https://scriberpro.cc/hn/
135•rezivor•4d ago•111 comments

Show HN: Metorial (YC F25) – Vercel for MCP

https://github.com/metorial/metorial
59•tobihrbr•5d ago•25 comments

Show HN: Trott – search,sort,extract social media videos(ig,yt,tiktok)

https://trott.hattimatimlabs.in
37•sudo712•4d ago•11 comments

SHOW HN: I made a site for 100% location independent jobs too

https://job.careers/
2•lanmao_163•1d ago•1 comments

Show HN: Silly Morse code chat app using WebSockets

https://noamtamir.github.io/morwse/
9•noamikotamir•1d ago•2 comments

Show HN: SQLite Online – 11 years of solo development, 11K daily users

https://sqliteonline.com/
463•sqliteonline•6d ago•142 comments

Show HN: I Built an AI Maturity Model for Software Engineers (and No One Cared)

https://github.com/Gigacore/AI-Maturity-Model
11•Gigacore•2d ago•2 comments

Show HN: I built a simple ambient sound app with no ads or subscriptions

https://ambisounds.app/
310•alpaca121•1w ago•118 comments

Show HN: Specific (YC F25) – Build backends with specifications instead of code

https://specific.dev/
29•fabianlindfors•3d ago•14 comments

Show HN: I made an esoteric programming language that's read like a spellbook

https://github.com/sirbread/spellscript
176•sirbread•1w ago•57 comments

Show HN: AI toy I worked on is in stores

https://www.walmart.com/ip/SANTA-SMAGICAL-PHONE/16364964771
156•Sean-Der•1w ago•174 comments

Show HN: Code First CDC from Postgres to ClickHouse with MooseStack

https://github.com/514-labs/debezium-cdc
11•okane•2d ago•6 comments

Show HN: OnlyJPG – Client-Side PNG/HEIC/AVIF/PDF/etc to JPG

https://onlyjpg.com
61•johnnyApplePRNG•2d ago•42 comments