Show HN: Translate between dialects and share SQL queries on the browser
4 WhyIsItAlwaysHN 0 5/8/2025, 8:54:13 PM sqlscope.netlify.app ↗
Last year, I wanted to learn a bit about how easy it would be to deploy a python app via web assembly to the browser and decided to make a wrapper around the amazing sqlglot by Toby Mao and the rest of the team.
The tool lets you paste in Sql queries and translate them between the available sql dialects in sqlglot. It also gives you parse diagnostics and the ability to easily share queries via storing all the state in the url.
The stack that was used is typescript for the UI and pyodide to integrate with Sqlglot, which does the heavy lifting.
It's more of a toy app but I've found some use out of it, so I'm sharing it in case anyone finds it useful too.
Future plans are to add some statistics on the queries like number of joins, to add the ability to define a schema and also adding support for executing toy queries.
No comments yet