{"id":15858803,"url":"https://github.com/liamg/fontinfo","last_synced_at":"2025-03-15T23:30:52.086Z","repository":{"id":48296152,"uuid":"368317974","full_name":"liamg/fontinfo","owner":"liamg","description":"Go package to list/match available fonts on a Linux system","archived":false,"fork":false,"pushed_at":"2024-05-28T22:42:44.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T04:24:51.956Z","etag":null,"topics":["fontconfig","fonts"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/liamg/fontinfo","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liamg.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":"2021-05-17T20:46:53.000Z","updated_at":"2023-09-08T18:22:23.000Z","dependencies_parsed_at":"2024-10-27T03:42:55.557Z","dependency_job_id":"179232ea-ae39-4dbf-871b-01404507f0f8","html_url":"https://github.com/liamg/fontinfo","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"32680a8f210ba922abc7bdc9287fe107b71c8105"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Ffontinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Ffontinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Ffontinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Ffontinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liamg","download_url":"https://codeload.github.com/liamg/fontinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801610,"owners_count":20350106,"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":["fontconfig","fonts"],"created_at":"2024-10-05T21:01:01.881Z","updated_at":"2025-03-15T23:30:51.790Z","avatar_url":"https://github.com/liamg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FontInfo\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/liamg/fontinfo.svg)](https://pkg.go.dev/github.com/liamg/fontinfo)\n[![GoReportCard](https://goreportcard.com/badge/github.com/liamg/fontinfo)](https://goreportcard.com/report/github.com/liamg/fontinfo)\n\nFontInfo is a Go package to list available fonts on a Linux system.\n\n- No CGO required\n- Doesn't wrap `fontconfig` or other utilities\n- Pure Go\n- No external dependencies\n- Provides `family` and `style` for each font\n- Supports TTF and OTF\n- Fast (typically parses 1k fonts in ~100ms)\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/liamg/fontinfo\"\n)\n\nfunc main() {\n\n\tfonts, err := fontinfo.List()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfor _, font := range fonts {\n\t\tfmt.Printf(\"Family=%s Style=%s Path=%s\\n\", font.Family, font.Style, font.Path)\n\t}\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamg%2Ffontinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliamg%2Ffontinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamg%2Ffontinfo/lists"}