font-cdn

Font CDN

CDN Status License

High-performance font CDN hosted on GitHub Pages, perfect for web projects and Puppeteer PDF generation.

🌟 Available Fonts

Font Styles WOFF2 (Recommended) WOFF
Airstrip Regular Link Link
Autography Regular Link Link
Pollinator Regular Link Link
Kobiguru Regular Link Link
LiAlinurBoisakh Regular Link Link

🚀 Quick Start

HTML Usage (Direct CSS)

<style>
  @font-face {
    font-family: "Airstrip";
    src: url("https://shifaul-expressitbd.github.io/font-cdn/fonts/airstrip.woff2") format("woff2"), url("https://shifaul-expressitbd.github.io/font-cdn/fonts/airstrip.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
</style>

Dynamic CSS API

You can dynamically load the CSS for any available font using the CDN API:

<link rel="stylesheet" href="https://shifaul-expressitbd.github.io/font-cdn/api.css?family=Airstrip" />

Replace Airstrip with any available font name (e.g., Autography, Pollinator).

This will automatically generate the correct @font-face CSS for the requested font.