mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-12 19:51:07 +05:00
The about modal is lazily mounted, so the credits and contact address are not in the server-rendered HTML and no crawler ever sees them. Authorship therefore goes in the head, where it is always present: a meta author, a rel=author link to ruisaraiva.dev, and SoftwareApplication JSON-LD. The structured data names Rui as author and Augusto and Miguel as contributors, because the modal credits three people and the markup should not tell a machine a tidier story than the page tells a reader. Also adds public/llms.txt: accepted input formats, the 310px and 512px minimums, and exactly what the zip contains, including that favicon.svg only appears for SVG input and manifest.json only with the PWA option. It is written from utils/favicon.ts and the route handler rather than from memory. Note it is a static file, so it is the one thing here that can drift from the sizes it documents. Two hardcoded favycon.vercel.app strings become the SITE_URL constant the rest of the file now uses.
49 lines
1.8 KiB
Plaintext
49 lines
1.8 KiB
Plaintext
# Favycon
|
|
|
|
> A free online tool that turns one image into a complete set of favicons, in
|
|
> every size and format a site needs, as a downloadable zip.
|
|
|
|
Drag and drop an image and Favycon returns `favicons.zip` plus the markup to
|
|
paste into your `<head>`. Nothing is stored: the image is converted in the
|
|
request and the zip is streamed straight back.
|
|
|
|
Site: https://favycon.vercel.app
|
|
|
|
## Input
|
|
|
|
- Accepted formats: JPEG, PNG, SVG.
|
|
- Minimum dimensions: 310x310. SVG input is exempt, since it is rescaled from
|
|
vector.
|
|
- With the PWA option enabled the minimum is 512x512, again except for SVG.
|
|
|
|
## What the zip contains
|
|
|
|
- `icons/favicon-<size>.png` at 16x16, 32x32, 57x57, 60x60, 70x70, 72x72,
|
|
76x76, 96x96, 114x114, 120x120, 144x144, 150x150, 152x152, 180x180, 192x192
|
|
and 310x310.
|
|
- `icons/favicon.ico`, rendered from a 256x256 master.
|
|
- `icons/favicon.svg`, only when the uploaded image was itself an SVG.
|
|
- `icons/browserconfig.xml` for IE10+ tiles.
|
|
- `icons/manifest.json`, only when the PWA option is on. That option also adds
|
|
128x128, 384x384 and 512x512 PNGs.
|
|
- `readme.txt` with the HTML to add, written to match the options chosen.
|
|
|
|
## Facts
|
|
|
|
- Author: Rui Saraiva (https://ruisaraiva.dev)
|
|
- Contributors: Augusto Lopes (product design), Miguel Teixeira
|
|
- Built in 2020
|
|
- Licence: MIT
|
|
- Source: https://github.com/ruisaraiva19/favycon
|
|
- Price: free, no account, no upload limit published
|
|
- Contact: hello@ruisaraiva.dev
|
|
|
|
## Notes
|
|
|
|
- This is a single-page tool. There is no blog, docs site or API documentation
|
|
to crawl beyond this file and the repository.
|
|
- There is a public HTTP endpoint at `POST /api/favycon`. It takes a multipart
|
|
body with an `icon` file field and an optional `pwa` field set to `1`, and
|
|
responds with `application/zip`. It is what the page itself calls; it is not
|
|
a documented or versioned public API.
|