content: sell foundation ownership, not the absence of middleware
CI / build (pull_request) Successful in 12s
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>
This commit is contained in:
11 files changed
+345
-42
No files matched your search
@@ -1,16 +1,22 @@
|
||||
---
|
||||
const cards = [
|
||||
{ title: 'Secure by default', body: 'Hardened response headers and CORS; native TLS on Node.' },
|
||||
{ title: 'Derive execution', body: 'Green Tea topologically sorts the graph. Stop maintaining execution order by hand.' },
|
||||
{
|
||||
title: 'Fail before traffic',
|
||||
body: 'A missing dependency or an ambiguous route fails loudly at boot, not in production.',
|
||||
},
|
||||
{
|
||||
title: 'Real validation',
|
||||
body: 'Standard Schema; bring zod, valibot, or arktype. No validator dependency in core.',
|
||||
},
|
||||
{ title: 'OpenAPI 3.1', body: 'Projected from the same graph. No extra decorators.' },
|
||||
{ title: 'See the graph', body: 'Interactive, served by your app. Not behind a paywall.' },
|
||||
{ title: 'Loud boot', body: 'A missing dependency fails at startup, not in production.' },
|
||||
{
|
||||
title: 'One dependency',
|
||||
body: "reflect-metadata only. No Express or Inversify maintenance chain underneath you.",
|
||||
title: 'See what was derived',
|
||||
body: 'Print the ordered pipeline, open the live graph, project the same metadata into OpenAPI 3.1.',
|
||||
},
|
||||
{ title: 'Secure by default', body: 'Hardened response headers and CORS; native TLS on Node.' },
|
||||
{
|
||||
title: 'A small foundation',
|
||||
body: 'reflect-metadata is the only runtime dependency; ws and busboy are optional peers for sockets and uploads.',
|
||||
},
|
||||
];
|
||||
---
|
||||
@@ -18,8 +24,14 @@ const cards = [
|
||||
<section class="batteries">
|
||||
<div class="wrap">
|
||||
<div class="batteries__head">
|
||||
<p class="kicker">Batteries, calm by design</p>
|
||||
<h2>Serious defaults. Zero ceremony.</h2>
|
||||
<p class="kicker">Foundation ownership</p>
|
||||
<h2>We maintain the foundation. You maintain the product.</h2>
|
||||
<p class="batteries__lede">
|
||||
Routing, graph execution, validation integration, streaming, security defaults, errors, OpenAPI, lifecycle,
|
||||
runtime adapters — the framework work your application would otherwise assemble and then keep working. The
|
||||
goal isn't fewer dependencies for a badge; it's fewer moving parts your team has to understand, upgrade and
|
||||
debug.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<ul class="batteries__grid">
|
||||
@@ -46,6 +58,13 @@ const cards = [
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.batteries__lede {
|
||||
margin: 1rem 0 0;
|
||||
max-width: 46rem;
|
||||
color: var(--dim);
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.batteries__grid {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
||||
Reference in new issue
Block a user