NE
New-Vektor-Group/error-page
Http error pages generator
Error pages
This repository includes pages for http errors. You can generate them by running python script ./src/builder.py. Also in the folder builded you can find builded templates.
You can view an example for 404
Usage
Use. You can use builded templates in ./builded/*
Configure. Type all error what you need in ./src/builder.py
ListErrors=(400,401,402,403,404,405,500,502,503,504,505,526)
All HTTP Codes https://umbraco.com/knowledge-base/http-status-codes/
Template. Use ./src/template.html and ./res/error.css for hack styled template or make up them yourself.
Javascript. If you want, you can use particles.js for background. You can change .json config file in ./res/particlesjs-config.php if you use PHP. Otherwise rename the file to .json
Build. Run Python script
Build
$ python3 ./src/builder.py
or
$ python ./src/builder.py
License
Apache-2.0 License
On this page
Languages
CSS58.3%HTML27.9%Python13.7%
Contributors
Latest Release
1.1.0October 6, 2020Apache License 2.0
Created May 18, 2019
Updated November 13, 2025