You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What if you want to publish some webpages via Earthstar? Here's a couple ways:
Get Earthstar support in Agregore browser by finishing earthstar-fetch. It specifies an URL scheme for viewing workspace document data in a browser.
(Easier) Add a new URL pattern to earthstar-pub which, in addition to syncing, can also just serve document content as regular HTTP responses. We could try to match the URL scheme from Earthstar-Fetch.
Number 2 is really nice -- you just spin up a pub, sync your data to it, and it acts as a web gateway for viewing webpages stored in your Earthstar documents. You could even embed some javascript in there and distribute whole Earthstar apps that way.
We also need #7Invite-only workspaces so that people can read and help host the data without getting the ability to write to it.
What if you want to publish some webpages via Earthstar? Here's a couple ways:
Get Earthstar support in Agregore browser by finishing earthstar-fetch. It specifies an URL scheme for viewing workspace document data in a browser.
(Easier) Add a new URL pattern to earthstar-pub which, in addition to syncing, can also just serve document content as regular HTTP responses. We could try to match the URL scheme from Earthstar-Fetch.
Number 2 is really nice -- you just spin up a pub, sync your data to it, and it acts as a web gateway for viewing webpages stored in your Earthstar documents. You could even embed some javascript in there and distribute whole Earthstar apps that way.
We also need #7 Invite-only workspaces so that people can read and help host the data without getting the ability to write to it.
See also in earthstar-pub, Serve web content out of Earthstar documents right from the pub
The text was updated successfully, but these errors were encountered: