freenandes/actuallyexplain
freenandes/actuallyexplain has 95 GitHub stars and 13 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-12 12:58 UTC. Last push 2026-11-10.
actuallyEXPLAIN is a visualizer that helps you understand logical intent in complex PostgreSQL queries in a diagram and dictionarized form.
計測したスター増加
- 24時間
- +1
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルactuallyEXPLAIN
actuallyEXPLAIN is a visualizer that helps you understand complex PostgreSQL queries in a diagram and dictionarized form.
Paste your code, and check the logic. No database connection required.
This may be useful for full-stack developers, indie hackers, and perhaps anyone using AI to write SQL who needs to verify what the code actually does before running it in production.
Right now, it just maps the logical intent. In the future, we want to help flag dangerous anti-patterns, warning you about potential database locks, and catching bad queries before they ever execute.
Open source under the MIT license. You're welcome to view the code, suggest stuff and contribute.
Contributing
- Fork the repo and clone it
npm installthennpm run devto start the local server- Make your changes, run
npm run buildto check for errors - Open a pull request
Tech
- React 19 + TypeScript, bundled with Vite
- Monaco Editor — the same editor that powers VS Code, used for SQL input
- React Flow — renders the node/edge diagram; layout is computed with dagre
- pgsql-ast-parser — parses raw SQL into an AST (no database needed)
- Lucide icons
- CSS Modules for styling (no UI framework)
Codebase
All source lives in src/. Key files:
| File | Role |
|---|---|
App.tsx |
Root component — wires together the editor, diagram, and panels |
buildFlowFromAST.ts |
Converts the parsed SQL AST into React Flow nodes and edges |
SqlNode.tsx |
Custom React Flow node component |
RecursiveEdge.tsx |
Custom edge for recursive/CTE references |
NodeDetailsPanel.tsx |
Side panel that shows details when a node is selected |
AboutModal.tsx |
About dialog |
NodeActionsContext.ts |
React context for node interaction callbacks |
To do
- Optimize code (remove redundancies, centralize styles, etc.)
Ideas
- Dictionary for maintenance commands with static heuristic warnings
- Export functionality
- BYOK AI chat for "further explain"
- Support other SQL flavors
- Digest execution plans and provide performance stats
Looking for something else?
actuallyEXPLAIN is built for logical intent (understanding what the code means). If that's not what you need right now, check out these great tools:
- Fix slow queries and visualize your actual Postgres execution plans with explain.dalibo.com or explain.depesz.com.
- Track data across 100s of tables with a tool like SQLFlow.
関連プロジェクトを探す
Asabeneh/30-Days-Of-Python
30 Days of Python プログラミングチャレンジは、Python プログラミング言語を 30 日で学ぶためのステップバイステップのガイドです。このチャレンジは 100 日以上かかることもあります。自分のペースで進めてください。こちらの動画も役立つかもしれません: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 スターgrafana/grafana
オープンで組み合わせ可能なオブザーバビリティおよびデータ可視化プラットフォームです。Prometheus、Loki、Elasticsearch、InfluxDB、Postgres など、複数のソースからメトリクス、ログ、トレースを可視化できます。
77,830 スターredis/redis
リアルタイムのデータ駆動型アプリケーションを構築する開発者にとって、Redis は最も選ばれ、最速で、機能が最も豊富なキャッシュ、データ構造サーバー、ドキュメントおよびベクトルクエリエンジンです。
77,395 スターapache/superset
Apache Superset は、データ可視化とデータ探索のためのプラットフォームです。
75,473 スター