Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xz/fonts
A fast, open-source CDN for open-source fonts
https://github.com/xz/fonts
Last synced: 4 days ago
JSON representation
A fast, open-source CDN for open-source fonts
- Host: GitHub
- URL: https://github.com/xz/fonts
- Owner: xz
- Created: 2020-04-26T18:34:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T18:23:06.000Z (over 2 years ago)
- Last Synced: 2024-05-22T16:20:38.694Z (6 months ago)
- Language: CSS
- Homepage: https://fonts.xz.style
- Size: 45.8 MB
- Stars: 262
- Watchers: 5
- Forks: 11
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
- awesome-starred - xz/fonts - A fast, open-source CDN for open-source fonts (others)
README
# xz/fonts
**A fast, open-source CDN for open-source fonts.**
xz/fonts is a free and open source service for delivering font families to websites using CSS.
Typically, web developers use custom fonts on their websites using one of two methods:
- hosting font files on the same server as the website
- using a central font service, such as Google Fonts or Adobe Typekitxz/fonts, by comparison:
- serves font files through jsDelivr's global content delivery network
- is fully open source and only serves open source fonts---
For the font Inter, it's as easy as adding this to your CSS:
```css
@import url('https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/inter.css');
```or this to your HTML's ``:
```html
```
## Usage
Visit the documentation at [docs.xz.style/fonts](https://docs.xz.style/fonts) for an easy step-by-step guide.
## Having trouble?
Don't worry! [Open an issue here](https://github.com/xz/fonts/issues). I'll gladly help you out.
## Special Thanks
❤️ to [transfonter.org](https://transfonter.org/) for providing a fast and reliable service for converting `.ttf` font files to multiple web formats. If you love what they do, consider [donating](https://transfonter.org/donate) to them! I'm not affiliated in any way, just love the service.
***
![Powered by Vercel](https://vercel-badges.now.sh/powered-by-vercel.svg)