frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Free SQL→ER diagram tool, runs in the browser, nothing uploaded

https://sqltoerdiagram.com/
28•robhati•2h ago

Comments

robhati•2h ago
I kept finding myself needing to visualize database schemas, but most tools had the same problems: paywalls, mandatory signups, or sending your SQL to someone else's server.

So I ended up building my own.

You paste in your CREATE TABLE statements and it generates an interactive ER diagram right in the browser. You can drag tables around, auto arrange the layout, edit table/column names directly on the canvas (it rewrites the SQL for you), add notes and group boxes, and export as PNG or SVG.

No backend, no accounts, no data leaving your machine.

A few implementation details that were fun:

* Built on <canvas> instead of DOM/SVG. Tables are rasterized into cached bitmaps with viewport culling, which keeps things smooth even with hundreds of tables on screen.

* The SQL parser tracks source spans for every token. That lets edits stay surgical so a rename a table and only the relevant identifier (and its references) change while comments and formatting remain untouched.

* The URL contains the entire schema. Sharing simply serializes the schema into the URL itself, so there's no backend, no stored state, and no account required.

* I also experimented with a Rust/WASM version because why not? but the parser was ~37% slower because the JS↔WASM boundary cost outweighed the compute savings but The O(n^2) overlap-resolution pass was about 2.2x faster though * In the end I stuck with plain JavaScript. No framework ~32KB gzipped

It's a small too nothing great I just figured others might find it useful too.

encodedrose•1h ago
The GitHub link takes you to the front page of GitHub instead of the actual project.
serious_angel•1h ago

   Just to clarify, what link is it?  
   I've check it out, and the GitHub icon, in the header on the top right corner, is correct, and links to the following project:  
   - https://github.com/royalbhati/sqltoerdiagram
robhati•1h ago
I have just updated it. He was right to point that out.
robhati•1h ago
updated thanks.
robhati•1h ago
It's a small too nothing great I just figured others might find it useful too. I kept finding myself needing to visualize database schemas, but most tools had the same problems: paywalls, mandatory signups, or sending your SQL to someone else's server.

No backend, no accounts, no data leaving your machine.

A few implementation details that were fun:

* Built on <canvas> instead of DOM/SVG. Tables are rasterized into cached bitmaps with viewport culling, which keeps things smooth even with hundreds of tables on screen.

* The SQL parser tracks source spans for every token. That lets edits stay surgical so a rename a table and only the relevant identifier (and its references) change while comments and formatting remain untouched.

* The URL contains the entire schema. Sharing simply serializes the schema into the URL itself, so there's no backend, no stored state, and no account required.

* I also experimented with a Rust/WASM version because why not? but the parser was ~37% slower because the JS↔WASM boundary cost outweighed the compute savings but The O(n^2) overlap-resolution pass was about 2.2x faster though * In the end I stuck with plain JavaScript. No framework ~32KB gzipped

agentic_vector•48m ago
I was looking for it, thanks! Great work!
corkybeta•46m ago
Could we have the option of straight lines and 90 degree angles? I’ve never really liked the bendy ones. Looks cool, good job!
John_Kwick•43m ago
Okay thats pretty cool. Nice job!
written-beyond•42m ago
100/10 for mobile usability. Panning, Zooming, selecting and moving was so seamless I thought I was tripping out.

Honda Civics and the Evil Valet

https://juniperspring.org/posts/honda-evil-valet/
205•librick•5h ago•33 comments

Tribblix: The retro Illumos distribution

http://tribblix.org/
17•naturalmovement•1h ago•5 comments

Pac-Man, but you're the ghost

https://garrit.xyz/posts/2026-06-13-pac-man-but-you-re-the-ghost
43•mindracer•2h ago•21 comments

Noise infusion banned from statistical products published by Census Bureau

https://desfontain.es/blog/banning-noise.html
797•nl•16h ago•492 comments

GLM 5.2 Is Out

https://twitter.com/jietang/status/2065784751345287314
491•aloknnikhil•14h ago•268 comments

Free SQL→ER diagram tool, runs in the browser, nothing uploaded

https://sqltoerdiagram.com/
36•robhati•2h ago•11 comments

Every Frame Perfect

https://tonsky.me/blog/every-frame-perfect/
656•ravenical•18h ago•218 comments

Building a serial and VGA "everything console"

http://oldvcr.blogspot.com/2026/06/building-serial-and-vga-everything.html
19•classichasclass•4h ago•0 comments

FreeOberon – Open-Source, Cross-Platform, Free Pascal/Turbo Pascal-Like Language

https://github.com/kekcleader/FreeOberon
66•peter_d_sherman•2d ago•25 comments

Treating pancreatic tumours may have revealed cancer's master switch

https://economist.com/science-and-technology/2026/06/12/treating-pancreatic-tumours-may-have-reve...
341•andsoitis•17h ago•120 comments

(Re//Verse 2026) Taxonomy and Deobfuscation of a Real World Binary Obfuscator [pdf]

https://github.com/AnalogCyberNuke/RE-Verse-2026-Slides/blob/main/Reverse26.pdf
12•not_a9•2d ago•1 comments

Python 3.14 garbage collection rigamarole

https://theconsensus.dev/p/2026/06/06/python-3-14-garbage-collection-rigamarole.html
35•eatonphil•1d ago•17 comments

Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI

https://blog.pyodide.org/posts/314-release/
109•agriyakhetarpal•4d ago•26 comments

Weave: Merging based on language structure and not lines

https://ataraxy-labs.github.io/weave/
20•rohanat•3h ago•8 comments

Making Claude a Chemist

https://www.anthropic.com/research/making-claude-a-chemist
23•gmays•3h ago•9 comments

Software Architecture Guide (2019)

https://martinfowler.com/architecture/
44•laxmena•2h ago•17 comments

Codex for open source

https://openai.com/form/codex-for-oss/
216•EvgeniyZh•2d ago•72 comments

The Neat Little Vehicles That Run a Cemetery

https://www.thedrive.com/news/meet-the-neat-little-vehicles-that-run-a-cemetery
6•PaulHoule•4d ago•0 comments

Amazon CEO's talks with U.S. officials triggered crackdown on Anthropic models

https://www.wsj.com/tech/ai/amazon-ceos-talks-with-u-s-officials-triggered-crackdown-on-anthropic...
636•ls612•13h ago•464 comments

GameBoy Workboy

https://tcrf.net/Workboy
178•tosh•12h ago•62 comments

Apt Encounters of the Third Kind

https://igor-blue.github.io/2021/03/24/apt1.html
19•ogurechny•4h ago•4 comments

The redistribution of housing wealth caused by rent control [pdf]

https://www.rhawa.org/file/secure/shs-the-impact-of-rent-control-in-st-paul.pdf
66•luu•3h ago•91 comments

Running DOS on Behringers DDX3216 with a DIY x86-Bios from Scratch

https://chrisdevblog.com/2026/06/08/running-dos-on-behringers-ddx3216-using-a-diy-x86-bios/
87•rasz•12h ago•20 comments

ReactOS (FOSS "Windows") achieves 3D-accelerated Half-Life on real hardware

https://www.phoronix.com/news/ReactOS-Running-Half-Life
168•jeditobe•7h ago•25 comments

Phoenix LiveView 1.2 Released

https://phoenixframework.org/blog/phoenix-liveview-1-2-released
4•ksec•1h ago•0 comments

A low-carbon computing platform from your retired phones

https://research.google/blog/a-low-carbon-computing-platform-from-your-retired-phones/
272•vikas-sharma•20h ago•143 comments

Appreciating Exif

https://brentfitzgerald.com/posts/appreciating-exif/
150•burnto•4d ago•33 comments

Police officer investigated for using AI to 'create evidence' in multiple cases

https://news.sky.com/story/derbyshire-police-officer-investigated-for-using-ai-to-create-evidence...
297•austinallegro•10h ago•137 comments

RTX 5080 and RTX 3090 Setup: 80 Tok/s on Qwen 3.6 27B Q8

https://imil.net/blog/posts/2026/rtx-5080-+-rtx-3090-setup-80+-tok-s-on-qwen-3.6-27b-q8/
226•iMil•20h ago•76 comments

Ancient genome duplications laid the foundations of complex brains

https://www.ox.ac.uk/news/2026-06-09-ancient-genome-duplications-laid-the-foundations-of-complex-...
31•hhs•7h ago•2 comments