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

(demo.duckui.com)

108 points | by caioricciuti 4 hours ago

14 comments

  • CSDude 4 hours 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 4 hours ago
      This is not a self hosted one though. You can not use default ui offline, you can not guarantee data safety
      • jasonjmcghee 1 hour 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

        • ludicrousdispla 5 minutes ago
          some of the comments on that thread are surprising. Are people not aware that software can be bundled in such a way as to run on machines not having internet access?
      • nirav72 1 hour ago
        Anyone know if there is a similar selfhosted/run local option?
        • Rhubarrbb 34 minutes ago
          `duckdb -ui` and you can launch a local server bound to 127.0.0.1
  • ludicrousdispla 22 minutes ago
    Is the DuckDB Wasm that you are providing the same thing as the DuckDB Wasm provided by DuckDB?

    I ask because I am under the impression that the 'DuckDB Wasm' client provided by DuckDB doesn't yet support all of the DuckDB functions.

    So I am interested to know if this has implemented more, fewer, or the same set of functions.

  • mritchie712 3 hours 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

    • jsight 2 hours ago
      Agreed. I just wish that the vector support were fully supported. It has been experimental for a long time.
    • curiousgal 3 hours ago
      I am curious is anyone using DuckDB in prod?
  • RyanHamilton 33 minutes ago
    If you want a desktop version check out qstudio: https://www.timestored.com/qstudio/help/duckdb-sql-editor it integrates duckdb functionality for parquet csv and to pivot data
  • alex_hirner 2 hours 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

  • joshmn 3 hours 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 3 hours 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!
  • cjonas 1 hour 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 52 minutes 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...
  • mosselman 3 hours ago
    What is a duckdb server? I was under the impression there is no server in duckdb, just the client.
    • caioricciuti 3 hours 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.
  • spooky_deep 3 hours 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 3 hours 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 2 hours ago
        « How does it handle [multi-source] joins ? » is the obvious next question.
        • VHRanger 1 hour ago
          In memory, and if larger than memory it makes .duckdbtmp files to work from
  • chrisweekly 4 hours 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 4 hours ago
    The autocomplete is really good, UI is snappy as well. Well done!
    • caioricciuti 3 hours ago
      Thanksss, happy you liked, thanks for trying it out!
  • tonyhart7 1 hour ago
    do we have analytics product that build on top of duck db yet?????
  • mgaunard 4 hours ago
    doesn't work well on phones, run query button is not visible.
    • caioricciuti 4 hours ago
      Thank you for the feedback, adding to the roadmap right now!