Sharing Jupyter Notebooks?

I've long used Colab notebooks with Google, and they're amazing. I'm now having to use Jupyter Notebooks in VS Code, and am really frustrated that there isn't, as far as I can tell, a lightweight way of sharing them with my team, without basically checking them into Github, which feels like too much of a heavyweight process, for what should be easily shareable things. Does anyone know a way to share a Jupyter notebook from my Coder instance? IE So I could them something like https://coder.office.adept-id.com/@Winton/Winton-Instance/MyNotebook.ipynb? Cheers, Winton
Solution:
You need to pass share = "public" to be able to share the link with others (be cautious as it will make it accessible to everyone on the network)
Jump to solution
16 Replies
Codercord
Codercord5mo ago
<#1233556394377216040>
Category
Help needed
Product
code-server
Platform
macOS
Logs
Please post any relevant logs/error messages.
Winton
Winton5mo ago
The other thing, related to this, is there an easy way to connect to Google Drive and Google Sheets? I know there's a convoluted way, creating apps and keys and so on, but again, the wonderful thing about Google Colab is that you can just use a built in library to connect.
Phorcys
Phorcys5mo ago
@Atif has used Jupyter in his templates so he should be able to assist you maybe there's a built-in way or a way that integrates well
Atif
Atif5mo ago
You can set share = authenticated or public to share the coder_app with Coder users or anyone on the network respectively. If you are sharing them publicly, better to also set up auth by setting a password. https://stackoverflow.com/questions/66063686/set-jupyter-lab-password-encrypted-with-sha-256
Stack Overflow
Set Jupyter Lab password encrypted with SHA 256
I am currently running a Jupyter lab service on my Ubuntu 18.04 server. I have set the password on my lab using the following command: $ jupyter notebook --generate-config $ jupyter notebook passwo...
Winton
Winton5mo ago
I'm not quite clear on what you mean here - I have a JUpyter notebook open in VS Code, and the kernel is running on my TF - how do I share the current state of the notebook with someone else in the company, who is not using my kernel?
Atif
Atif5mo ago
Can you your your template? If you make the share property of the template public , anyone on your network can access the Jupiter notebook if you share with them the URL. This article talks about if you also want to put some authentication/password on the shared app.
Winton
Winton5mo ago
My initial question is - where is the URL? I'm opening my Colab from within the github repo directory, from within my Coder instance - I haven't seen anything like a URL?
Atif
Atif5mo ago
YOu will create a coder_app That creates a button on the workspace page YOu can click the button to open the Jupyter and share that URL with anyone. Are you a Coder user? Can you share your template?
Winton
Winton5mo ago
Yep - but I just have a button that create launches VS Code - and then I edit and execute the Jupyter Notebook inside VS Code
Winton
Winton5mo ago
I think you've got a different way of working with Jupyter, perhaps inside a web browser, directly from Coder?
No description
No description
Atif
Atif5mo ago
Yes. You can add a Jupyter lab coder_app using this module
Atif
Atif5mo ago
JupyterLab - Coder Registry
A module that adds JupyterLab in your Coder template.
Atif
Atif5mo ago
This is the easiest way but doesn't allow you to set a password
Solution
Atif
Atif5mo ago
You need to pass share = "public" to be able to share the link with others (be cautious as it will make it accessible to everyone on the network)
Winton
Winton5mo ago
Ah thank you! Question - does this work with Jupyter notebooks in your Github repo as well as standalone ones? I'm guessing it would?
Want results from more Discord servers?
Add your server