Show all your application error using Cloudflare Error Page
2 days ago
- #error-pages
- #web-development
- #cloudflare
- All icons in the error page have been redrawn as vector assets and inlined into a single file for better performance.
- The project allows creation of customized error pages mimicking Cloudflare's style, with an online editor available.
- Installation is possible via pip with `pip install git+https://github.com/donlon/cloudflare-error-page.git`.
- The `render` function generates error pages based on input parameters like browser, Cloudflare, and host statuses.
- Live demos and a Flask demo server are available for testing and implementation.
- Realistic details like user IP, Ray ID, and data center location can be included for authenticity.
- Configuration options include status indicators, error sources, and customizable messages for what happened and what to do.