Generate nbgitpuller links from inside GitHub with this webextension (Chrome, Firefox)
BSD-3-CLAUSE License
A browser extension to help you generate nbgitpuller links directly from GitHub.
It adds an icon to the browser toolbar which will be enabled whenever you are on GitHub.
On clicking the button, a form pops up. You can enter a JupyterHub URL and the application you want to use to open this file, folder or repository. Then you can just copy the nbgitpuller URL, and share it with your students!
The JupyterHub URL and application you choose are remembered, so you do not need to enter it over and over again.
The preferred, easy method to install and keep the extension up to date is to install it from the addons.mozilla.org.
The preferred, easy method to install and keep the extension up to date is to install it from the the Chrome Web Store.
.zip
version of the latest releasenbgitpuller_link_generator-<version>.zip
..zip
file you downloaded in step 1, and select thatYou can find more information here.
.zip
version of the latest releasenbgitpuller_link_generator-<version>.zip
..zip
file you downloaded..zip
filemanifest.json
file that.zip
file.You can find more information here.
npm install
npx webpack --mode=production
Then build for either browser: (They have slightly different manifest files)
npx web-ext build -s dist-firefox/ -a web-ext-artifacts-firefox --overwrite-dest
npx web-ext build -s dist-chrome/ -a web-ext-artifacts-chrome --overwrite-dest
This produces a .zip
file in each web-ext-artifacts*
folder that you can use.