You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add an option to set the favicon and PWA icon, like --app-name #8145
A flag to set the icon code-server serves for its pages, alongside the existing --app-name. For example --app-icon <path>, taking an SVG or PNG file, used for:
the page favicon (today favicon-dark-support.svg and favicon.ico)
the PWA icons referenced by manifest.json and the apple-touch-icon links (today pwa-icon-192.png and pwa-icon-512.png)
Why do you want this feature?
--app-name already lets an operator name the app, e.g. --app-name "VS Code" turns the tab title into <folder> — VS Code. The icon can't be changed the same way, so the tab and an installed PWA show the code-server logo next to that name.
When code-server runs as one app among several in a developer environment, users pick the editor out of their tabs and dock by its icon. A configurable icon would let operators match the name they set.
Are there any workarounds to get this functionality today?
Only replacing the files under src/browser/media/ in the installed release. That relies on the package's internal layout and silently breaks when an upgrade renames or adds icon files.
Are you interested in submitting a PR for this?
Possibly. Guidance on whether a flag like this would be accepted, and its preferred name, would help.
Activity
linear-code commentedon Nov 19, 2026
CODE-121