Embed jupyter notebook in another site without iframe

992 views
Skip to first unread message

Naveen Venayak

unread,
Mar 21, 2017, 4:40:11 PM3/21/17
to Project Jupyter
I'm wondering if it is possible to embed the jupyter notebook in another site, without using an iframe. 

I am hoping to use jupyter hub to deploy individual docker containers for each user, and then have them access those containers seamlessly within the main site (without have to navigate somewhere else). I am also planning to have some interactivity between the data on the main site and the jupyter notebook, so having the site and notebook share the same scope would be beneficial.

Any recommendations or examples would be appreciated!

Thanks

Jason Grout

unread,
Mar 22, 2017, 3:41:56 PM3/22/17
to Project Jupyter
I would try doing this with the JupyterLab notebook component. I would definitely not try to do this with the classic notebook.

A self-contained example of embedding the JupyterLab notebook component on a page is at https://github.com/jupyterlab/jupyterlab/blob/master/examples/notebook/ (in particular, see https://github.com/jupyterlab/jupyterlab/blob/master/examples/notebook/src/index.ts). To run this example, clone the jupyterlab repo, then do `npm run install`, `npm run build`, and then go into the examples/notebook directory and do `npm run build`. Then launch the example by doing `python main.py`.

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/82dd25b2-6d86-43c6-a682-85cc81877712%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages