Commit graph

3 commits

Author SHA1 Message Date
5a4d3aa9e7
feat: Add README and dynamic port configuration
Introduces a README with setup and usage instructions for the GoogleDonts app, enhancing accessibility and guidance for users.

Adapts the app to use an environment variable for port configuration, allowing flexibility in deployment environments, which defaults to port 5678 when unset.

Refactors request headers to exclude "Accept-Encoding", ensuring compatibility with font responses.

This update aims to support user autonomy in hosting and increase privacy assurance.

Relates to potential improvements in user deployment experiences and privacy measures.
2024-11-27 12:50:44 +01:00
5d32aa7c8f
feat: add home route and template for proxy instructions
Integrated a new home route in the application that renders a template with instructions on how to use the Google Fonts proxy service, enhancing user guidance. This change includes the addition of an `index.html` template, which provides a clear example and usage instructions, and minor refactoring of existing routes for improved readability.
2024-08-05 16:16:37 +02:00
f77ec2c177
feat: initialize Flask proxy app with gitignore and license
- Added .gitignore to exclude virtual environment and Python cache files.
- Included MIT License to allow use, distribution, and modification.
- Implemented Flask app for proxying font requests to Google Fonts.
- Ensured specific headers are handled correctly to support CSS proxying.
- Added necessary dependencies in requirements.txt for Flask and requests.

This setup allows for efficient font request handling and helps establish project structure with appropriate licensing and dependency management.
2024-08-05 16:10:59 +02:00