> <https://trpc.io/>
I made something similar, type safe RPC in Nim, [demo](https://www.youtube.com/watch?v=FktqYymIeoo) the repo may be a bit rusty, as I haven't used it for a while, the approach seems to be working. And, what's I'm currently use, a web UI framework that abstracts and hides away the browser, the network and the JS [demo](https://www.youtube.com/watch?v=vjj0mZOh5h4). As we all know, the number one rule for creating distributed system - don't create distributed system. And as soon as you don't have distributed system (at least explicitly, all this is hidden) you don't have any type safety problem and don't have to care about networking or RPC or JS. The approach a bit different from your, you seems to care about Web and HTTP and doing your WEB UI in kinda proper web way. I don't care about the underlying implementation, and just want simplest possible code that would produce UI I need.
