nrepl / drawbridge

An HTTP/HTTPS nREPL transport, implemented as a Ring handler.
183 stars 16 forks source link

How to use Drawbridge from CIDER / emacs? #27

Closed piotr-yuxuan closed 5 years ago

piotr-yuxuan commented 5 years ago

I've got Drawbridge set-up server-side. The /repl responds correctly, but how do I use this from a client-side REPL, specifically using CIDER / emacs?

bbatsov commented 5 years ago

Unfortunately you can't. CIDER doesn't currently support communicating with an nREPL server over http.

piotr-yuxuan commented 5 years ago

😢 but anyway, CIDER still rocks even with this minor hindrance! 🚀 Would you know about any kind of chance it could get supported one time? What about Spiral and Unrepl?

piotr-yuxuan commented 5 years ago

and @bbatsov thanks for your quick previous answer!

bbatsov commented 5 years ago

Would you know about any kind of chance it could get supported one time? What about Spiral and Unrepl?

If someone works on it it will be supported. :-) I don't plan to work on this myself. As for Spiral and unrepl - they don't have http support currently as well. I've never seen a single REPL client that supports http so far.

piotr-yuxuan commented 4 years ago

Follow-up: https://nrepl.org works great, and integrates seamlessly with Emacs. Also, fort forwarding can be used.