Skip to content

Instantly share code, notes, and snippets.

@bollwyvl
Last active November 28, 2021 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bollwyvl/f6420504875355cabca971b5ff384654 to your computer and use it in GitHub Desktop.
Save bollwyvl/f6420504875355cabca971b5ff384654 to your computer and use it in GitHub Desktop.
ipfs on binder
_env/
.env/
.ipfs/
.ipynb_checkpoints/
*.conda.lock
*.log
lite_dir/
tmp/

IPFS on MyBinder.org

Binder

With IPFS enabled on MyBinder.org, it's easy to try out one of the most mature, robust distributed web protocols.

This demo explores things you can do with IPFS.

channels:
- conda-forge
dependencies:
- boa
- conda-build
- conda-lock
- curl
- doit
- go-ipfs
- jupyter-server-mathjax
- jupyter-server-proxy
- jupyterlab >=3.2.4
- mamba
- pip
- pkginfo
- pip:
- jupyterlite ==0.1.0a17
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"LabApp": {
"collaborative": true
}
}
#!/usr/bin/env bash
set -eux
./start
jupyter nbconvert --execute --to html IPCL.ipynb || echo "well, we tried"
jupyter nbconvert --execute --to html IPJL.ipynb || echo "well, we tried"
rm -rf ./.ipfs/{keystore,config}
#!/usr/bin/env bash
set -eux
export IPFS_PATH=$(pwd)/.ipfs
# set up local node
ipfs init
# start the daemon
ipfs daemon 2>ipfs.log | grep -i -o -m1 'Daemon is ready' & tail -f --pid=$! ipfs.log
# continue starting the jupyter server (or `postBuild`ing)
exec "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment