CI / build (pull_request) Successful in 12s
The homepage led with 'your API is a graph, not a middleware chain' — the origin problem stated as the whole product philosophy. Middleware ordering is what green-tea started from, not what it is for, and a visitor who has never felt that specific pain reads it as a framework defined by what it lacks. Reframes the page around what the framework takes off the application: it derives execution from declared dependencies, validates the wiring before traffic, runs only the slice a route asks for, and then shows its work. Two sections are new because nothing on the page carried the argument — an ownership list that ends at 'business rules: you', and the two route slices that make dependency-driven execution concrete rather than abstract. The dependency count moves from hero to evidence, with the nuance it was missing: reflect-metadata is the only runtime dependency, ws and busboy are optional peers. Beta honesty gains the API-stability caveat. Follows .specs/reports/green_tea_website_copy_strategy_zen.md, whose guardrails were re-checked against the built page — no zero-dependency claim, no compile-time overclaim, mesh still alpha, edge limits still stated. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
84 lines
2.0 KiB
Plaintext
84 lines
2.0 KiB
Plaintext
---
|
|
const chips = ['app.listen(port)', 'serveDeno(app)', 'serveBun(app)', 'edgeHandler(app)'];
|
|
---
|
|
|
|
<section class="runs">
|
|
<div class="wrap runs__inner">
|
|
<p class="kicker">Portability</p>
|
|
<h2>Your application model shouldn't belong to a runtime.</h2>
|
|
|
|
<p class="runs__body">
|
|
The graph, routes, validation and business logic stay the same on Node, Deno, Bun and Cloudflare Workers.
|
|
Runtime-specific serving is isolated at the transport boundary — the only line that changes is how the
|
|
application is served.
|
|
</p>
|
|
|
|
<ul class="runs__chips">
|
|
{chips.map((chip) => <li><code>{chip}</code></li>)}
|
|
</ul>
|
|
|
|
<p class="runs__micro">
|
|
Your product code shouldn't have to care which runtime won this year. <span class="runs__caveat"
|
|
>(The edge has no filesystem or mesh, so those features stay on the server runtimes.)</span
|
|
>
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
<style>
|
|
.runs__inner {
|
|
max-width: 66ch;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.runs__body {
|
|
color: var(--dim);
|
|
font-size: 1.1rem;
|
|
margin: 0 auto 2.25rem;
|
|
max-width: 52ch;
|
|
}
|
|
|
|
.runs__body code {
|
|
background: var(--panel);
|
|
border-radius: 4px;
|
|
padding: 0.15em 0.4em;
|
|
font-size: 0.9em;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.runs__chips {
|
|
list-style: none;
|
|
margin: 0 0 1.75rem;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.runs__chips code {
|
|
display: inline-block;
|
|
background: var(--panel);
|
|
border: 1px solid color-mix(in srgb, var(--dim) 30%, transparent);
|
|
border-radius: 999px;
|
|
padding: 0.55em 1.1em;
|
|
font-size: 0.9rem;
|
|
color: var(--matcha);
|
|
}
|
|
|
|
.runs__micro {
|
|
margin: 0;
|
|
color: var(--dim);
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* The caveat is true and belongs on the page, but it shouldn't outshout the claim. */
|
|
.runs__caveat {
|
|
display: block;
|
|
margin-top: 0.5rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
</style>
|