Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohammadraziei/fonts
https://github.com/mohammadraziei/fonts
cicd direct-link font
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohammadraziei/fonts
- Owner: MohammadRaziei
- Created: 2023-12-04T17:51:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-05T10:50:46.000Z (12 months ago)
- Last Synced: 2024-01-05T12:05:54.125Z (12 months ago)
- Topics: cicd, direct-link, font
- Homepage: https://mohammadraziei.github.io
- Size: 72.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fonts
[![go to images](https://github.com/MohammadRaziei/fonts/raw/master/readme/go-to-fonts-page.jpg)](https://github.com/MohammadRaziei/fonts/releases)
## How to use it.
There is many ways to download the fonts from [releases](https://github.com/MohammadRaziei/fonts/releases). that we covered them in bellow.
> Each releases has its own tag name. we mentioned them as `` for the rest of this readme file.
> All fonts' formats is `.ttf`.
### Download Manually
See [releases](https://github.com/MohammadRaziei/fonts/releases)
to see all available fonts. then press on
[](https://github.com/MohammadRaziei/fonts/releases)
button to download your specified font. Or you can manually download the `fonts.zip` file from the release's assets.### Direct Link
you can generate a direct link to the font in the following pattern. replace the `` with the release name that you found at [releases](https://github.com/mohammadraziei/fonts/releases) page.```bash
url="https://github.com/MohammadRaziei/fonts/releases/download//fonts.zip"
```now you can download it using `curl` or `wget` commands.
```bash
# download with curl
curl -LO $url
# download with wget
wget $url
```### Github actions
If you want to use them in github action you just need to know which `` is suitable for your application. the following code download it into `fonts` directory in the root of the project and extract them automatically
```yaml
- name: Download Fonts
uses: robinraju/[email protected]
with:
## Choose what fonts you need from
# https://github.com/MohammadRaziei/fonts/releases
tag: # like "Latex-lite"
####################################
## Do not change the following lines
repository: "mohammadraziei/fonts"
fileName: "fonts.zip"
out-file-path: "fonts" # target folder
extract: true
```This option can help whenever you want to run a pipeline that needs to download some fonts. It can be widely used in compiling latex files in CI/CD workflows.
As an example, you can see how this code helps in [our latex template](https://github.com/MohammadRaziei/latex-article-fa/blob/master/.github/workflows/build.yml).---
:star: Hope that helps. Do not forget to star it. :dizzy: