Post

Perhaps I don't know what kind of gleam integration you have in mind? We serialize to/from JSON for typescript. A gleam integration would require similar serialization, but in a situation where no serialization would be necessary for structs.

It'd be cool if it'd be possible to call the RPC from any language. I currently work on a project with Elixir server and Elixir client, for example. So I guess I mean language agnostic RPC. Obviously, JS/TS is the most needed, and perhaps the other langs not so much, but that'd be cool.

The RPC is language agnostic, and ultimately is a *tiny* layer to just calling a resources actions. Like very tiny. Trivial to replicate in another package because it just passes values into actions.

Exactly as I suspected. Maybe what is needed is a doc for the HTTP API and task to generate some kind of a spec of available actions, resources, types, etc. Then it should be trivial to LLM-gen a client for any language. BTW, do you plan pubsub/events/rpc over sockets kind of stuff?

No replies yet.