feat: add support for custom favicons (#4770)

* feat: add support for custom favicons

* Commit updated API documentation

* chore(i18n): add localization of text

* fix(js): regenerate package lock file

* chore(test): add favicon test

* fix: max size not respected

* Commit updated API documentation

* fix: move favicon.ico to the static dir

* fix: fix tests

* fix: remove hard-coded content-type of icon

* chore: update extracted translations

* feat(admin): add support for resetting to default icon

* chore: use a higher res default favicon

* Commit updated API documentation

---------

Co-authored-by: Owncast <owncast@owncast.online>
This commit is contained in:
Gabe Kangas
2026-01-28 18:07:19 -08:00
committed by GitHub
co-authored by Owncast
parent f8560db614
commit 6abaf20f2b
77 changed files with 981 additions and 177 deletions
+9
View File
@@ -28,6 +28,14 @@
"titlePlaceholder": "Your action title (required)",
"urlPlaceholder": "https://myserver.com/action (required)"
},
"EditFavicon": {
"label": "Favicon",
"tip": "Upload a custom favicon (PNG or ICO format, max 200KB). This icon appears in browser tabs and bookmarks.",
"resetButton": "Reset",
"resetConfirmTitle": "Reset to default favicon?",
"resetConfirmOk": "Yes",
"resetConfirmCancel": "No"
},
"EditInstanceDetails": {
"directoryDescription": "Increase your audience by appearing in the <a href=\"https://owncast.directory\" target=\"_blank\" rel=\"noreferrer\"><strong>Owncast Directory</strong></a>. This is an external service run by the Owncast project. <a href=\"https://owncast.online/docs/directory/?source=admin\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more</a>.",
"offlineMessageDescription": "The offline message is displayed to your page visitors when you're not streaming. Markdown is supported.",
@@ -205,6 +213,7 @@
"overLimit": "Over limit",
"placeholder": "Your chat display name"
},
"chatDisabled": "<strong><em>Missing translation Frontend.chatDisabled: Please report</em></strong>",
"chatOffline": "Chat is offline",
"componentError": "Error: {{message}}",
"helloWorld": "Hello world",