← All projects
Project record1 mention
Originally shared on Hacker News

TypeScript interface DSL with Angular/Node/Qt code generator

A DSL expressed in TypeScript syntax for declaring interfaces between a TypeScript application and its backend. Its code generator emits Angular classes and TypeScript types for the web app, a Node backend class to fill in with handlers for that interface, and a Qt widget that embeds the web application — including a functional Qt Designer plugin for dragging the widget into existing UI layouts — so UIs written for the web can be used either as regular Qt widgets or as standalone webapps with a Node backend.

Last shared For developers building TypeScript web apps who also want their UIs usable as Qt widgets
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. TypeScript interface DSL with Angular/Node/Qt code generator

    A DSL expressed in TypeScript syntax for declaring interfaces between a TypeScript application and its backend. Its code generator emits Angular classes and TypeScript types for the web app, a Node backend class to fill in with handlers for that interface, and a Qt widget that embeds the web application — including a functional Qt Designer plugin for dragging the widget into existing UI layouts — so UIs written for the web can be used either as regular Qt widgets or as standalone webapps with a Node backend.

    Audience: developers building TypeScript web apps who also want their UIs usable as Qt widgets

    Posted by @dusted · Original source ↗

    Source text · @dusted · · Source ↗

    I made this little DSL that's transported by the typescript syntax, but made for declaring interfaces between a typescript application and a backend.