<p dir="ltr">Jupyter Nbviewer dockerfile and docker compose yml:</p>
<p dir="ltr">* <a href="https://registry.hub.docker.com/u/jupyter/nbviewer/dockerfile/">https://registry.hub.docker.com/u/jupyter/nbviewer/dockerfile/</a><br>
* <a href="https://github.com/jupyter/nbviewer/blob/master/docker-compose.yml">https://github.com/jupyter/nbviewer/blob/master/docker-compose.yml</a></p>
<p dir="ltr">Static hosting, manual build:</p>
<p dir="ltr">* <a href="https://pypi.python.org/pypi/runipy">https://pypi.python.org/pypi/runipy</a><br>
* <a href="https://pypi.python.org/pypi/pgs">https://pypi.python.org/pypi/pgs</a></p>
<div class="gmail_quote">On Aug 3, 2015 11:30 AM, "Surya" <<a href="mailto:kasturisurya@gmail.com">kasturisurya@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hello, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 3, 2015 at 8:45 AM, Nicholas Bollweg <span dir="ltr"><<a href="mailto:nick.bollweg@gmail.com" target="_blank">nick.bollweg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>As has been pointed out before, nbviewer as such is a pretty thin wrapper around nbconvert, with most of the decisions there coming from the nbviewer.*.org site to handle working with a growing collection of backends, and a fairly high number of burst users.<br><br></div><div>Where do you host your files? What more do you want from us? If you host your files as ipynb, say this top result:<br><a href="http://scipy-central.org/item/22/5/building-a-simple-interactive-2d-data-viewer-with-matplotlib.ipynb" target="_blank">http://scipy-central.org/item/22/5/building-a-simple-interactive-2d-data-viewer-with-matplotlib.ipynb</a><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"> </div> <br></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div></div><div>That would just become:<br></div>GET <a href="http://nbviewer.org/url/scipy-central.org/item/22/5/building-a-simple-interactive-2d-data-viewer-with-matplotlib.ipynb" target="_blank">http://nbviewer.org/url/scipy-central.org/item/22/5/building-a-simple-interactive-2d-data-viewer-with-matplotlib.ipynb</a><br><br><div>You pull that, and do some regex stuff serve it back out. I am pretty sure we won't throttle you, especially if you are doing some caching yourself: django makes it pretty easy.<br></div><div><br></div></div></div></div></blockquote><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">Yes, we'd like to host on SciPy Central itself. This sound sound good. I will check with this implementation, and get back if there are any issues. </div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline"></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div></div></div><div>You could even put it in an iframe. We could potentially add some js/CSS that might detect whether it was embedded if all you really want to do was to hide our chrome.<br></div><div><br></div><div><div>If you are going to be doing much custom stuff beyond small regexen, and you control the files you are rendering, it may actually be easier to integrate with nbconvert than nbviewer. since you are already running django, could you not just use something really simple like this flask snippet:<br></div><a href="https://gist.github.com/yoavram/5128702" target="_blank">https://gist.github.com/yoavram/5128702</a><br><br></div>Throw a little per-view caching on it, and you've got basically what nbviewer does, without as many headaches. But do be careful, if people are going to be logging in: it's basically not safe to run untrusted notebooks, even/especially ones in "moderation queues" where the notebooks would have javascript-based access to important data. Best practice would be to run nbviewer (or your djnbviewer) on a wholly separate domain!<br></div><br><div><div><div><div><div class="gmail_quote"><div><div><div dir="ltr">On Sun, Aug 2, 2015 at 4:45 PM Thomas Kluyver <<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_extra">Hi Surya,<br><br></div><div class="gmail_extra">Thanks for working on this, I think notebooks would be a very natural extension of SciPy Central.<br></div></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 2 August 2015 at 12:10, Surya <span dir="ltr"><<a href="mailto:kasturisurya@gmail.com" target="_blank">kasturisurya@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am wondering, if its possible for you guys to provide IPython Notebook rendering as HTTP service for the application? It would help us to deeply integrate feature.</blockquote></div><br></div></div><div dir="ltr"><div class="gmail_extra">On the technical side, yes, it's relatively easy to do notebook rendering as an HTTP service. This is the basis of our own nbviewer site, and of notebook rendering on Github.<br><br></div><div class="gmail_extra">Our web services are generously hosted for free by Rackspace. Kyle Kelley will probably respond to this thread soon, and he can talk about what they can offer for doing something like this.<br><br></div><div class="gmail_extra">Best wishes,<br></div><div class="gmail_extra">Thomas<br></div></div></div></div>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div></div></div></div></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thank you guys.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Surya</div><br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div>