gorilla-repl
gorilla-repl copied to clipboard
Add viewer support for IPFS files.
This adds viewer support for files on IPFS, by extending viewer to two new sources:
-
view.html?source=ipfs&hash=<ipfs-hash> -
view.html?source=ipns&hash=<ipns-hash>
You can try it with the one of the example files I put on IPFS: QmbRdyLXiFWrKc5hW1NbvpUxF9tLovWCPgiz4BDhjD9k3j
Also, the viewer is now hosted on IPFS with added native support (relative IPFS paths): /ipfs/QmTjbCM2JEM7HEyiuSGYzzSnVctWXozaMpiGAKTDCadiZn
That version is in this repo.