docs: point the public install paths at reachable hosts #8

Merged
chrnx merged 3 commits from docs/public-install-paths into develop 2026-08-07 19:47:18 +00:00
Owner

The problem

The README is what gets published to crates.io. It documented two install paths that cannot work from outside the network, and omitted the one that does.

Path Before
curl .../install.sh | sh — the headline one Gitea host, unreachable
cargo install --git <gitea> Gitea host, unreachable
cargo install matcha-cli works, was not in the README

Verified: cargo install matcha-cli --version 26.7.0-beta.0 builds in ~9s and the binary runs. raw.githubusercontent.com/Expressive-Tea/matcha/main/install.sh returns 200.

This is very likely most of the reason matcha sits at 16 downloads while @green-tea/core does 159 a week — the CLI wasn't unpopular, it was uninstallable.

The change

  • README leads with cargo install matcha-cli.
  • Curl one-liner uses the GitHub raw URL.
  • cargo install --git points at the GitHub mirror.
  • install.sh defaults REPO_BASE / API_BASE to GitHub. Both still override, and Gitea's release API is GitHub-compatible for the two calls this script makes, so MATCHA_REPO_BASE=... MATCHA_API_BASE=... sh still installs from the internal host.
  • sh -n install.sh passes.

Still broken after this

There are no releases on GitHub. The v26.7.0 tag is mirrored there, but release.yml has never run on GitHub — zero tag-triggered workflow runs — so no binaries are attached and the prebuilt path 404s.

This PR does not fix that; it stops pointing at an unreachable host and puts the working path first. The release workflow needs its own look.

## The problem The README is what gets published to crates.io. It documented **two install paths that cannot work from outside the network**, and omitted the one that does. | Path | Before | |---|---| | `curl .../install.sh \| sh` — the headline one | Gitea host, unreachable | | `cargo install --git <gitea>` | Gitea host, unreachable | | `cargo install matcha-cli` | works, **was not in the README** | Verified: `cargo install matcha-cli --version 26.7.0-beta.0` builds in ~9s and the binary runs. `raw.githubusercontent.com/Expressive-Tea/matcha/main/install.sh` returns 200. This is very likely most of the reason matcha sits at 16 downloads while `@green-tea/core` does 159 a week — the CLI wasn't unpopular, it was uninstallable. ## The change - README leads with `cargo install matcha-cli`. - Curl one-liner uses the GitHub raw URL. - `cargo install --git` points at the GitHub mirror. - `install.sh` defaults `REPO_BASE` / `API_BASE` to GitHub. Both still override, and Gitea's release API is GitHub-compatible for the two calls this script makes, so `MATCHA_REPO_BASE=... MATCHA_API_BASE=... sh` still installs from the internal host. - `sh -n install.sh` passes. ## Still broken after this **There are no releases on GitHub.** The `v26.7.0` tag is mirrored there, but `release.yml` has never run on GitHub — zero tag-triggered workflow runs — so no binaries are attached and the prebuilt path 404s. This PR does not fix that; it stops pointing at an unreachable host and puts the working path first. The release workflow needs its own look.
chrnx added 1 commit 2026-08-07 19:13:44 +00:00
docs: point the public install paths at reachable hosts
CI / check (pull_request) Successful in 26s
f88c11ac0b
The README is what crates.io publishes, and it documented two install paths
that cannot work from outside the network — the curl one-liner and
`cargo install --git` both pointed at the internal Gitea host — while omitting
the one path that does work today: `cargo install matcha-cli`.

That is very likely most of why matcha has 16 downloads against the core
package's 159 a week.

- Lead with `cargo install matcha-cli`. Verified working from crates.io.
- Curl one-liner now uses the GitHub raw URL, which is reachable (200).
- `cargo install --git` points at the GitHub mirror.
- install.sh defaults REPO_BASE / API_BASE to GitHub. Both env vars still
  override, and Gitea's release API is GitHub-compatible for the two calls
  this script makes, so installing from the internal host still works.

Note: the prebuilt-binary path stays broken until releases exist on GitHub.
The v26.7.0 tag is mirrored there but release.yml has never fired on GitHub —
zero tag-triggered runs. Tracked separately.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx added 1 commit 2026-08-07 19:18:47 +00:00
Cargo embeds README.md into the published .crate, so crates.io keeps serving
whatever was there at publish time. The install-path fix in this branch is
invisible to anyone reading crates.io until a new version ships — and that page
is the whole point, since it is where the broken curl command is currently
advertised.

Calendar versioning, same as the core package: this is the first matcha cut in
August 2026.

Note for tagging: the previous release tagged `v26.7.0` while Cargo.toml said
`26.7.0-beta.0`. Tag this one `v26.8.0-beta.0` so the tag and the crate version
match.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx added 1 commit 2026-08-07 19:40:58 +00:00
docs: describe what the CLI actually does differently
CI / check (pull_request) Successful in 26s
95b7b92fdf
crates.io shows this line in search results and on the crate page, and
"scaffold and manage graph-based apps" describes every scaffolder ever
written.

The differentiator is that `matcha create` wires what it generates into its
`@Module` — a generic generator drops files and leaves the wiring to you.
Say that, plus runtime detection and the no-JS-runtime install, since those
are the parts a reader cannot get elsewhere.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx merged commit 8910fe22ee into develop 2026-08-07 19:47:18 +00:00
Sign in to join this conversation.