Google Font Grabber

Shams / November 02, 2020

Google hosts a selection of free web fonts, and there are some pretty good ones in there. Amongst some awful ones, but it’s easy to search. To embed these, though, you have to take the code Google gives you, follow the import url to the CSS page, grab the source url for each font/variation, save the target file locally, then base64 encode the font to use in a data URI. The source for all of these is available from Google Code, but the process is just as tedious going that route. I do this just often enough that it had to be automated.

Hosted on Raspberry Pi | Temperature: --°C | Humidity: --%