Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.41 KB

README.md

File metadata and controls

17 lines (11 loc) · 1.41 KB

ipredirect-platform-cross ipredirect-code-js ipredirect-ipfs ipredirect-license

IPRedirect

IPRedirect (short for interplanetary redirect), a JavaScript to redirect IPFS and IPNS addresses to localhost in your browser.

Install the userscript with e.g. Tampermonkey.

The script presupposes that your localhost IPFS port has been set to 8080. If not, you need to manually edit the port number in line 17 of the script.

The script determines, if your IPFS node is running. If not, it won't redirect, and instead open the URL as is.

You will need at least ipfs v0.4.9 for redirects to work on e.g. the snapshot of the Turkish Wikipedia.

You should also keep an eye on the evolving IPFS browser extensions project; a userscript solution like this is only necessary, as long as no full-fledged browser extensions have been released.