Hey HN,<p>I made CSVFiddle because I wanted a quick way to query CSV files with SQL and share the results with other people.<p>The app runs 100% in-browser, so the data you import and the queries you write are never sent to a web server. When you share the URL to a workspace, all of its queries and references to CSV files are just encoded in the URL fragment.<p>In-browser querying is made possible by DuckDB-Wasm, which has been an awesome project to work with:<p><a href="https://duckdb.org/2021/10/29/duckdb-wasm.html" rel="nofollow">https://duckdb.org/2021/10/29/duckdb-wasm.html</a><p>There are definitely limitations with CSVFiddle (e.g. sometimes the auto-parsing feature doesn't accurately interpret the imported files), but so far it's been useful for a range of data tasks.<p>Some demo workspaces you can check out:<p>University Students by State <a href="https://tinyurl.com/6k35anth" rel="nofollow">https://tinyurl.com/6k35anth</a><p>Uber Pickups in NYC <a href="https://tinyurl.com/5n8av39h" rel="nofollow">https://tinyurl.com/5n8av39h</a>
By no means am I crapping on what you've created — it looks great, and I've always wanted to try DuckDB and now you've made a frictionless entrypoint — just wanted to point out in general that querying CSV with SQL is more accessible than some people might have assumed. e.g. here's a recent TIL blogpost from Simon Willison about him discovering how to do sqlite queries against CSV from the command line: <a href="https://til.simonwillison.net/sqlite/one-line-csv-operations" rel="nofollow">https://til.simonwillison.net/sqlite/one-line-csv-operations</a><p>One suggestion I would make: the Uber trips data is interesting, but might be too big for this demo? I was getting a few loading errors when trying it (didn't investigate where in the process the bottleneck was though)
Not to discourage you or anything, but Observable seems to cover this without too much hassle:<p><a href="https://observablehq.com/@cmudig/introducing-sql-with-duckdb" rel="nofollow">https://observablehq.com/@cmudig/introducing-sql-with-duckdb</a>
This is great.<p>Will definitely be using this.<p>I wouldn't worry too much about people focused on running from the command line.<p>I love the command line. But not as a query interface for quick investigation of CSV data.<p>I've been wanting something like this for a long time!<p>Excited to give it a try.