Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: WhatTheDuck – open-source, in-browser SQL on CSV files (github.com/incentius-foss)
119 points by slake 33 days ago | hide | past | favorite | 17 comments
WhatTheDuck is an in-browser sql tool to analyze csv files that uses duckdb-wasm under the hood.

Please provide feedback/issues/pull requests.




Looks nice! I would suggest to pointing users to a small demo csv file and query that can be quickly loaded/pasted to see it working. Or even have a "Load example CSV and query" button.


We have added an upload sample file button thanks for feedback @refset


Sounds like a good idea. We'll get to it.


Cool stuff, we are also building in the space, currently adding Python support with Pyodide. I would recommend you add your live website at the top of the README so people can find it easily (we had a lot of views that way for https://github.com/pretzelai/pretzelai). Also, we added a simple text2sql "Ask AI" that users loved, maybe your users will like it too.


JupyterLite is also built on Pyodide.

Is there support for DuckDB in JupyterLite in WASM in WhatTheDuck or pretzelai?

datasette-lite can load [remote] sqlite and Parquet but not yet DuckDB (?) with Pyodide in WASM, and there's also JupyterLite as a datasette plug-in: https://github.com/simonw/datasette-lite


I liked SQL workbench (https://news.ycombinator.com/item?id=39537794) which has the same core ideas but more usable features at this point (query history, parquet support and charts) - if you hadn't seen it maybe some of its features will inspire you.


SQL workbench also uses https://perspective.finos.org/ for tables. It's a WASM table library which pairs nicely with duckdb and works well with large tables.


Thanks you, https://sql-workbench.com author here :-) Let me know if you have some feature requests / bug reports etc. at https://github.com/tobilg/sql-workbench/issues Thanks!


IDE support is definitely one area where DuckDB could be better. My current workflow is to edit SQL files in VS Code and then use ‘.read’ within the DuckDB CLI.


I don't use DuckDB but I use the community version of DBeaver for SQL - looks like it supports DuckDB too[0]

[0] https://duckdb.org/docs/guides/sql_editors/dbeaver.html


Keep an eye on this link. New support is being added every so often.

https://github.com/davidgasquez/awesome-duckdb?tab=readme-ov...


Yes we have added there as well the PR is merged


Same here. You have Harlequin which is worth a try, but ideally I would just write and execute in vscode.


Loved the idea and the entire project! Starred it on GitHub.

One suggestion, when I land on the website I would love to see a small example already added. Basic CSV and some SQL queries to run and play with.

It would be best if you also launch it on Peerlist. Many people are working in a similar space there, they also might find this useful.


How about incorporating options for data visualization through charts?


Yah I think it's a good idea I think detailed documentation will also be helpful


now how to make this collaborative? that would be interesting




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: