dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.62k stars 66 forks source link

Creating a in-browser playground for Closh #29

Closed bigDaddyS1oth closed 5 years ago

bigDaddyS1oth commented 6 years ago

Hello,

While I'm not nearly as experienced as probably most of you all who look into Closh are, I thought it might be interesting if we could create sort of a in-browser Closh playground for people to check out easily. Obviously it'd be written in Clojure[Script] 😉, but I think it'd be a fun project.

dundalek commented 6 years ago

I think it would be doable. Bootstrapped ClojureScript in browser has been done and there are javascript libraries available for tty rendering.

The power of Closh is about combining unix commands, otherwise you just have a simple cljs repl. So the trickiest part would be to either implement mocks of some unix commands or run it on the server and figure out some sandboxing so that server does not get pwned.

I will keep this open in case someone is looking for an inspiration on what to hack on.

dundalek commented 6 years ago

I just discovered fish playground and contacted Root&Roll folks to see if it would be possible to create a playground for closh too.

dundalek commented 5 years ago

Created a closh playground: https://repl.it/@dundalek/closh-playground