DuckDB + Webassembly = WhatTheDuck |
Written by Nikos Vaggalis |
Thursday, 02 January 2025 |
Run DuckDB inside your browser thanks to Webassembly. When is that useful? Running a database instance inside a browser is nothing new. PGlite is a WASM Postgres build packaged into a TypeScript client library that enableyou to run Postgres in the browser with no need to install any other dependencies. The concept here is the same. You get a local first application Usually when I want to quickly load CSV files, store them in tables and perform SQL queries on the data, I use DBeaver where I setup the DuckDB driver as well the in-memory database and then load the CSV with "create table as". Instead, with WhatTheDuck you just upload your files and are ready to go. Furthermore you can:
The important point here is that no data ever leaves your browser. The rest of the benefits of using WhatTheDuck is that it is fast and efficient, perfect for quick data analysis. WhatTheDuck is accessible as a playground from everywhere and everyone with just an internet connection, but in case you want to run it totally locally on your own machine ,you can do so since it is open source hence it can be downloaded from its Github repo to built from source or as a docker image. Personally, having now experienced the ease of use of running DuckDB for quick data analytics inside the browser, taking into consideration the preservation of privacy as well, I'll never look back at running a local setup. More InformationWhatTheDuck Playground Related ArticlesRunning PostgreSQL Inside Your Browser With PGLite
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
Last Updated ( Thursday, 02 January 2025 ) |