Pluto notebooks

Run Pluto notebooks on the cloud

JuliaHub offers support for Pluto notebooks on the cloud. Pluto is a notebook package for Julia. It is similar to other notebook systems such as Jupyter where an interactive webpage acts as a frontend for development connected to a local or remote julia backend. Pluto is a first-class notebook implementation for Julia with some distinguishing features such as reactivity. It is actively developed and loved by the Julia community. More information can be found on the Pluto.jl github page and the Pluto presentation from JuliaCon 2020 by its creators.

Pluto can be launched either through the Applications or the Pluto page in the Compute section. Click the launch button, configure the node and click Start.

Compute

Launch-1

launch-2

Once a node has launched the Launch button will turn into a Connect button clicking which will open your Pluto session.

connect

Click Create a new notebook or paste a notebook URL into the Open from URL textbox to begin development. Notebooks are autosaved on the cloud.

new-notebook

Pluto Page

The Pluto page (Compute > Pluto) provides a simple file manager for Pluto notebooks. Notebooks are organised into folders. Create a new folder by clicking the Add Folder button.

new-folder-1

new-folder-2

Use the action icon to delete folders or edit their name and description. (Default folder cannot be altered.)

edit-delete

edit-folder

You can download your notebooks using the download icon and upload new ones by clicking

download-notebook

The edit icon can be used to edit the notebook's name and tags.

The Launch button will open the corresponding notebook in a Pluto session. Clicking it will prompt you to start a session if there is no running session or open this notebook in the running session.

launch-notebook

Publish notebooks

Notebook folders have a visibility which can be either Public or Private. By default new folders are Private but can be set to Public. The Default folder's visibility cannot be altered.

folder-visibility

A Public notebook folder is listed in the Explore > Notebooks section allowing users to share their notebooks with the community. You will also spot your private folders here but it's only visible to you for convenience.

  • Pluto/Sample consists of some sample notebooks.

  • Pluto/PlutoCon'21 consists of notebooks presented at the PlutoCon'21 conference.

By default notebooks don't have an HTML available however one can generate HTML using a generate-HTML job. Select the notebooks you wish to generate the html for then click the Generate-HTML button.

generate-html

The job is listed below in the PlutoJobs table.

generate-job

Once complete the HTML is viewable in the Explore section. Link button below the notebook name will lead you to this page.

If the HTML for a notebook is unavailable its source code will be displayed instead.