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>
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>
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>
Replaces CARGO_TOKEN with crates.io Trusted Publishing: id-token: write + rust-lang/crates-io-auth-action exchanges the OIDC token for a short-lived crates.io token. Requires a trusted publisher configured on crates.io (Expressive-Tea/matcha, release.yml).
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Crate renamed matcha->matcha-cli for crates.io (the name matcha is taken); binary stays matcha. Adds description/license/repository and CalVer prerelease version. New .github/workflows: ci (fmt+clippy+test), promote (main+tags -> GitHub), release (relocated from .gitea + crates.io publish on GitHub only). Cargo.lock regenerated; gate passes locally.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
- wire::add_import now merges a new symbol into an already-present
`import { ... } from '<from>';` brace instead of appending a second,
colliding import line for the same module (a duplicate ESM binding
is a hard SyntaxError/TS2300, not a harmless dupe as previously
assumed). Falls back to appending a new line when the module isn't
imported yet, or if the brace-merge edit fails the parses_clean
guard.
- cmd_add::run gains a capability-level idempotency guard, keyed on
each capability's unique route-path literal, so `matcha add <cap>`
run twice no longer appends a duplicate handler + route.
- cargo fmt --all across the crate; drop the stale #[allow(dead_code)]
on wire::parses_clean now that it's demonstrably live.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
description="The green-tea CLI: scaffold a project, generate controllers, steps and providers already wired into their module, and run with your runtime detected. One native binary, no JS runtime needed to install it."
The [green-tea](https://git.svc.zoit.services/Green-Tea/core) CLI — scaffold, run, and generate green-tea apps from a single native binary. No JS runtime required to install or operate.
The [green-tea](https://github.com/Expressive-Tea/green-tea) CLI — scaffold, run, and generate green-tea apps from a single native binary. No JS runtime required to install or operate.
## Install
```bash
curl -fsSL https://git.svc.zoit.services/Green-Tea/matcha/raw/branch/main/install.sh | sh
cargo install matcha-cli
```
Installs a prebuilt binary to `~/.local/bin` — no Rust required. Env vars go on
the `sh` side of the pipe:
Builds from [crates.io](https://crates.io/crates/matcha-cli) and installs the `matcha`
binary. Needs a Rust toolchain; takes a few seconds.
**Prebuilt binary** (no Rust), from the latest GitHub release:
```bash
curl -fsSL https://raw.githubusercontent.com/Expressive-Tea/matcha/main/install.sh | sh
```
Drops the binary in `~/.local/bin`. Env vars go on the `sh` side of the pipe:
```bash
curl -fsSL …/install.sh |MATCHA_VERSION=v26.7.0 MATCHA_INSTALL_DIR=/usr/local/bin sh
```
**From source** (requires Rust — compiles and installs):
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.