<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi list, <div><br></div><div><div>Pushed by PR 2694 [1], I was wondering If i would be feasible to host multiple application </div><div>along side IPython notebook on the same port, just routing by url.</div></div><div><br></div><div>This is how is born ipython-notebook-proxy[2] which allow you to run multiple notebooks and applications</div><div>on the same port (yes port 80 I think of you, 443 you'll be next, stupid work firewall I'll get you one day).</div><div><br></div><div>For convenience right now, it drops you in a node-REPL where you can do </div><div><br></div><div>> start('/aaa/',8888)</div><div>> start('/bbb/',8889)</div><div>> start('/ccc/',8890)</div><div>> start('/ddd/',8891) </div><div><br></div><div>And it will gracefully start 4 server accessible at</div><div><br></div><div>localhost:8000/aaa/</div><div>localhost:8000/bbb/</div><div>localhost:8000/ccc/</div><div>localhost:8000/ddd/</div><div><br></div><div>With a little training I'm sure it can do it with your user's logins, and by selecting port by itself.</div><div><br></div><div>Before quitting don't forget to issue a</div><div><br></div><div>> stop_all()</div><div><br></div><div>Configurability for now is None.</div><div><br></div><div>But routing rules can be changed live without dropping the current connexions. </div><div>Possible use with mplh5canvas or anything else not to have to **worry** about port. </div><div>Or in browser galery's demo [3] (not sure if it use a separate serve still…) </div><div><br></div><div>I'll be happy to get feedback, and test under high load/ big number of connected user to </div><div>see how it holds. </div><div><br></div><div>PR are welcomed, </div><div>Will move to IPython-organisation owned repository if it has lot's of success when a little more mature. </div><div><br></div><div>Already available on NPM so no manual install ! </div><div><br></div><div>$ npm install ipython-notebook-proxy </div><div><br></div><div>And happy new year. </div><div>-- </div><div>Matthias</div><div><br></div><div><br></div><div>[1] <a href="https://github.com/ipython/ipython/pull/2694">https://github.com/ipython/ipython/pull/2694</a></div><div>[2] <a href="https://npmjs.org/package/ipython-notebook-proxy">https://npmjs.org/package/ipython-notebook-proxy</a></div><div>[3] <a href="http://cyrille.rossant.net/galrys-story-or-the-quest-of-multi-million-plots/">http://cyrille.rossant.net/galrys-story-or-the-quest-of-multi-million-plots/</a></div></body></html>