selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

google-webfonts-helper logo

Self-host google-webfonts-helper

v1.7.2

Google Fonts files and CSS snippets for your own server

ReleaseOpen SourceMIT
Updatedlast month
LanguageTypescript
Setup difficultyEasy
Stars
13 080
Port
8080 (Express web server for the app and its JSON API)
Docker
ghcr.io/majodev/google-webfonts-helper
Install with Docker
Full application view with the font list and font detail panel

What is google-webfonts-helper?

google-webfonts-helper is a small web app for developers who want Google's font families served from their own infrastructure rather than linked from an external CDN. A searchable catalogue covers the whole Google Fonts library, and for each family you choose the styles and character subsets you actually need; the app then returns ready-to-paste CSS snippets and a zip archive holding the woff2, woff, ttf, eot and svg files. The same functionality is exposed as a public JSON API (font list, per-font file URLs, filtered zip downloads), with rate limits possible. Running it yourself means starting the author's container image from GitHub Packages and supplying a GOOGLE_FONTS_API_KEY from the Google Fonts Developer API; the final image is minimal, rootless and free of development dependencies. It is a MIT-licensed, single-maintainer project whose author openly describes much of the client code and its dependencies as legacy or deprecated, so treat it as a pragmatic utility rather than a modern stack.

google-webfonts-helper alternatives

Should you self-host google-webfonts-helper?

google-webfonts-helper scores 65/100 on selfhost.directory (how scoring works) and ranks #2 of 7 in Web Development. It has 13 080 GitHub stars, +17 in the last 30 days.

It shipped 1 stable release in the past year. The latest, v1.7.2, came out on 1 October 2026.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Onlook (70/100, 27 157 stars). It scores higher overall, so compare the two before you pick. See google-webfonts-helper vs Onlook side by side.

Features

  • CSS snippet generation
  • Filtered zip download endpoint
  • Font style and subset selection
  • Multi-format font file download
  • REST API
  • Search and sort font catalogue

google-webfonts-helper README

How to install google-webfonts-helper

Install google-webfonts-helper with Docker

A Google Fonts Developer API key supplied via GOOGLE_FONTS_API_KEY
Environment variables
GOOGLE_FONTS_API_KEY

See https://developers.google.com/fonts/docs/developer_api for creating your own API-Key.

docker run -e GOOGLE_FONTS_API_KEY= -p 8080:8080 ghcr.io/majodev/google-webfonts-helper:

Prebuilt images are published via GitHub Packages; also buildable locally with `docker build . -t <your-image-tag>`.

How to configure google-webfonts-helper

  • GOOGLE_FONTS_API_KEYKey for the Google Fonts Developer API, passed to the container at startup.
  • NODE_ENVSet to production when starting the compiled server directly (the Docker image runs in production mode).

    values: development, production

google-webfonts-helper releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Web Development

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…