Go to file
Kumi 45e6b36260
feat: enhance icon loading robustness
Improved the `icon` function to handle attribute errors gracefully by falling back to an alternative reading method. This change addresses potential situations where the `file.response.file` attribute does not exist, ensuring icons are consistently loaded without causing runtime errors. The fallback method, `file.response.read()`, provides a reliable alternative for retrieving SVG files, thus enhancing the application's resilience and user experience.
2024-05-29 19:02:19 +02:00
assets feat: introduce dynamic SVG icon functionality 2024-05-29 18:57:32 +02:00
contrib feat(Caddyfile): support security.txt redirection 2024-03-15 10:55:50 +01:00
data feat: add service icons and clean up templates 2024-05-29 15:33:18 +02:00
helpers feat: Enhance data structure and transparency features 2024-05-29 15:04:57 +02:00
templates feat: introduce dynamic SVG icon functionality 2024-05-29 18:57:32 +02:00
.gitignore Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
LICENSE Add LICENSE 2023-03-09 17:26:44 +00:00
main.py feat: enhance icon loading robustness 2024-05-29 19:02:19 +02:00
README.md feat: add service icons and clean up templates 2024-05-29 15:33:18 +02:00
requirements.txt Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00

Private.coffee Website

Support Private.coffee!

This is the source code for the Private.coffee website.

It is a simple Flask application that generates the HTML for the website based on the services defined in the services.json file.

Development

To run the website locally, you will need to have Python 3 installed. Then, you can install the dependencies and run the website with the following commands:

pip install -r requirements.txt
python main.py

The website will be available at http://localhost:9810.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Attribution

This website is built using the Bootstrap framework and Phosphor Icons.