Issue
I am really new to IPython/Jupyter notebook. I just created one notebook (.ipynb) and I want to share it on my webpage. Specifically, I want to add a link, and when people click it, it will open a new "webpage" where they can "view" my code and results.
Note: I cannot use github, it is a huge pain for me.
I tried nbviewer (http://nbviewer.jupyter.org/). It has several options but only one of them (url) is not related to github/gist. So, in order to have an URL for my file, I uploaded it to google drive, and got a public link for the file. On the other hand, when I put that link to nbviewer (as url to my file), it says "there is no file in this url". On the other hand, I know the link works, because when I put it on browser, it directs me to download the .ipynb file.
I appreciate your help.
Thanks, J.
Solution
There appears to be limited non-GitHub options for sharing notebooks. You can still share a link directly from Google's colaboratory. This will allow you to:
- Upload your file
- Share the link with various permissions
Any Google user can view (and optionally edit) your notebook.
See also other options:
- Jupyter Notebooks IPYNB Viewer: chrome extension to view/convert nbs
- binder: sharing notebooks from a GitHub repo; (see related blog post)
- nbviewer: for viewing hosted notebooks from GitHub or a url (as mentioned)
- JupyterHub: hosting notebooks on a private server, e.g. local, DigitalOcean
- Azure Notebooks: host notebooks on an Azure server (see sample notebook)
- repo2docker: spawn docker container from a git repo of notebooks
- commuter: read notebooks from a local directory or S3 service
- cocalc: collaborative and share private notebooks
- nextjournal: publish notebooks and save work as containers
- Deepnote: real-time collaborative notebooks with simple setup
- fastpages: convert notebooks/markdown to GitHub pages via GitHub Actions (thanks Björn)
Answered By - pylang
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.