Repository navigation
getting-started: host a site on c0mpute and point a Moshpit name at it - #197
Merged
Merged
Conversation
Publish, the /s/<site_id>/ URL on any gateway, moshcode name c0mpute, custom domains by TXT, paid hosting through d1sks, and running a public gateway, with alt.2600 (site ea0e1f5afde44477e71d, edge.c0mpute.com) as the live example. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan13 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds section 8 to /getting-started and a line to docs/hosting.md:
c0mpute hosting publish ./public --name mysite, its printed site id and the/s/<site_id>/path on any gateway (e.g. https://gateway.c0mpute.com/s/<site_id>/)moshcode name c0mpute <label.ending> <site_id>: the registry now resolves such names to the public c0mpute edge, edge.c0mpute.com (moshpit-proxy edge on dev2 behind its SNI router, c0mpute edge: share :443 behind an SNI router (PROXY protocol + fallback) moshpit-proxy#32, dev2-edge: route unrouted Moshpit names to the c0mpute edge cli-tools#252)--domain, TXT_c0mpute-hosting.<domain> "site=<id>", A/AAAA to gateways--disks autoand d1sks[gateway] announceLive example: alt.2600 = Anthony's site ea0e1f5afde44477e71d, served at http://alt.2600, https://alt.2600 (Moshpit root), https://alt.2600.pit.world and https://gateway.c0mpute.com/s/ea0e1f5afde44477e71d/. Command output in the page is copied from the CLI's println! format and
moshcode dns resolve.tsc --noEmitclean in apps/web.🤖 Generated with Claude Code