Render-cost firewall for git forges: serves immutable pages from a content-addressed store
116
A render-cost firewall for git forges: precompute what is immutable, refuse to guess about everything else.
Scrapers walk forge pages that are expensive to render and almost never repeat. renderwall is a reverse proxy in front of the forge: it classifies each request path, passes everything dynamic through untouched, and serves pages that are pure functions of an immutable identifier (a commit, a diff, a blob or blame at a revision, a release, a build) from a zstd-compressed, content-addressed store, filled once on first miss and keyed by object identity, never by URL.
Six grammars: cgit, forgejo, gitlab, docs.rs, Blockscout, Jenkins.
The image is one static binary on distroless, running as a non-root user (uid 65532): no shell, no package manager.
| Tag | What |
|---|---|
0.1.0 | That exact release |
0.1 | The latest 0.1.x |
latest | The latest release |
Every tag is linux/amd64 and linux/arm64. The binaries inside are the same ones attached to
the GitHub release.
The image carries no config; mount yours. Inside a container, listen on all interfaces:
mode = "shadow" # "shadow" counts and prices; "enforce" serves from the store
listen = "0.0.0.0:8080"
admin_listen = "0.0.0.0:9090" # /stats and /healthz — publish it to the host only
upstream = "http://forge:80" # your cgit / forgejo / gitlab / ...
[forge]
kind = "cgit" # cgit | forgejo | gitlab | docsrs | blockscout | jenkins
[visibility]
public_repos = ["linux.git"] # only these are ever stored
[store]
root = "/var/lib/renderwall"
$ docker run -d --name renderwall \
-v ./renderwall.toml:/etc/renderwall/renderwall.toml:ro \
-v renderwall-store:/var/lib/renderwall \
-p 8080:8080 -p 127.0.0.1:9090:9090 \
mancube/renderwall:0.1.0
$ curl -s 127.0.0.1:9090/stats
| Path | Purpose |
|---|---|
/etc/renderwall/renderwall.toml | Config (the default run --config path) |
/var/lib/renderwall | The store. A volume, owned by uid 65532 |
8080 | The proxy |
9090 | Admin: /stats, /healthz. Point health checks here |
Other subcommands take the config path explicitly (only run defaults to it):
$ docker run --rm -v ./renderwall.toml:/etc/renderwall/renderwall.toml:ro \
mancube/renderwall:0.1.0 explain -c /etc/renderwall/renderwall.toml '/linux.git/commit/?id=<40-hex oid>'
examples/eggrd
puts mancube/eggrd in front: TLS from Let's
Encrypt, security headers, a per-address cap and a WAF, with renderwall reachable only through
it, in one docker compose up./stats is not authenticated: publish it to 127.0.0.1 on
the host, as above, or not at all.shadow mode. It changes no served bytes; it measures what enforce would
absorb, so the decision is made on your own traffic.Source, documentation and the design records: https://github.com/lucheeseng827/renderwall.
Also on crates.io: cargo install renderwall. Licensed Apache-2.0.
Content type
Image
Digest
sha256:74c7e58bd…
Size
1.9 MB
Last updated
10 days ago
docker pull mancube/renderwall