DiscoverAI ToolsSnapshotMagazineStartup SpotlightAI News
+ List Startup Sign In
›Developer Tools›TSDiagram
TSDiagram logo

TSDiagram

Diagrams as Code with TypeScript
Share Visit Website

About TSDiagram

TSDiagram is presented by its maker as "Diagrams as Code with TypeScript". It was shared on Show HN in 2023, where it received 130 upvotes on Hacker News.

The maker describes TSDiagram as an online tool for creating diagrams with TypeScript, built for thinking about how to shape data even when the final implementation ends up in another language. Diagrams are written as ordinary TypeScript types and interfaces, and the site renders them as visual diagrams in the browser.

Everything runs online: type or paste TypeScript and the diagram updates in place, and diagrams can be shared as links that carry the full diagram state in the URL itself, so no account or storage is needed to pass a diagram to someone else.

Website

TSDiagram website screenshot

Perfect for

People who want diagrams as Code with TypeScript, as described by its maker.

Solves these problems

The maker pitches TSDiagram around this need: Diagrams as Code with TypeScript.