4 ms·
We share a similar vision at Tonic that code snippets should be completely runnable. With Tonic embeds ( https://tonicdev.com/embed https://tonicdev.com/embed )
by tolmasky 10y ago
We share a similar vision at Tonic that code snippets should be completely runnable. With Tonic embeds ( https://tonicdev.com/embed https://tonicdev.com/embed ) your code is automatically connected to every version of every one of the 300,000 library on npm (just require("library") or require("library@version"), its already pre-installed). Additionally, the code is run in an actual container, so you can use filesystem examples, spin up a web server, whatever you'd like:
1. Example that spins up an express server in the example you can actually hit: http://blog.tonicdev.com/2016/03/09/snapshots.html http://blog.tonicdev.com/2016/03/09/snapshots.html
2. A blog post I wrote about hacking JSX with many runnable examples: http://tolmasky.com/2016/03/24/generalizing-jsx/ http://tolmasky.com/2016/03/24/generalizing-jsx/
3. Node's fs docs with the examples converted to embed: http://capicue.com/fs.html http://capicue.com/fs.html
- diggan 10y agoGood to see Tonic Dev is still alive, not sure what you guys are doing though because there have been no new features/fixes for as long as I can remember and performance and bugs are still bad and highly visible. For other people: Is there anything like Tonic Dev (notebook kind of thing) that runs locally? I want to love Tonic but without offline support, that will never happen...
- tolmasky 10y agoLots of stuff in the pipeline, any specific feature requests in particular? With regard to performance, are you by chance using Firefox? We have some known issues there.
- drhayes9 10y agoCheck out jupyter. It hosts a variety of runtimes including JavaScript and has tons of other goodies like an interactive debugger and graphing. Very powerful.