{"repo":"lukasbach/gfont-cloudless","free":true,"listed":false,"github":"https://github.com/lukasbach/gfont-cloudless","clone":"git clone https://github.com/lukasbach/gfont-cloudless.git","description":"repo template for self-hosting google fonts without relying on google host servers","language":"JavaScript","stars":10,"topics":["font","gdpr","google","legal","privacy","selfhosted"],"license":null,"category":"self-hosted-apps","readme_excerpt":"gfont-cloudless A small automated repo template for self-hosting google fonts without relying on google host servers. The motivation for this project are legal verdicts passed in germany that stated the use of google fonts illegal in germany for privacy reasons. The idea is to host fonts on your own, but instead of renting actual servers to implement the logic on googles font systems that provide pre-configured css bundles with font references at runtime, the css bundles are generated at compile time in a github action run once and then served statically. How it works: - Fork this repo and setup Github Pages on your fork - Go to fonts.google.com and configure a font bundle - Export a tag on the google fonts page, and copy the href target, e.g. https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;900&display=swap - Add the link alongside a key into the fonts file at the root of the repo, such as: - Push the repo, and import the css file https//your-github-user-name.github.io/your-repo-name/bundlename.css Example: https://lukasbach.github.io/gfont-cloudless/example-bundle.css That's it!","default_branch":null,"files":null,"tree":[],"storefront":"/r/lukasbach","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lukasbach/gfont-cloudless/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}