Commit graph

5 commits

Author SHA1 Message Date
8a8a1ca7cd
feat: Add README and make port configurable via env
Introduces a README file with setup and usage instructions for
TypeNot, highlighting its privacy benefits and configuration
options.

Updates the application to allow port configuration with an
environment variable, enhancing deployment flexibility.
2024-11-27 12:43:40 +01:00
c042fe5908
fix: Remove headers 2024-11-25 17:42:50 +01:00
6b82cc7a69
feat: Switch proxy service from Google Fonts to Typekit
Replaces the existing Google Fonts proxy implementation with support for Typekit, enhancing user privacy.

Updates relevant URLs and regex patterns to handle Typekit requests. Cleans up code by removing unused 'fonts.gstatic.com' proxy endpoint.

Changes references in the HTML template and terminology to reflect the switch from 'GoogleDonts' to 'TypeNot'.

Increases server port for the application from 5678 to 5690.
2024-11-25 17:29:03 +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