+ Publish a directory of static files once. Hosting nodes keep three
+ copies, replace any copy whose node disappears, and every c0mpute
+ gateway serves it. Live example:{" "}
+ alt.2600 is site{" "}
+ ea0e1f5afde44477e71d, also at{" "}
+
+ gateway.c0mpute.com/s/ea0e1f5afde44477e71d/
+ {" "}
+ and, for browsers without Moshpit DNS,{" "}
+ alt.2600.pit.world.
+
publish (after step 1):
+
+ The site is signed with this machine's key, so only this machine
+ can publish new versions: run the same command with the same{" "}
+ --name to update it. Any gateway serves it at{" "}
+ /s/<site_id>/, for example{" "}
+ https://gateway.c0mpute.com/s/<site_id>/. Limits:
+ 256 MiB and 10,000 files per site.
+
point a Moshpit name at it (free to register):
+
+ The registry now answers the name with the c0mpute edge
+ (edge.c0mpute.com). The edge holds a Moshpit CA certificate for the
+ name and fetches /s/<site_id>/ from whichever
+ gateway is healthy, so https://alt.2600 works for anyone
+ on Moshpit DNS (moshcode dns enable installs the root)
+ and http://alt.2600 works without the root. Pointing
+ the name at a server again takes it off c0mpute.
+
or a domain you own:
++ A gateway serves the domain only when both agree: the signed site + record lists it and its TXT names the site. +
+ +pay hosting nodes to keep it (d1sks marketplace):
+
+ Picks preferred hosts from{" "}
+ d1sks,
+ cheapest first. Keep a node running on the publishing machine: it
+ challenges the holders and settles, as a dry run until{" "}
+ [payments] is enabled. Free copies stay free.
+
run your own public gateway:
+
+ An announced gateway is listed as gateway on{" "}
+ /api/nodes, where the Moshpit edge and other clients find
+ gateways to fetch sites from. More in{" "}
+
+ docs/hosting.md
+
+ .
+