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:Jump to 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)16 Replies
<#1233556394377216040>
Category
Help needed
Product
code-server
Platform
macOS
Logs
Please post any relevant logs/error messages.
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.
@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
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-256Stack 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...
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?
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.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?
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?
Yep - but I just have a button that create launches VS Code - and then I edit and execute the Jupyter Notebook inside VS Code
I think you've got a different way of working with Jupyter, perhaps inside a web browser, directly from Coder?
![No description](https://cdn.answeroverflow.com/1234623280866918430/Screenshot_2024-04-29_at_2.49.43_PM.png)
![No description](https://cdn.answeroverflow.com/1234623281122775131/Screenshot_2024-04-29_at_2.51.22_PM.png)
Yes. You can add a Jupyter lab coder_app using this module
JupyterLab - Coder Registry
A module that adds JupyterLab in your Coder template.
This is the easiest way but doesn't allow you to set a password
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)Ah thank you! Question - does this work with Jupyter notebooks in your Github repo as well as standalone ones? I'm guessing it would?