Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking to decentralized websites #735

Open
damip opened this issue Jan 22, 2025 · 1 comment
Open

Linking to decentralized websites #735

damip opened this issue Jan 22, 2025 · 1 comment
Labels

Comments

@damip
Copy link
Member

damip commented Jan 22, 2025

Context:

See https://forum.massa.community/t/massa-web3-linking-towards-decentralized-websites

Proposal

Add a resolve("mysite.massa/my/resource.html?a=2&b=5#anchor3") -> String that does:

  • if there is native support for mysite.massa, return that URI
  • otherwise, if there is a local provider mysite.localhost:8080, return that URI
  • otherwise, if there is a currently active provider, return that URI
  • otherwise (if there is no active provider) return a link to a deweb page that proposes two things:
    • link to install Massa Station with local provider or install a natively supported browser
    • with an UNSAFE warning, propose a link to a community-maintained list of public providers
    • the URI of the resource is passed in the arguments so that as soon as the user clicks on a provider or installs a native browser or massa station, it redirects them back to the resource they were looking for

In the provider server software, if the user attempts to visit a blocked URL, also propose that same selection page with the same redirection modalities.

@damip damip added the P1 label Jan 22, 2025
@SlnPons
Copy link

SlnPons commented Feb 6, 2025

To be done before: https://github.com/massalabs/deweb_home/issues/27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants