{"id":15980624,"url":"https://github.com/drwpow/google-fonts-extractor","last_synced_at":"2025-04-04T18:44:45.573Z","repository":{"id":66331274,"uuid":"521037955","full_name":"drwpow/google-fonts-extractor","owner":"drwpow","description":"Pull Google Font files and CSS through the API","archived":false,"fork":false,"pushed_at":"2022-08-03T21:39:01.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T04:17:32.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drwpow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-03T21:30:59.000Z","updated_at":"2023-03-06T02:10:30.000Z","dependencies_parsed_at":"2023-02-20T19:45:43.485Z","dependency_job_id":null,"html_url":"https://github.com/drwpow/google-fonts-extractor","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"bfe6a9ffad83569599402ce81d414f85de8dfffc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fgoogle-fonts-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fgoogle-fonts-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fgoogle-fonts-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fgoogle-fonts-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drwpow","download_url":"https://codeload.github.com/drwpow/google-fonts-extractor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234850,"owners_count":20905852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T00:21:20.207Z","updated_at":"2025-04-04T18:44:45.547Z","avatar_url":"https://github.com/drwpow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Fonts Extractor\n\nDeno script to extract a copy of a Google Font locally.\n\nTo use:\n\n1. Clone this repo locally (`git clone git@github.com:drwpow/google-fonts-extractor.git`)\n1. Select your fonts from [fonts.google.com](https://fonts.google.com). You can select all your faces/options as you would normally.\n1. In the **Use on the web** sidepanel, copy the URL inside `\u003clink href=\"https://fonts.googleapis.com/…\"\u003e` (just the HREF part)\n1. Paste it to the script via the `--url` flag:\n\n```\ndeno run --allow-net --allow-write ./extract.ts --url=\"https://fonts.googleapis.com/css2?family=Roboto:…\"\n```\n\nThis will download everything to the `./downloads/` folder in this directory. You’ll also find a `./downloads/fonts.css` file generated for you with links to everything.\n\n## Extracting other fonts\n\nThis could be used to extract fonts from any CSS file, really, but that hasn’t been tested.\n\n## Why not use [google webfonts helper](https://github.com/majodev/google-webfonts-helper)?\n\nThat doesn’t preserve subsetting as carefully as this does. The files downloaded from that tool end up more bloated than usual.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fgoogle-fonts-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrwpow%2Fgoogle-fonts-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fgoogle-fonts-extractor/lists"}