Repository navigation
Closed
Labels
documentationImprovements or additions to documentation
Description
Problem
The README's first screen does not say plainly what the program does. Under the title it says "Generates a proxy's config from a short file. Envoy first." and then a paragraph of properties (the file's forms, comments beside values, .proto files, determinism), and the diagram that follows shows the build steps (render, commit, check, validate) rather than the thing itself. A reader has to assemble "I describe my gateway in a short file; proxyfile writes the proxy's whole configuration; I run that proxy in front of my services" from four places.
What changes
- A "What it does" paragraph right under the badges, two or three sentences: you describe one gateway in a short file (the services behind it, the routes to them, an optional auth check, the browser origins, the RPC methods read from your
.protofiles);proxyfile renderwrites the proxy's complete configuration, today an Envoy one; you run that proxy in front of your services, andproxyfile checkkeeps the committed configuration honest in the build. - One simple diagram with it: your proxyfile (a short file) into proxyfile, out comes the proxy's configuration, which runs as the proxy in front of your services; the current build-steps diagram either becomes that one or moves under Commands. At most five nodes, three-to-five-word labels.
- The sentence "You write it by hand, with a comment beside a value to say why it is there, and the RPC methods can be read from your
.protofiles" rewritten in plain words (the owner asked what it meant on 2026-11-12): you edit the proxyfile, not the generated file, so each value can carry a comment saying why it is there; for RPC routes proxyfile reads the methods from your.protofiles instead of making you list them. - The product is "one short file, any proxy" (owner, 2026-11-12), and the repository says so: "Envoy first" goes from the tagline, the repository description and the schema's description, and the README, the pages under
docs/and the key descriptions ininternal/format/spec.gospeak of "the proxy" and "the proxy's configuration" wherever the sentence is true of every target. What is true of one proxy only stays named for it (docs/envoy.md, the Envoy column ofdocs/portability.md, the defaults a generator writes), and one place, the README's targets paragraph, says truthfully which generators exist today (Envoy) and which are next (nginx, HAProxy). - A comparison figure in the README: the proxyfile you write beside the configuration proxyfile generates from it, as an image committed under
docs/images/and rendered from the real files of one example (the short file on the left, the generatedenvoy.yamlon the right, with the line counts). The figure exists for Envoy now, because that output is real; the nginx and HAProxy figures are added by the issues that add those generators (2.0: the nginx generator #25, 2.0: the HAProxy generator #26), from their real output, and until then the README says so in one line rather than showing configuration no program wrote. - The Keys list, the Quick start and every other section stay as the documentation tests expect (the key tables and the schema are regenerated with
-updateafter the descriptions change).
Acceptance
- The first screen of the README (the title, the badges, the first two paragraphs and the diagram) says what the program does, what you write and what you run, in those words or plainer.
git grep -n -i 'envoy first'prints nothing (control at master: at least the README's tagline), and every remainingEnvoyinREADME.mdoutside the targets paragraph, the Install and Commands facts and links todocs/envoy.mdis listed in the PR with why it is Envoy's own fact.go test ./...green; the diagram parses (the repository's mermaid check if it has one, otherwise the GitHub rendering of the branch, quoted as a screenshot or a link in the PR).
Consumers
internal/format/docs_test.go: the README's Keys list and relative links; this change adds no key and no link target that does not exist. Checked:grep -rn README --include='*_test.go', 12 lines in 2 files.- Open tickets checked:
gh search issues 'README what it does diagram' --repo kitecorp/proxyfile --state open, none.
Lane
LIGHT - prose, one diagram and description strings; no behaviour or format change.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity
docs: the README says what proxyfile does for any proxy, with a simpl…
docs: the README says what proxyfile does for any proxy, with a simpl…
tudor-pop commentedon Nov 12, 2026
Merged as #37, master ebf09d3: the README opens with "One short file, any proxy.", what you write and what proxyfile generates, a simple diagram and a comparison figure generated from the minimal example; the docs speak of the proxy and name Envoy for its own facts. The repository description follows in its own configuration change.
tudor-pop commentedon Nov 12, 2026
The repository description now reads "One short file, any proxy."