Skip to content
Userscript to redirect IPFS and IPNS addresses to localhost in the browser
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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


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.

You can’t perform that action at this time.