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.
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>
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>
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 develop2026-08-07 19:47:18 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.
curl .../install.sh | sh— the headline onecargo install --git <gitea>cargo install matcha-cliVerified:
cargo install matcha-cli --version 26.7.0-beta.0builds in ~9s and the binary runs.raw.githubusercontent.com/Expressive-Tea/matcha/main/install.shreturns 200.This is very likely most of the reason matcha sits at 16 downloads while
@green-tea/coredoes 159 a week — the CLI wasn't unpopular, it was uninstallable.The change
cargo install matcha-cli.cargo install --gitpoints at the GitHub mirror.install.shdefaultsREPO_BASE/API_BASEto GitHub. Both still override, and Gitea's release API is GitHub-compatible for the two calls this script makes, soMATCHA_REPO_BASE=... MATCHA_API_BASE=... shstill installs from the internal host.sh -n install.shpasses.Still broken after this
There are no releases on GitHub. The
v26.7.0tag is mirrored there, butrelease.ymlhas 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.