TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: SQL Explorer – Open-source reporting tool that Just Works

215 pointsby numlocked11 months ago
I have been working on SQL Explorer, an open source, Django-based reporting and query tool for (gulp!) almost ten years. It&#x27;s a tool that fits just right for me and many others, and I love and use almost every day. Write SQL, share results, do some analysis, get insight. No surprises.<p>A live demo instance is here (no login or anything required):<p><a href="https:&#x2F;&#x2F;demo.sqlexplorer.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;demo.sqlexplorer.io&#x2F;</a><p>And here&#x27;s a fairly unprofessional, but very enthusiastic, video tour:<p><a href="https:&#x2F;&#x2F;sql-explorer.s3.amazonaws.com&#x2F;Sql+Explorer+5.mp4" rel="nofollow">https:&#x2F;&#x2F;sql-explorer.s3.amazonaws.com&#x2F;Sql+Explorer+5.mp4</a><p>The UI is constrained enough that there&#x27;s very little to learn, while there is still a surprising amount of functionality and flexibility to address a lot of use cases.<p>Some of the stuff I&#x27;m excited about in the latest version:<p>- Intuitive and obvious integration to ChatGPT &#x2F; the AI API of your choice. Doesn&#x27;t purport to be &#x27;magic&#x27;. Good prompting + relevant table scheme &amp; data automatically injected into the prompt.<p>- Create a new connection by uploading a CSV or SQLite DB as a new connection, and it&#x27;s instantly queryable. CSVs are parsed, types inferred, and a SQLite DB gets created (persisted to s3). - New and improved SQL editor with strong autocomplete (based on your schema), and some fancy keyboard shortcuts.<p>Some of the old stuff that is still great:<p>- Pivot tables in-browser, so you don&#x27;t have to open results in Excel for basic analysis. Unique URLs make everything shareable.<p>- Expose queries (optionally) as JSON endpoints. Great for prototyping APIs and scripts.<p>- All of the stuff you&#x27;d expect in a reporting tool (email reports, logging, favorites, exporting, etc.)<p>Hope you enjoy!

22 comments

tobilg11 months ago
Nice tool! I built <a href="https:&#x2F;&#x2F;sql-workbench.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sql-workbench.com&#x2F;</a> which runs completely in-browser via DuckDB WASM, and enables querying of remote CSV, JSON, Parquet and Arrow data sources, as well as uploaded local files. Charts are supported as well, see the accompanying blog post <a href="https:&#x2F;&#x2F;tobilg.com&#x2F;using-duckdb-wasm-for-in-browser-data-engineering" rel="nofollow">https:&#x2F;&#x2F;tobilg.com&#x2F;using-duckdb-wasm-for-in-browser-data-eng...</a>
评论 #40888122 未加载
评论 #40891650 未加载
randlet11 months ago
Just wanted to say thank you for all your effort on SQLExplorer, I incorporated it into our open source radiotherapy quality assurance project (<a href="https:&#x2F;&#x2F;qatrackplus.com" rel="nofollow">https:&#x2F;&#x2F;qatrackplus.com</a>) years ago and it&#x27;s been a great addition and is used in hospitals around the world :)
评论 #40882809 未加载
bosky10111 months ago
I spent 10 mins on your docs, website.<p>Excellent effort overall.<p>But I didn&#x27;t know until I read your comment here about the uploading CSV, instant parsing that non technical people may find very interesting. This is something pgweb for example doesn&#x27;t have.<p>Your docs are also missing a complete sample env.<p>See that you&#x27;ve integrated pivottable. Nice touch!<p>If you can figure out minimal barcharts , you may even have an opensearch&#x2F;log community interested.<p>Another killer idea is uploading CSV&#x2F;json and getting faceted search. No one does this! But maybe distracting to your roadmap.<p>Keep up the excellent work!<p>Good luck!
评论 #40882714 未加载
评论 #40884488 未加载
nirav7211 months ago
I&#x27;ve been self-hosting this <a href="https:&#x2F;&#x2F;github.com&#x2F;dbgate&#x2F;dbgate">https:&#x2F;&#x2F;github.com&#x2F;dbgate&#x2F;dbgate</a> for a few years.<p>But I like some of the features in SQL Explorer interesting - like Pivot tables and exposing queries as JSON endpoints.
brunoqc11 months ago
&gt; * All content that resides under the &quot;explorer&#x2F;ee&#x2F;&quot; directory of this repository is licensed under the license defined in &quot;explorer&#x2F;ee&#x2F;LICENSE&quot;.<p>Not really open source. If you care about that.
评论 #40884520 未加载
ds_opseeker11 months ago
Just discovered this and got the test project up and running... but wondering how to enable CSV import?<p>The &quot;upload csv file&quot; box does not show up in the test project.
评论 #40882702 未加载
psnehanshu11 months ago
Awesome project. But a somewhat irrelevant suggestion. OP could have shared the video via YouTube for better user experience (adaptive bitrate streaming) and also not had to worry about paying for S3.
nagstler11 months ago
Thanks for open sourcing, I’ll definitely give this a try!<p>Any reporting tool is only as good as the data available to it.<p>I built Multiwoven, a Reverse ETL with SQL capabilities, to sync data from any data warehouse to destinations like this one.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Multiwoven&#x2F;multiwoven">https:&#x2F;&#x2F;github.com&#x2F;Multiwoven&#x2F;multiwoven</a>
rlawson11 months ago
Very useful tool! I contributed a few features as a repayment for the ton of value I have gotten from it
评论 #40885896 未加载
randyburden11 months ago
Great job! And congrats on actually getting something out there. I can really see this being useful for some organizations.<p>I also envisioned this same type of tool around 10 years ago and it is still on my ever growing list of ideas to implement. I took the idea further to support not only SQL but other languages such as HTML, JavaScript, Python, C#, etc. You could then support returning different types of media based on the URL extension such as .html to return a webpage, .json to return a JSON API, .csv to return a CSV file, etc. As time marched on, many of these same ideas came to fruition in things like AWS Lambda, Jupiter Notebooks, Microsoft Monaco Editor, etc.
andix11 months ago
This is awesome, I hope I get a chance to use it once.<p>One thought: I think the effort should be put into the UI for the non-technical end users, instead of query builders&#x2F;developer experience. I would be even fine with a tool doesn&#x27;t even have a query tool and just executes SQL files from a folder&#x2F;git repo. The important part would be for me to provide a perfect experience for the end users. Developers usually have a lot of tools at hand to create queries, no need for another one.
评论 #40883076 未加载
loa_observer10 months ago
nice work, it would be better to add graphic walker for interactive data visualization (also include pivot table): <a href="https:&#x2F;&#x2F;github.com&#x2F;Kanaries&#x2F;graphic-walker">https:&#x2F;&#x2F;github.com&#x2F;Kanaries&#x2F;graphic-walker</a>
whalesalad11 months ago
Been thinking Metabase could benefit greatly from AI integration. This kinda does that!
评论 #40883308 未加载
majkinetor11 months ago
I like the simplicity, and yet there is a lot of stuff to do.<p>I know there are bunch of tools that do this (superset, redash, dbeaver web etc.) but there is a great value in the feature and UX choices of any particular tool.<p>Keep it up m8.
评论 #40884821 未加载
b0ner_t0ner11 months ago
Great effort! Feels like you should be charging for this, maybe a Pro Plan with SSO (user edits integrated into your history logs) and 1 year support for SMEs to self-host.
JoeyBananas10 months ago
I&#x27;m genuinely impressed by this. It doesn&#x27;t surprise me that it took 10 years to make.
lelo_tp11 months ago
loved the demo video! we need more enthusiasm like that, really shows how much you love the work you&#x27;ve put in :)
greenchair11 months ago
I&#x27;m curious about how the project name was chosen considering there are existing tools with the same name.
josalhor11 months ago
Do you have a minimal docker image so we can start the service with a single command?
评论 #40884816 未加载
maille11 months ago
Intersting, can you generate <i>fancy</i> printable reports from this tool?
评论 #40885891 未加载
dhbradshaw11 months ago
This is really cool!
joelhaasnoot11 months ago
Hey look, its Redash! <a href="https:&#x2F;&#x2F;github.com&#x2F;getredash&#x2F;redash">https:&#x2F;&#x2F;github.com&#x2F;getredash&#x2F;redash</a>
评论 #40882311 未加载
评论 #40882327 未加载