HTML Elements for IPFS.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
dist.js
index.html
index.js
package.json

README.md

IPFS Elements

HTML elements you can use to display content from IPFS.

Usage:

<body>
  <script src="https://cdn.jsdelivr.net/npm/ipfs-elements@latest/dist/ipfs-elements.min.js"></script>
  <ipfs-img
    api="/ip4/127.0.0.1/tcp/5001"
    src="/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg">
  </ipfs-img>
</body>