-
Notifications
You must be signed in to change notification settings - Fork 11
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
Standalone Electron app? #10
Comments
First thing to do is a fonsp/Pluto.jl#236 heyy that's you! The new Electron.jl package looks cool, you can use it to open the URL. Might be a heavy dependency, but on the other hand, Pluto needs the most recent version of either Firefox or Chrome, so using Electron.jl guarantees that it works (it uses recent Chrome). Otherwise, use DefaultApplication.jl which has URL support or wait for me to get around to fonsp/Pluto.jl#190. |
Then to compile: I have no clue! Curious to hear how it goes, your experience would be useful for me/others as well. It would be great if you could also precompile the notebook code. This might be tricky, because Pluto spawns the notebook process itself, but if I remember correctly, the process needs to be started with a bigger "system image" or something that includes the precompiled code. But lets see how it goes! EDIT: it's possible to pass arguments to the notebook process: https://github.com/fonsp/Pluto.jl/pull/341/files#diff-051418b4b096d180d81593e6537c6efeR89 |
What would it take to make a Pluto notebook into a standalone app using
packagecompiler.jl
? It seems like you would want to be able to open a particular notebook file by passing the path as an argument… I guess there are probably many more steps (I am not an expert)I would be keen to try something, just not sure the best strategy
The text was updated successfully, but these errors were encountered: