munshkr / flok

Web-based P2P collaborative editor for live coding sounds and images
https://flok.cc
GNU General Public License v3.0
263 stars 40 forks source link

Dummy REPL added as target option #291

Open tmhglnd opened 4 months ago

tmhglnd commented 4 months ago

Hey! I added this dummy repl, it has no syntax highlighting and it just sends the code as osc-message /flok "code here" to port 3001 when connected to the flok-repl. It either forwards single line, codeblock, or whole code based on the shortkey pressed. Using the panic shortkey it sends /flok silence. I added some documentation about the target as well.

I think this addresses issue #68

tmhglnd commented 3 weeks ago

@munshkr bumping this, did you have time to look at this? :)

munshkr commented 3 weeks ago

Hey! Sorry I forgot about this... this is great! There is already a way to run arbitrary/dummy REPLs with flok-repl, but it works by running a real REPL process and pipes stdin/stdout/stderr. But I like the idea of also having a generic OSC-based client. I'll take a deeper look in the following days and get back to you.