Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Jupyterlab plugin #269

Open
marius311 opened this issue Aug 9, 2020 · 7 comments
Open

Feature request: Jupyterlab plugin #269

marius311 opened this issue Aug 9, 2020 · 7 comments
Labels
almost closed help welcome If you are experienced in this topic - let us know! online deployment About deploying to binder, heroku, self-hosted user request Requested using the feedback form inside Pluto notebooks
Milestone

Comments

@marius311
Copy link
Contributor

I haven't seen this mentioned anywhere, so apologies if its already been discussed.

I've really enjoyed playing with Pluto, but the thing that would definitely get me to use it almost always would be if it were part of Jupyterlab. I can image two ways: 1) if it could somehow use their Notebook UI, so all of their familiar notebook stuff were there, including manipulating cells, their editor, keyboard shortcuts, etc... I can imagine Pluto is too different from a "Jupyter kernel" to work just as a new kernel, but maybe there's a way to still use their notebook interface. If not, I think even 2) just a plugin where you could have a "Pluto tab" inside of Jupyterlab would be incredibly useful, as you would still get the Jupyterlab filebrowser, multipane setup, terminal, etc...

Another really important thing having some Jupyterlab integration would bring is that Jupyterlab is widespread on HPC setups. Every cluster I'm on has a Jupyterhub server where with a single click I can launch a Jupyterlab instance running on a compute node or a GPU node inside of submitted job. If I could keep doing this and then just open up a "Pluto tab" within one of these Jupyterlab instances, it would be incredibly powerful. Currently, its much harder to get Pluto running inside one of these jobs and tunnel everything back to my laptop. Definitely not impossible, but far from one-click, but you'd get that for free inside Jupyterlab.

Maybe some aspect of integrating with Jupyterlab would also overlap with VSCode integration, which I've also seen mentioned elsewhere. In any case, just some ideas, and good luck!

@fonsp
Copy link
Owner

fonsp commented Aug 12, 2020

Thanks for your thoughts, I'm working on this!

https://mybinder.org/v2/gh/fonsp/vscode-binder/master?urlpath=lab (does this link work?)

I got it running, but I'd like to make it more like your suggestion 2).

I'm also thinking about doing the same, but with VS Code as a replacement for jupyterlab. This seems to be the future, and VS Code is much more useful if you want to develop standalone Julia scripts and packages.

@fonsp fonsp added almost closed help welcome If you are experienced in this topic - let us know! online deployment About deploying to binder, heroku, self-hosted user request Requested using the feedback form inside Pluto notebooks labels Aug 12, 2020
@fonsp fonsp added this to the 🧭 v0.12 milestone Aug 12, 2020
@marius311
Copy link
Contributor Author

(does this link work?)

That does work, nice, that was fast!

Thanks for taking a look and glad to hear its on your roadmap.

@fonsp
Copy link
Owner

fonsp commented Sep 13, 2020

I managed to install it as a lab extension, but still have lots of questions. Demo:
https://github.com/fonsp/pluto-on-binder
which is a stripped down version of the link i sent in my earlier comment

Could someone with experience in JupyterLab contact me? (maybe @marius311 or @marketneutral ?) We can probably get this done together :)

fonsvdplas@gmail.com

@marius311
Copy link
Contributor Author

Do you have a code snippet or link to some docs that show how I load the code here as an extension? I'd be interested in trying to help.

@fonsp
Copy link
Owner

fonsp commented Sep 13, 2020

Yeah have a look at https://github.com/fonsp/pluto-on-binder - that's all I know

@marketneutral
Copy link

Could someone with experience in JupyterLab contact me? (maybe @marius311 or @marketneutral ?) We can probably get this done together :)

It would be an honor to help with Pluto.jl, but I don't have any experience in building JupyterLab extensions (in fact, I have moved away from Lab back to the classic notebook b/c I have so much trouble with even getting existing released extensions working).

@fonsp
Copy link
Owner

fonsp commented Nov 1, 2020

Moved here: fonsp/PlutoUtils.jl#4
in particular, fonsp/PlutoUtils.jl#4 (comment)

but I will leave this open for visibility.

Repository owner locked and limited conversation to collaborators Nov 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
almost closed help welcome If you are experienced in this topic - let us know! online deployment About deploying to binder, heroku, self-hosted user request Requested using the feedback form inside Pluto notebooks
Projects
None yet
Development

No branches or pull requests

3 participants