{"id":27415892,"url":"https://github.com/fb-sean/font-server","last_synced_at":"2025-08-08T18:50:59.138Z","repository":{"id":287698001,"uuid":"965521408","full_name":"fb-sean/font-server","owner":"fb-sean","description":"A simple font server for serving fonts to the web.","archived":false,"fork":false,"pushed_at":"2025-04-13T11:40:23.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T12:23:40.948Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fb-sean.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,"zenodo":null}},"created_at":"2025-04-13T10:54:57.000Z","updated_at":"2025-04-13T11:40:25.000Z","dependencies_parsed_at":"2025-04-13T12:23:46.722Z","dependency_job_id":"1ab34a96-e397-440e-a8e7-8ed0161410cd","html_url":"https://github.com/fb-sean/font-server","commit_stats":null,"previous_names":["fb-sean/font-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb-sean%2Ffont-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb-sean%2Ffont-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb-sean%2Ffont-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb-sean%2Ffont-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fb-sean","download_url":"https://codeload.github.com/fb-sean/font-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248857707,"owners_count":21173016,"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":"2025-04-14T09:45:48.999Z","updated_at":"2025-04-14T09:45:49.617Z","avatar_url":"https://github.com/fb-sean.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📁 Font Server\n\nA blazing fast, minimal font server built with raw `node:http` and `axios`.  \nIncludes a smart TypeScript **Google Fonts Proxy** with caching and support for **Hetzner Storage Box** (currently WIP).\n\n---\n\n## ✨ Features\n\n- ⚡️ Pure Node.js – no frameworks, just `node:http`\n- 🧠 Google Fonts Proxy – downloads fonts on-demand and caches them locally\n- 💾 File Cache – serve files instantly if already cached\n- ☁️ Hetzner Storage Box integration (planned, currently not working)\n- 🛠 Built with TypeScript\n\n---\n\n## 🔧 Setup\n\n### Build\n```bash\nnpm run build\n```\n\n### Run\n```bash\nnpm run start\n```\n\n### Replace\n```css\nsrc: url(https://fonts.gstatic.com/s/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2JL7SUc.woff2) format('woff2');\n```\n\n**=\u003e**\n\n```css\nsrc: url(https://example.com/fetch/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2JL7SUc.woff2) format('woff2');\n```\n\n### OR\n\n```html\n\u003clink type=\"text/css\" href=\"//example.com/search?family=Google%20Sans%20Text%3A400%2C500%2C700\" rel=\"stylesheet\"\u003e\n```\n\n---\n\n## 🌐 Google Fonts Proxy\n\nSend a request like:\n\n```\nGET /fetch/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2\n```\n\nThe server will:\n1. Check if the font is cached\n2. If not, download it from Google Fonts\n3. Store it locally\n4. Serve it from the local cache next time 🚀\n\n---\n\n## 📦 Hetzner Storage Box (WIP)\n\nThere's built-in code to store files in a Hetzner Storage Box.  \nCurrently **not active** due to connection/auth issues, contributions welcome!\n\n---\n\n## 🤝 Contributions\n\nContributions are welcome!  \nFeel free to open issues, suggest features or submit PRs.\n\n---\n\n## 💬 Contact\nHave questions or ideas?  \nOpen an issue or ping me!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffb-sean%2Ffont-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffb-sean%2Ffont-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffb-sean%2Ffont-server/lists"}