Hey 👋 Is there an nREPL client that can be run i.e. interpreted with sci?
this one works in bb: https://github.com/babashka/nrepl-client
Will take a look. Still new to bb & co. The way I understand it is, that I can take the code and replace the java io stuff. I'm targeting the browser.
For context: I want to make a scittle bookmarklet that can talk to my java nREPL backend.
that's cool, but browsers can only do http connections right?
scittle itself comes with an nREPL server which is proxied via a webserver
Yes http only I believe. But isn't nREPL req/resp so that shouln't be problem in principle? No?
I don't get that scittle + webserver.
yes, but nREPL isn't an http protocol
so you need some kind of adapter
Man I know to little about this stuff 🤔
it's not difficult to do but you need some kind of webserver that the browser can connect to and forwards the request to the nREPL server and vice versa
this is what scittle's nREPL does
Ah ok that makes sense. Will look at the code. Thx