Generate a websocket demo app that echos text typed into an input. The input should round-trip from browser, to server, and back. Don't be silly and use frameworks or typescript. Just use a dirt simple golang problem using only the std websocket dep, and on the frontend, just use htmx, and simple CSS in a script tag. These should all be embedded with the embed package. Bind to port 8000 and run as a systemd unit
I have not looked at the code, so it might actually be Pascal, but it serves its purpose well enough if so.
NOTE: Was I let go on vacation? I don't have access to close this out. :/
1 Comment
This already works. See:
https://paint-elm.exe.xyz/
Shelly Prompt (in case anyone is interested):
I have not looked at the code, so it might actually be Pascal, but it serves its purpose well enough if so.
NOTE: Was I let go on vacation? I don't have access to close this out. :/