https://github.com/muetze42/google-fonts-downloader
Download all Google Fonts using google-webfonts-helper API by Mario Ranftl
https://github.com/muetze42/google-fonts-downloader
console css download downloader eot google-fonts illuminate-console laravel-console snippet svg ttf web-fonts woff woff2
Last synced: about 2 months ago
JSON representation
Download all Google Fonts using google-webfonts-helper API by Mario Ranftl
- Host: GitHub
- URL: https://github.com/muetze42/google-fonts-downloader
- Owner: Muetze42
- License: mit
- Created: 2023-02-01T19:58:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T00:33:01.000Z (over 2 years ago)
- Last Synced: 2025-08-29T23:11:32.733Z (about 2 months ago)
- Topics: console, css, download, downloader, eot, google-fonts, illuminate-console, laravel-console, snippet, svg, ttf, web-fonts, woff, woff2
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Google Fonts Downloader
Download all Google Fonts using [google-webfonts-helper](https://gwfh.mranftl.com/fonts) API by [Mario Ranftl](https://mranftl.com/).
## Usage
### Install
```shell
composer install
```### Commands
#### Start download
```shell
php gfonts
```#### Force overwrite exist ZIP files
```shell
php gfonts --force
```#### Change delay download execution in microseconds
```shell
php gfonts --sleep=400000
```#### Unzip Fonts
```shell
php gfonts unzip
```#### Unzip Fonts and delete ZIP archives
```shell
php gfonts unzip --delete
```#### Create CSS file for each font
```shell
php gfonts create:css
```### Customize folder and filename
#### Target folder
Edit `$targetDir` in [src/Console/Commands/DownloadCommand.php](src/Console/Commands/DownloadCommand.php)
#### Target filename
Edit `$filename` in [src/Console/Commands/DownloadCommand.php](src/Console/Commands/DownloadCommand.php)
---
[](https://vshymanskyy.github.io/StandWithUkraine/)
[](https://linktr.ee/CurrentPetitionsFreeIran)