This tool allows you to download all fonts from Fountsource to your desired location using jsdelivr to download them.
go install github.com/zergo0/fontsourcedownloader/@latest
fontsourcedownloader -out /path/to/output
Possible arguments:
-out
- output path (ex:/path/to/output
)-formats
- comma separated list of formats to download (ex:woff2,woff
)-weights
- comma separated list of weights to download (ex:400,700
)-styles
- comma separated list of styles to download (ex:normal,italic
)-subsets
- comma separated list of subsets to download (ex:latin,latin-ext
)
The project uses make
to make your life easier. If you're not familiar with Makefiles you can take a look at this quickstart guide.
Whenever you need help regarding the available actions, just use the following command.
make help
To get your setup up and running the only thing you have to do is
make all
This will initialize a git repo, download the dependencies in the latest versions and install all needed tools. If needed code generation will be triggered in this target as well.
To run the application you can use the following command
make run ARGS="-out /path/to/output"
You can find all possible arguments above.
Run linting
make lint
Run tests
make test