ipfs / infra

Tools and systems for the IPFS community
MIT License
133 stars 41 forks source link

make our IPFS hosted sites more obvious? #173

Open jbenet opened 8 years ago

jbenet commented 8 years ago

thoughts @lgierth @whyrusleeping @diasdavid ?

Kubuxu commented 8 years ago

We can setup nginx to do the general <domain> -> <gateway>/ipns/<domain> redirect but separate IPv4 would be needed.

ghost commented 8 years ago

@jbenet on another thread:

We probably should distinguish:

  1. A global gateway that people CAN remap themselves in communities.
  2. A definitive global gateway that we control ( (1) resolves via (2) by default )
  3. The project's website.

It can still be all wrapped into one domain, but probably whatever we tell people to use as links should be (1).

Other:

  • gateway.ipfs.io is too long
  • i think we got ipfs.link, we could prefer that one going forward. (or even fs.link or fs.io)
  • the original goal was to get the ipfs TLD, we can still do that eventually.

I agree the three roles should be separated, so that we encourage remapping/hijacking in a clean and safe way. There's a trade-off here between which roles to move away from ipfs.io.

So maybe: ipfs.io stays with the IPFS team, ipfs.link is the canonical name.

We should then also stop encouraging pointing CNAME to gateway.ipfs.io for "custom-domain pages", and pointing it to ipfs.link instead. This would have the neat side-effect, that any custom-domain page could be served by a mesh-local IPFS gateway (except for the DNS lookups of course).

BTW, ipfs.link is taken -- we could try to get it, or get something like ipfs.web.

ghost commented 8 years ago

Sorry for maybe overloading the issue :) Yes we can definitely do the simple redirect of ipfs.io -> ipfs.io/ipns/ipfs.io

This might be confusing though without separating the canonical-URL-role from the project-website-role (see above).

daviddias commented 8 years ago

Why not start having a "Hosted and Served through IPFS" Ribbon, like:

image

An then we can even add the respective hash to the ribbon, so that people could click and load it through an ipfs.io/ipfs/HASH link

RichardLitt commented 8 years ago

I could add it to the os-protocol, and we could talk about that somewhere.

ghost commented 8 years ago

On a sidenote, the .web gTLD is auctioned on July 27th [1] so there's at least some movement in that regard.

[1] http://domainincite.com/20364-web-has-an-auction-date

jbenet commented 8 years ago

@lgierth captured all the things. Totally agreed.

On a sidenote, the .web gTLD is auctioned on July 27th [1] so there's at least some movement in that regard.

[1] http://domainincite.com/20364-web-has-an-auction-date

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ipfs/infrastructure/issues/173#issuecomment-231618128, or mute the thread https://github.com/notifications/unsubscribe/AAIcoZnNFFO3v4B8cW2j8mZYlVI5u32lks5qUYQtgaJpZM4JD87y .

Kubuxu commented 8 years ago

For some time I am thinking about set of small js scripts for helping support ipfs. Like: web+fs redirection, pin-it iframe when API tokens come out, it could be a ribbon too.

x5engine commented 5 years ago

ipfs.link still no one?

mkg20001 commented 5 years ago

hijacking encouraged but we should stipulate that they must return the right content, and we need to encourage users of http links to verify the content where possible.

I've got a nice idea: The ribbon could be opt-in via a DNS TXT record, so it wouldn't mess with sites that don't want to have it For example TXT _ribbon.libp2p.io "v=1,enabled=true" would enable the ribbon on the libp2p.io site if it is retrieved through the gateway

It could be further extended with parameters like a pattern to tell it when it should trigger (so that certain pages the are embedded in others don't have it, though it should be fairly easy to detect iFrames by default) and possibly a color/theme option.

The code to inject and display it could also be part of the upstream ipfs and hidden under an option/flag

Opinions?

lidel commented 5 years ago

Ad. "ipfs.link": We have dweb.link these days :)

Ad. "ribbon": I believe Gateway operator should have the ability to flip it to opt-out and display ribbon by default if no TXT record with enabled=false is present.

E.g. our public gateways provide bandwidth for free, and we should add ribbon by default.