Repository navigation
Run-a-node funnel: hero CTA, live node board, referral links, headless install fix (v0.2.32) - #57
Merged
Merged
Conversation
…s install fix; v0.2.32 - Home page leads with "Run a node", the 100,000-node goal (stated as the mission, not a claim), a live node count with progress bar, and the one-line install. ISR fetch uses next.revalidate so the count is not swallowed into the stub by Next's no-store dynamic error. - /nodes: public board from a new aggregator GET /nodes (short peer id, class, cores, bench score, version, referral handle; never the CPU model string), plus /api/nodes JSON. - Referrals: /r/<handle> gives an install line with C0MPUTE_REF; install.sh (--ref or C0MPUTE_REF) saves ~/.c0mpute/ref, the worker puts it in its capability ad's hardware blob, the board counts nodes per handle. - install.sh no longer aborts on headless boxes: the transcode installer only redirects to /dev/tty when one can be opened (it failed under ssh without -t, cloud-init and containers), and its failure is optional under set -e, so the worker now starts. /install.sh is served as text/x-shellscript. - Providers page: what pays today (Infernet via CoinPay, 16 coins + PayPal, infernet payout set), honest about early demand, requirements table. - README "Run a node" section + nodes-online badge, nav, sitemap, llms.txt. - v0.2.32 (Cargo, JS packages, latest.json fallback). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan9 finding(s) MEDIUM: 9
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.
Goal: a stranger goes from c0mpute.com to a running node in under five minutes, and sees that other people already did.
Funnel audit (fresh Ubuntu 24.04 container, non-root user with sudo, no TTY): the installer took 122 s, then exited 1 before starting the worker.
plugins/transcode/install.shredirected apt to/dev/tty, which cannot be opened under ssh without-t, cloud-init or a container, andinstall_transcode_depswas the last command of anifbody underset -e. Binaries, no node.Changes
/dev/ttyopens, otherwise run non-interactively (DEBIAN_FRONTEND=noninteractivefor apt); transcode deps are optional (|| true)./install.shand plugin installers are served astext/x-shellscript./nodes+/api/nodes: public board from a new aggregator routeGET /nodes: last 8 chars of the peer id, class (cpu / gpu:vendor), cores, bench score, version, referral handle, last seen. Only fields already in the public capability ad; the CPU model string is never published (test pins it)./r/<handle>showscurl -fsSL https://c0mpute.com/install.sh | C0MPUTE_REF=<handle> sh; install.sh (--ref/C0MPUTE_REF) writes~/.c0mpute/ref; the worker addsrefto the hardware blob of its ad (no struct change, old aggregators ignore it); the board counts nodes per handle. Public scoreboard, no payout, stated on the page.infernet payout set), honest that demand is early, requirements table, why it matters.Tests:
cargo test -p c0mpute-corenew tests (referral sanitizing, node board ranking/referrer counts/no CPU model) pass;tsc --noEmitclean;next buildok; localnext startagainst a mock aggregator renders /, /nodes, /r/chovy (404 on an invalid handle) and serves the shell content type.🤖 Generated with Claude Code