Tiny, zero-dep HTTP server & Docker image serving pretty, themeable, localized HTTP error pages — drop-in for Traefik, Nginx, Kubernetes, and more
Tiny, zero-dep HTTP server & Docker image serving pretty, themeable, localized HTTP error pages — drop-in for Traefik, Nginx, Kubernetes, and more
[!IMPORTANT] If you were on v3 or earlier and want to upgrade to v4, check out the migration guide.
If you ended up here, chances are you would like to replace your HTTP server's default error pages with something more original and eye-catching. That is exactly what this project is designed for - it handles this with minimal effort on your part.
It includes:
Key features:
The following templates are built-in and available for use without any additional setup/files:
| Template name | Preview (light) | Preview (dark) |
|---|---|---|
app-down |
![]() |
![]() |
cats |
||
connection |
||
ghost |
||
hacker-terminal |
||
l7 |
||
lost-in-space |
||
noise |
||
orient |
||
shuffle |
||
win98 |
![]() |
![]() |
[!NOTE] The
catstemplate is the only one of those that fetches resources (the actual cat pictures) from external servers - all other templates are self-contained.
[!TIP] If you need the pre-rendered static error pages pack, you can download it as a zip or tar.gz archive.
Download the latest binary for your OS/architecture from the releases page, or use the Docker image:
| Registry | Image |
|---|---|
| GitHub Container Registry | ghcr.io/tarampampam/error-pages |
| Quay.io (mirror) | quay.io/tarampampam/error-pages |
| Docker Hub (mirror) | tarampampam/error-pages |
[!WARNING] Using the
latesttag for Docker images is strongly discouraged, as it may introduce backward-incompatible changes during major upgrades. Use versioned tags in theX,X.Y, orX.Y.Zformat instead.
[!IMPORTANT] The app is distributed as two separate binaries -
error-pages(HTTP server) andbuilder. Docker tags follow this convention:
X.Y.Z(andX.Y,X) - includes the HTTP serverX.Y.Z-builder(andX.Y-builder,X-builder) - includes the builder and a pre-rendered error pages pack
Supported image architectures - linux/amd64, linux/arm/v7, linux/arm64, linux/ppc64le, linux/s390x.
All images are signed with Cosign using keyless signing (GitHub OIDC).
A Helm chart for Kubernetes is included with each release (download), published on Artifact Hub, and also available via an OCI registry (Helm v3.8+ required):
helm install error-pages \
oci://ghcr.io/tarampampam/error-pages/charts/error-pages \
--version X.Y.ZAll supported chart values, examples, and usage instructions can be found at Artifact Hub.
Helm chart sources are located in the deploy/helm directory of the repository.
Standalone server or builder usage:
With Nginx:
With Caddy:
With Traefik:
With Kubernetes:
Measured on loopback (127.0.0.1), single connection, no artificial load
(wrk -t1 -c1 -d5s --latency http://127.0.0.1:8080/..., less is better):
| Format | p50 (typical response time) | p90 (90% of responses complete within this time) |
|---|---|---|
| HTML | 121 µs | 262 µs |
| JSON | 51 µs | 75 µs |
| XML | 48 µs | 73 µs |
| Plain text | 47 µs | 68 µs |
| HTML + gzip | 2.4 ms | 3.1 ms |
| JSON + gzip | 256 µs | 510 µs |
No open issues yet, or sync has not completed.