Skip to content

GFontProxy.NET acts as a proxy server in order to cache and provide Google fonts in compliance with GDPR (if hosted in EU)

License

Notifications You must be signed in to change notification settings

imi-tat0r/GFontProxy.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright ev0lve    Digital License    AGPL-3.0 Issues Stars Docker    Pulls

GFontProxy.NET

A .NET6 minimal API to act as a proxy in order to cache and provide Google fonts in compliance with GDPR (if hosted in EU)

How it works

GFontProxy.NET can be self-hosted or accessed via our free demo (no up-time guarantee).
Simply replace any https://fonts.googleapis.com/ with https://your-url.tld/.
GFontProxy.NET will then download the corresponding css and fonts from Google and deploy them.
Since no PII is sent to google, this is GDPR compliant without the need for specific consent.

Requirements

In order to use GFontProxy.NET you need to have Docker and a webserver which can act as a reverse proxy (e.g. nginx).

Install

  1. Run the docker container using this command (CORS_ORIGIN is optional):
    docker run -d -p {port}:80 -e WEBSITE_URL=https://your-url.tld -e CORS_ORIGIN=https://another-url.tld imitat0r/gfontproxy.net:latest
  2. Setup a reverse proxy from https://your-url.tld to http://localhost:{port}

Thanks

@MrJustreborn - Initial inspiration for this project
@Fr3shlama - Hosting the Demo

About

GFontProxy.NET acts as a proxy server in order to cache and provide Google fonts in compliance with GDPR (if hosted in EU)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published