Hello all. I've had some success with launching a process in its own pty and displaying the results with xtermjs on the frontend. However, I'm using emit and commands to read and write the streams and so incur the serde cost.
xtermjs supports websockets, however, which could/should eliminate the need to serialize. Can anyone recommend a way to implement this? I could spin up a websocket server but then I have a port listening on my box. Is there a way to avoid this?
Thanks in advance for any tips.