No description
Find a file
Kumi 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
templates feat: Switch proxy service from Google Fonts to Typekit 2024-11-25 17:29:03 +01:00
.gitignore feat: initialize Flask proxy app with gitignore and license 2024-08-05 16:10:59 +02:00
app.py feat: Add README and make port configurable via env 2024-11-27 12:43:40 +01:00
LICENSE feat: initialize Flask proxy app with gitignore and license 2024-08-05 16:10:59 +02:00
README.md feat: Add README and make port configurable via env 2024-11-27 12:43:40 +01:00
requirements.txt feat: initialize Flask proxy app with gitignore and license 2024-08-05 16:10:59 +02:00

TypeNot - a privacy-friendly Typekit proxy

TypeNot is a Flask app that acts as a proxy for Typekit fonts. It allows you to use Typekit fonts without disclosing your website visitors' IP addresses to Adobe.

How it works

TypeNot works by fetching the font files from Typekit and serving them to the client. This way, the client's IP address is never disclosed to Adobe. It does not store any data about the client.

Setup

  1. Clone the repository
git clone https://git.private.coffee/PrivateCoffee/typenot.git
cd typenot
  1. Create a virtual environment and install the dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Use the flask command or a WSGI server to run the app
flask run

In production, you should use a WSGI server like uWSGI, and a reverse proxy like Caddy. Ensure that your server does not log the client's IP address!

Configuration

TypeNot does not require any configuration. However, if you use flask run, you can set the PORT environment variable to change the port the app listens on. By default, it listens on port 5690.

License

TypeNot is licensed under the MIT License. See LICENSE for more information.