Replies: 1 comment
-
hi @gedw99 -- this is very neat stuff -- thanks for sharing. Exciting to see matrix is using NATS, etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @cbrake
there is now a NATS client that uses websockets with a golang client that uses websockets that supports WASM.
I am using it and it has allowed me to build GUI's in golang.
Is is used by Matrix for their global backend.
This cross compiles ot wasm: https://github.com/matrix-org/dendrite/tree/master/cmd/dendritejs
or
https://github.com/matrix-org/dendrite/tree/master/cmd/dendritejs-pinecone
https://github.com/matrix-org/dendrite/blob/master/build-dendritejs.sh
The important lib: https://github.com/matrix-org/dendrite/blob/master/go.mod#L74
The other stuff is self evident with the server embedding NATS jetstream or NOT.
This boots a monolith exposed NATS over WS / WSS : https://github.com/matrix-org/dendrite/tree/master/cmd/dendrite-monolith-server.
uses sqlite too, if you want an alternative from genji.
Beta Was this translation helpful? Give feedback.
All reactions