Xit
Xit copied to clipboard
Use favicons for remotes
Currently, remote icons are hard-coded with explicit exceptions for GitHub, GitLab, and BitBucket. Instead, the site's favicon could be displayed.
- Do an http HEAD request for the site's root path
- Look for
<link rel="icon">
or other variant - If not found, try
/favicon.ico
- Cache the images and refresh periodically