Go to file
Kumi e77fc521bf
feat: introduce dynamic SVG icon functionality
Implemented a new template filter in Flask to dynamically render SVG icons, allowing for cleaner HTML templates and easier icon management. Added `coffee` and `envelope` SVG icons to the project's asset directory. This change not only streamlines the incorporation of new icons but also enhances the maintainability of the codebase by centralizing icon resources and reducing HTML clutter. Modified existing HTML templates to use this new dynamic icon rendering method, replacing hard-coded SVG and img tag icon implementations with the newly created template filter.

This update significantly improves the way icons are handled throughout the application, providing a more scalable and efficient approach to managing and displaying graphical elements.
2024-05-29 18:57:32 +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: introduce dynamic SVG icon functionality 2024-05-29 18:57:32 +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.