I wanted to make something similar to Codepen for clojurescript. I experimented with self-hosted clojurescript to come up with completely client-side application.
Currently this is at prototype stage. https://oneto018.github.io/cljs-coop/.
currently no way to add dependencies (js or clojurescript). But am close to implementing both. So available namespaces are cljs.core & all the closure libs
Code is shareable through url for now. so whatever the limit of the browser url is the limit. I will probably use a third party k/v service to load code from remote location instead of url soon.
its definitely possible to load the self hosted clojurescript js file as an external library in https://codepen.io/ . There are several reasons why its not ideal
syntax highlighting. Currently they have highlighting for html,css,js,babel es6,jsx. Adding clojure/lisp code highlighting may not be possible without the help of the creator of the website
Dependencies. Codepen currently have way to include external js. But not clojars dependencies (which I am working on it)
Apart from these , I just wanted see if the whole thing works without the help of an external server. So that it doesn’t require any maintenance whatsoever . Just serve it from github pages forever
Really cool! I tested by bringing my Eratosthenes Party there.
Would be nice with a REPL as well. Maybe you could use the same stuff as Calva uses for its (not yet released) REPL window for that. PM me about it, if that sounds interesting.
Actually, I use the klipse app regularly to identify how the clojurescript is translated to js. Its very invaluable for me to understand the compiler while I was building this.