biancasubion / jupyshare
- воскресенье, 9 июля 2017 г. в 03:13:52
JupyShare lets you release your notebook to the cloud and gives you a public endpoint for it through ngrok. (Ngrok lets you expose localhost directly to the internet)
JupyShare is perfect for two things
Ngrok provides a tunnel to your notebook so you definitely do not want to share the complete link (with the token and everything) with the world because any random person would pretty much have access to your own localhost and start running code on jupyter. To kill the connection to your notebook just run jupyshare kill.
[edit] you can close your notebook, but it will only kill the ngrok process when you either run jupyshare kill
or jupyshare show
immediately after (as of 1.0.7 I didn't write a print statement that it killed the process. 1.0.8 fixes this issue)
The only thing necessary for JupyShare is ngrok.
brew cask install ngrok
pip install jupyshare
jupyshare release
jupyshare kill
jupyshare show
jupyshare --h or --help
jupyshare --browser BROWSER
This project is licensed under the MIT License - see the LICENSE.md file for details