Homescreen allows developers to easily deploy their front-ends to decentralized storage. From here, users can save immutable versions of the site, without relying on centralized services and they're always able to update to the developer's most recent deployment.
Developers no longer need to worry about keeping their front-ends online. Skynet handles decentralized storage, Homescreen handles access and versioning. This is especially important for DeFi and Web3 applications needing a front-end that prioritizes security, censorship resistance, and consistent access to decentralized protocols and smart contracts.
To learn more about using Homescreen, see the Skynet Guide article on Homescreen.
Users can install apps in two ways:
Projects can place an "Add to Homescreen" button on their site or code repository. Users can click this to open Homescreen and choose to install the app.
Using the input bar at the top of Homescreen, users can add files or sites using skylinks, HNS names, or site URLs. We plan to also support ENS and DNSLink if they resolve to a webapp hosted on Skynet.
Both of these methods with pin the current, immutable skylink to the user's MySky storage. If present in the app's manifest file, the resolver skylink will also be retained for checking for future updates.
Updates are made available for apps by using resolver skylinks. If a project updates where a resolver skylink resolves to, users will be able save the new underlying skylink as a "version" of the app.
Homescreen uses the resolver skylink in the
skylink field of the app's Manifest. This skylink is also used for grouping saved versions and checking for updates. If no
skylink field is found, the resolver skylink used when initially adding the app to Homescreen will be used. If the app has no resolver skylink associated with it, updates and versions are not available for the file or application.
In addition to pinning applications to Skynet, Homescreen uses decentralized storage for saving user data. Homescreen saves application data to MySky Files which are fully controlled by the user's MySky seed.
For developers to add support for Homescreen, they need to do a few things:
Confirm the application front-end supports a static deployment on Skynet (Gatsby & full React Router support coming soon)
Assure APIs and web requests from your app only depend on decentralized protocols that will remain accessible even with future front-end updates. For web3, this usually means interacting with MetaMask or a Skynet portal, not making HTTP requests to your centralized back-end server.
Add an "Add to Homescreen" button on your project's Releases and README that links to Homescreen