Fifi is a tiny CLI to download or install Google Fonts. It pulls font files from the Google Fonts GitHub repository via the GitHub API.
gem install fifi
fifi install nunito
fifi install nunito, inter, open sans
fifi download nunito -o assets/fonts
fifi download nunito
gem install fifi
-o, --output DIR: Download destination fordownload.-s, --static: Prefer static fonts instead of variable.
- The GitHub API is rate-limited. If you hit limits, set
FIFI_GITHUB_TOKENorGITHUB_TOKENto a personal access token.
Build and install the gem locally:
gem build fifi.gemspec
gem install ./fifi-0.1.0.gem