Skip to content

feat: Links that download content / repositories / folders and launch nteract in them #662

@choldgraf

Description

@choldgraf

As a reader, I often want to quickly interact with the ideas in a notebook (either as a single notebook, or a collection of notebooks in something like a jupyter book). As an author, I want the friction between "reader is interested" and "reader tries it out themself" to be as small as possible.

Given that nteract can build environments lightning-fast, it might be quite useful if it could also grab content in a simple way as well.

For example, imagine an nteract link that followed something like the Binder spec:

nteract://gh/myorg/myrepo/

OR

nteract://gh/myorg/myrepo/blob/mynotebook.ipynb

OR something like

nteract://url/https://gh/myorg/myrepo (no idea if this could work)

when a reader clicks that link on a website, blog, etc, if nteract is installed, then it intercepts the link, understands the spec, and knows to fetch the content locally into a standard folder the user specifies, and opens nteract at that location. The environment gets auto-installed along the way and they're off to the races.

Note: This would probably be a potential mechanism for abuse if stuff gets auto-execed!

this is a random shower thought that came to me, rewrite/dismiss/etc as you wish 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions