22 feb. 2022 - โก Our Docker image was downloaded one MILLION times from the docker hub! โก
10 apr. 2023 - โก Two million times from the docker hub and one million from the ghcr! โก
One day you may want to replace the standard error pages of your HTTP server with something more original and pretty. That's what this repository was created for :) It contains:
- Simple error pages generator, written in Go
- Single-page error page templates with different designs (located in the templates directory)
- Fast and lightweight HTTP server
- Already generated error pages (sources can be found here, the demonstration is always accessible here)
- HTTP server written in Go, with the extremely fast FastHTTP under the hood
- Respects the
Content-Type
HTTP header (andX-Format
) value and responds with the corresponding format (supported formats arejson
andxml
) - Writes logs in
json
format - Contains healthcheck endpoint (
/healthz
) - Contains metrics endpoint (
/metrics
) in Prometheus format
- Respects the
- Lightweight docker image (~4.6Mb compressed size), distroless and uses the unleveled user by default
- Go-template tags are allowed in the templates
- Ready for integration with Traefik (error pages customization) and Ingress-nginx
- Error pages can be embedded into your own
nginx
docker image - Fully configurable (take a look at the configuration file and project Wiki)
- Distributed using docker image and compiled binary files
- Localized (๐บ๐ธ, ๐ซ๐ท, ๐บ๐ฆ, ๐ท๐บ, ๐ต๐น, ๐ณ๐ฑ, ๐ฉ๐ช, ๐ช๐ธ, ๐จ๐ณ, ๐ฎ๐ฉ, ๐ต๐ฑ) HTML error pages (translation process described here - other translations are welcome!)