Explore the docs
·
View Demo
·
Report Bug
·
Request Feature/Example
Feel free to jump directly into the examples, however going through the following sections will help build context and background knowledge.
<script>
tagsMake sure you have installed all of the following prerequisites on your development machine:
Explore ProtoSchool's IPFS tutorials for interactive Helia coding challenges, deep dives into DWeb concepts like content addressing, and more.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
https://github.com/ipfs-examples/helia-examples
)git checkout -b feature/amazing-feature
)git commit -a -m 'feat: add some amazing feature'
)git push origin feature/amazing-feature
)helia-
and ideally be one or two words that describe what it's about - e.g. helia-transfer-files
examples
, eg. ./examples/helia-transfer-files
project-list
lists in the examples
and push-changes
jobs in this repositories ./github/ci.yml
ipfs-examples
org for the new example to live in.
https://github.com/ipfs-examples/helia-transfer-files
.github
folder?project-list
lists in the examples
and push-changes
jobs in the ./github/ci.yml
file of this repo?/examples/
foldertest-util-ipfs-example
libraryclean
: used to clean all the unnecessary code (e.g.: files generated by bundlers and package managers)build
: used to build the examplestart
: used to start the exampletest
: used to test the exampleREADME.md
must have (see example inside example-template
):
Codesandbox.com
for one-click running demonstrationimg/
foldergithub/workflows/ci.yml
project
under matrix
helia
to run tests against the repoOpen a PR to the ipfs/helia project that edits the .github/workflows/examples.yml
in order to make sure a Helia release does not break your new example.
Search .github/workflows/test.yml
for the test-examples
section and add a block at the end of the example
matrix key similar to:
- name: my super fun new example
repo: https://github.com/ipfs-examples/helia-my-super-fun-new-example.git
deps: helia@$PWD/packages/helia/dist
The value of the deps
key will vary depending on which modules from Helia your example uses. Above we override the helia
module, but your example may different deps.
Please see the existing setup in .github/workflows/test.yml
for how to ensure you are overriding the correct modules.
The IPFS implementation in JavaScript needs your help! There are a few things you can do right now to help out:
Read the Code of Conduct and JavaScript Contributing Guidelines.