KSelfHostFonts scarica lato server i Google Fonts che scegli e li serve dal tuo stesso sito, così il browser dei visitatori non chiama mai direttamente fonts.googleapis.com/fonts.gstatic.com. Gratuito e open source (GPL v2+), per Joomla 5 e 6.
Cosa fa
Caricare i Google Fonts nel modo classico (un <link> o un @import verso fonts.googleapis.com) fa sì che il browser di ogni visitatore contatti direttamente i server di Google, che ricevono il suo indirizzo IP — un problema di privacy reale. Auto-ospitare i font a mano risolve il problema, ma richiede scaricare i file giusti, generare il CSS con i corretti @font-face, e rifare tutto da capo ogni volta che si cambia font.
KSelfHostFonts automatizza tutto questo dal pannello admin di Joomla: sfogli il catalogo completo di Google Fonts (oltre 1.800 famiglie) con ricerca, filtro per categoria e anteprima dal vivo, scegli famiglia, pesi e corsivo, e il plugin scarica i file .woff2 lato server e pubblica un foglio di stile locale — mantenendo lo stesso nome ufficiale della famiglia. Ti basta scrivere quel nome nelle impostazioni tipografiche del tuo template, esattamente come faresti con Google Fonts.
Caratteristiche
- Catalogo Google Fonts sfogliabile, con ricerca per nome, filtro per categoria (Sans Serif/Serif/Display/Handwriting/Monospace) e anteprima dal vivo del font selezionato
- Digitazione manuale sempre disponibile come alternativa al catalogo (formato "Nome Famiglia:pesi"), utile anche se JavaScript non è disponibile nel browser
- Solo i pesi realmente disponibili per ogni famiglia sono selezionabili, niente combinazioni inesistenti
- Corsivo opzionale con un singolo interruttore globale, applicato automaticamente solo dove la famiglia lo prevede
- Subset di caratteri selezionabili (Latin, Cyrillic, Greek, Vietnamese, Arabic, Hebrew, Devanagari e altri) per scaricare solo gli alfabeti che ti servono davvero
- Blocco dei link Google Fonts residui ancora iniettati dal template, per evitare una seconda chiamata a Google
- Salvataggio a prova di errore: se digiti un nome font che non esiste, il salvataggio viene bloccato con un messaggio chiaro invece di lasciare la configurazione a metà
- Font variabili gestiti correttamente (un solo file condiviso tra più pesi, come previsto dallo standard)
- Catalogo aggiornabile su richiesta, un pulsante nel pannello per riscaricare l'elenco più recente delle famiglie Google Fonts
- Nessuna riscrittura automatica del template: ti basta scrivere lo stesso nome famiglia nelle impostazioni tipografiche del tuo template — guida sintetica integrata direttamente nel pannello del plugin
- Notifiche di aggiornamento automatiche integrate nel pannello di Joomla
- Disponibile in 8 lingue (italiano, inglese, francese, tedesco, spagnolo, portoghese, olandese, polacco)
Requisiti
| Joomla | 5.x o 6.x |
| PHP | 8.1 o superiore |
| Tipo | Plugin di sistema (gruppo: system) |
Installazione
- Scarica
kselfhostfonts.zipcon il pulsante qui sotto. - In Joomla: Sistema → Gestione → Installa → carica il file zip.
- Vai su Sistema → Gestione → Plugin, cerca "KSelfHostFonts" e pubblicalo (i nuovi plugin sono disattivati di default).
- Aprilo, scegli i font dal catalogo (o scrivili a mano) e salva: il plugin li scarica subito.
- Scrivi lo stesso nome famiglia nelle impostazioni tipografiche del tuo template.
Licenza
Distribuito sotto licenza GNU General Public License versione 2 o successiva. Testo completo incluso nel pacchetto come LICENSE.txt.
Supporto
KSelfHostFonts è gratuito e lo resterà sempre. Se ti ha fatto risparmiare tempo, puoi offrirmi una birra con una donazione libera.
Scarica KSelfHostFonts Sostieni il progetto
Versione attuale: 1.2.7
KSelfHostFonts fetches the Google Fonts you choose server-side and serves them from your own site, so visitors' browsers never call fonts.googleapis.com/fonts.gstatic.com directly. Free and open source (GPL v2+), for Joomla 5 and 6.
What it does
Loading Google Fonts the usual way (a <link> or an @import pointing to fonts.googleapis.com) means every visitor's browser contacts Google's servers directly, handing over their IP address — a real privacy issue. Self-hosting the fonts by hand fixes it, but means downloading the right files, hand-writing the correct @font-face CSS, and redoing all of it every time you change fonts.
KSelfHostFonts automates all of this from the Joomla admin panel: browse the full Google Fonts catalogue (over 1,800 families) with search, category filtering and live preview, pick a family, weights and italic, and the plugin downloads the .woff2 files server-side and publishes a local stylesheet — keeping the family's official name. Just type that same name into your template's typography settings, exactly as you would with Google Fonts itself.
Features
- Browsable Google Fonts catalogue, with search by name, category filter (Sans Serif/Serif/Display/Handwriting/Monospace) and live preview of the selected font
- Manual text entry always available as an alternative to the catalogue ("Family Name:weights" format), also useful when JavaScript isn't available in the browser
- Only the weights actually available for each family are selectable, no non-existent combinations
- Optional italic via a single global toggle, applied automatically only where the family actually provides it
- Selectable character subsets (Latin, Cyrillic, Greek, Vietnamese, Arabic, Hebrew, Devanagari and more) to download only the alphabets you actually need
- Blocks leftover Google Fonts links still injected by the template, to avoid a second call to Google
- Fail-safe saving: if you type a font name that doesn't exist, the save is blocked with a clear message instead of leaving the configuration half-broken
- Variable fonts handled correctly (a single file shared across multiple weights, as the standard intends)
- Catalogue refreshable on demand, a button in the panel to re-download the latest list of Google Fonts families
- No automatic template rewriting: just type the same family name into your template's typography settings — a short built-in guide is included right in the plugin's panel
- Built-in automatic update notifications inside the Joomla admin
- Available in 8 languages (English, Italian, French, German, Spanish, Portuguese, Dutch, Polish)
Requirements
| Joomla | 5.x or 6.x |
| PHP | 8.1 or later |
| Type | System plugin (group: system) |
Installation
- Download
kselfhostfonts.zipusing the button below. - In Joomla: System → Manage → Install → upload the zip file.
- Go to System → Manage → Plugins, search for "KSelfHostFonts" and publish it (new plugins are disabled by default).
- Open it, pick fonts from the catalogue (or type them manually) and save: the plugin fetches them immediately.
- Type the same family name into your template's typography settings.
License
Distributed under the GNU General Public License version 2 or later. Full text included in the package as LICENSE.txt.
Support
KSelfHostFonts is free and always will be. If it saved you some time, you can buy me a beer with a free donation.
Download KSelfHostFonts Support the project
Current version: 1.2.7