{"repo":"vemetric/favicon-api","free":true,"listed":false,"github":"https://github.com/vemetric/favicon-api","clone":"git clone https://github.com/vemetric/favicon-api.git","description":"Free and self-hostable API to fetch favicons from any website.","language":"TypeScript","stars":202,"topics":["api","bun","favicon","hono","typescript","vemetric"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Favicon API A free & self-hostable favicon API service built with TypeScript, Hono, and Bun. Fetch and serve website favicons with multiple format options, intelligent fallbacks, and proper HTTP caching. Powered by Vemetric Features - Fast & Lightweight : Built on Bun runtime and Hono framework - Smart Discovery : Automatically finds the best favicon from multiple sources - Fallback API : Optional fallback to Google's favicon API when primary fetch fails due to bot protection (enabled by default) - Format Support : PNG, JPG, ICO, WebP, SVG - Image Processing : Resize and convert images on-the-fly - Caching Ready : Sets proper HTTP cache headers for CDN/proxy integration - Docker Ready : Easy deployment with Docker - Fully Typed : Written in TypeScript with strict type checking Quick Start Local Development Using Docker Option 1: Use Pre-built Image from Docker Hub Option 2: Build from Source API Usage Single Endpoint Query Parameters - size (optional): Desired image size in pixels (16-512) - format (optional): Image Output format - png , jpg , webp - response (optional): Response format - image (default) or json - default (optional): Fallback image URL (overrides server config) Examples Get favicon as image: Get favicon metadata as JSON: Resize favicon to 64x64: Convert to PNG: With custom fallback: Configuration Create a .env file (see .env.example ): - DEFAULT IMAGE URL unset: use the bundled default.svg fallback image - DEFAULT IMAGE URL=https://example.com/default-favicon","default_branch":null,"files":null,"tree":[],"storefront":"/r/vemetric","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vemetric/favicon-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}