Show HN: Nodebook – Minimalist Node REPL with Web UI
github.com
github.com
This reminds me of RunKit [1], which some of you may remember as TonicDev.
If your POST endpoints accept application/x-www-form-urlencoded or multipart/form-data, you will definitely want to add this. If you don't, it becomes trivial to rig up a website that will use your browser to trigger a POST to your internal endpoints.
I’d imagine a drop down next to the run button that would list the available languages on the system. The code would need to check for the languages at startup time and store a simple “lang.verson” => “/path/to/exe” map. And then somehow use that when evaluating the code.
This is a cool little project that you have going.
Another minimalist JS REPL powered by Chrome: Ctrl + Shift + J (Windows / Linux) or Cmd + Opt + J (Mac).
I needed something like coderpad.io (that many companies use as a remote interview tool anyway) but free, and that I could use on local files to keep everything in a git repo.
Advantages that I see over the browser console you're suggesting:
* file persistence in a git repo
* uses an actual node instance
* capacity to use npm packages
* disposable environments for every execution (docker or node) so that your code is not polluted by previous runs