News for hackers. Stuff that matters.
Re:Subdomains for IPFS by AndyMcConachie on Monday June 28, 2021 @11:01AM (#27662852)
How can one have sub-domains for IPFS?

I thought IPFS URIs were like:

ipfs://{HASH}

But this site has them as:

https://ipfs.io/ipfs/{HASH}

I'm confused.

Re:Subdomains for IPFS by Iridescent_ on Monday June 28, 2021 @11:39AM (#27663295)
That is because you can't access IPFS in a regular browser anyways so it is likely a Gateway which fetches IPFS pages for you.
Re:Subdomains for IPFS by nybble41 on Monday June 28, 2021 @02:04PM (#27665299)
That is correct. If you have the IPFS Companion[0] browser extension installed then it can automatically recognize URLs of this form and rewrite them to use your local IPFS node instead of the public ipfs.io gateway. The advantage of using https://ipfs.io/ipfs/... in your links instead of ipfs://... is that the former still works even if the visitor doesn't have the extension installed.

[0] https://github.com/ipfs/ipfs-companion