Hi, can you launch notebook in binder in “demo mode”? What i mean by this is that the user can’t change the code, all the cells run by default.
Can you run jupyter extensions with binder?
Thanks.
Hi, can you launch notebook in binder in “demo mode”? What i mean by this is that the user can’t change the code, all the cells run by default.
Can you run jupyter extensions with binder?
Thanks.
You can get that effect that the code will be run without the chance to edit it by using app mode Voila or Voici or appmode.
But it won’t look like a notebook.
In fact, if you need the notebook style…
you could display the static version of the executed notebook with nbviewer (or nbsanity) so that it its viewable & not editable. You’ll see the Plotly plots here via nbviewer or still interactive but you cannot edit any code. All that is really happening is that nbviewer is pointing at a web URL from which it displays the pre-run notebook. For instance that notebook with the Plotly plots is actually hosted here where you see the 3D plots aren’t rendered. (If you are trying to share a notebook that you don’t want online & it can work with basic rendering, you can give them the notebook and have them use nbpreview that doesn’t upload to host server because it uses javascript in your browser, see the top of here for more about that.)
Or you can trigger from the command line, or even an independent notebook, to have the notebook be run by jupyter nbconvert
or jupytext
so that when it is opened it is already run. Or then reference the static version of that executed version with nbviewer or nbsanity?
You can definitely run extensions with MyBinder. Commonly, I use Voila, ipympl, ipywidgets, and Jupytext. Let me know if you need some pointers to such repos? I note that jupyterlab_variableinspector has a demo that runs in MyBInder. Voila also a demo and you can check out what configuration can enable it work on MyBinder in the .binder directory.