Google Fonts installer

1 min read

This is a very short post, the first of a series I’m going to write regarding Linux installations and helpful scripts.

I just started writing and published a very first version of a script that aims to improve privacy and usability on the web. This script downloads the current version of Google Fonts repo, creates a new empty directory that holds these files, and then grep-s all the .ttf files. These fonts are then included in a new folder named google-fonts.

Afterwards, the script tries to detect your OS (operating system) and then if Linux or MacOS is detected, it moves (installs) these fonts in the local .fonts folder (if Linux) and /Library/Fonts/ (if MacOS).

To complement this script, you will have to block all Google Fonts on your browser, using uBlock Origin. You can find a list for that on my blocklist page from theel0ja, until I automate this process with the script (expect that on a v3 or v4).

All content is licensed under CC BY-NC-SA 4.0. (Attribution-NonCommercial-ShareAlike 4.0 International).



Cite this post
APA
Anxhelo Lushka (2021, June 6). Google Fonts installer. Alpro Development. https://lushka.al/posts/google-fonts/
MLA
Anxhelo Lushka. "Google Fonts installer." Alpro Development, 6 Jun. 2021, https://lushka.al/posts/google-fonts/.
Chicago
Anxhelo Lushka. "Google Fonts installer." Alpro Development. June 6, 2021. https://lushka.al/posts/google-fonts/.
BibTeX
@online{google-fonts, author = {Anxhelo Lushka}, title = {Google Fonts installer}, year = {2021}, url = {https://lushka.al/posts/google-fonts/}, urldate = {2026-01-13} }
QR Code
QR code for this page

Scan to open this page on your mobile device

https://lushka.al/posts/google-fonts/

Download QR

Webmentions

    Loading webmentions...

    How to send a webmention

    Link to this page from your own site, then send a webmention using webmention.io or Bridgy.