Repository navigation
Support SVG favicons in fedify nodeinfo
#1346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dahlia
merged 16 commits into
fedify-dev:main
from
userjmmm:issue-1238-support-svg-favicons
Nov 3, 2026
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2ade934
Add resvg-wasm for SVG rasterization
userjmmm e2a01c5
Update tests to verify SVG favicon selection
userjmmm 54a310b
Rasterize SVG favicons when found
userjmmm a5daf46
Add tests for SVG favicon rasterization
userjmmm f2e74a4
Add the PR reference to the changelog
userjmmm a9a69ff
Sync changelog and lockfile after rebase
userjmmm cc4eb2d
Reject degenerate SVG sizes before rendering
userjmmm 93564a7
Check that the SVG fallback test shows no art
userjmmm acb9f65
Test the height fit and SVG content sniffing
userjmmm 6902626
Check for SVG icons before the size filter
userjmmm 0c156dd
Fall back when an SVG favicon renders nothing
userjmmm 4836e7d
Normalize favicon content types and check PNG first
userjmmm 132e8ba
Log why the SVG rasterizer failed to load
userjmmm bd16a8a
Retry `/favicon.ico` when the favicon fails
userjmmm 5acab07
Check the PNG signature before the SVG content type
userjmmm c5695f0
Document that SVG favicon text is not rendered
userjmmm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| links: | ||
| '#1238': https://github.com/fedify-dev/fedify/issues/1238 | ||
| '#1346': https://github.com/fedify-dev/fedify/pull/1346 | ||
| --- | ||
| - Added SVG favicon support to `fedify nodeinfo`. SVG icons are now | ||
| rasterized and shown as terminal art instead of being skipped, so servers | ||
| that only declare an SVG favicon get an icon too. Bitmap icons are still | ||
| preferred when a page declares both. If the chosen favicon cannot be | ||
| fetched or rendered, the command now retries `/favicon.ico` once. | ||
| [[#1238], [#1346] by Lee Jeongmin] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.