I want to use the Pluto in the internal computer without internet.
using Pluto
Pluto.run()
The Pluto start slowly, the Loading dialog box is not show, and the new notebook can’t be created. How to use the Pluto without internet?
I want to use the Pluto in the internal computer without internet.
using Pluto
Pluto.run()
The Pluto start slowly, the Loading dialog box is not show, and the new notebook can’t be created. How to use the Pluto without internet?
Hi cephied,
Pluto (currently) needs internet because some javascript script need to be loaded from cdn.jsdelivr.net
.
The offline script can’t operate successfullly.
$)─> julia offline_pluto.jl
┌ Warning: No match found for line: ~/.julia/packages/Pluto/D9HrI/frontend/common/Binder.js: fetch(`https://cdn.jsdelivr.net/gh/fonsp/pluto-usage-counter@1/binder-start.txt?skip_sw`).catch(() => {})
└ @ Main ~/software/offline_pluto.jl:34
┌ Warning: No match found for line: ~/.julia/packages/Pluto/D9HrI/frontend/sw.js:const allowList = ["www.gstatic.com", "fonts.gstatic.com", "fonts.googleapis.com", "cdn.jsdelivr.net", "cdnjs.cloudflare.com", "unpkg.com"]
└ @ Main ~/software/offline_pluto.jl:34
┌ Warning: No match found for line: ~/.julia/packages/Pluto/D9HrI/frontend/components/CellOutput.js: path: (mode) => `https://cdn.jsdelivr.net/npm/codemirror@5.60.0/mode/${mode}/${mode}.min.js`,
└ @ Main ~/software/offline_pluto.jl:34
┌ Warning: No match found for line: ~/.julia/packages/Pluto/D9HrI/frontend/components/Editor.js: fetch(`https://cdn.jsdelivr.net/gh/fonsp/pluto-usage-counter@1/article-view.txt?skip_sw`).catch(() => {})
└ @ Main ~/software/offline_pluto.jl:34
┌ Warning: No match found for line:
└ @ Main ~/software/offline_pluto.jl:34
ERROR: LoadError: UndefVarError: here not defined
Stacktrace:
[1] top-level scope
@ ~/software/offline_pluto.jl:45
in expression starting at ~/software/offline_pluto.jl:45
here
So what is the work around?
Pluto without internet is working for me.
I am running Julia 1.7.2 and Pluto v0.19.0 completely offline (without internet) with no problems - thank you Pluto developers for the awesome work you are doing!