{"repo":"feat-agency/vite-plugin-webfont-dl","free":true,"listed":false,"github":"https://github.com/feat-agency/vite-plugin-webfont-dl","clone":"git clone https://github.com/feat-agency/vite-plugin-webfont-dl.git","description":"⚡ Webfont Download Vite Plugin - Effortlessly download and bundle webfonts in your Vite project. Enjoy privacy-first - even offline - development with persistent caching and non-render blocking font injection for optimal performance.","language":"TypeScript","stars":383,"topics":["vite","google-fonts","webfonts","vue","react","vite-plugin","vue-plugin","vitejs","vuejs","vuejs3"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"vite-plugin-webfont-dl Webfont Download — a Vite plugin that downloads webfonts at build time and self-hosts them, eliminating render-blocking requests to third-party font providers. The plugin collects webfont links, imports, and definitions from your project, downloads the CSS and font files, adds the fonts to your bundle (or serves them through the dev server), and injects the font definitions using a non-render-blocking method. Features - Zero config — automatically detects webfont tags, plugin config URLs, and CSS @import statements - Self-hosted fonts — font files are bundled with your app; no third-party requests at runtime - Non-render-blocking — fonts are injected as an inline tag or an asynchronously loaded stylesheet - Privacy-first — visitors never connect to font CDNs, so no user data is exposed to third parties - Persistent cache — downloaded CSS and font files are cached locally, enabling offline development - Broad compatibility — works with Vite 2–8, including the Rolldown-based Vite 8 Install Usage There are two alternative ways to use the plugin — choose whichever fits your project , you don't need both: - Zero config — keep your webfont provider's original snippet in your HTML; the plugin detects and replaces it automatically. - Simple config — no tags in your HTML; pass the webfont CSS URL(s) directly to the plugin instead. Both methods lead to the same result: self-hosted, non-render-blocking webfonts — see That's all! below. Method A: Zero config Extrac","default_branch":null,"files":null,"tree":[],"storefront":"/r/feat-agency","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/feat-agency/vite-plugin-webfont-dl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}