mdklab1k downloadsExtracts a URL from the frontmatter of notes and displays an associated favicon image next to the note title in the file tree. Supports standard URLs and base64-encoded images.
Obsidian Plugin – Note Favicon
This Obsidian plugin extracts a URL from the frontmatter of your notes and displays an associated favicon image next to the note title in the file tree. It supports both standard URLs and base64-encoded images, making it easy to visually distinguish notes at a glance.
.obsidian/plugins).Not available yet.
Add a favicon field to the frontmatter of any note. Example:
---
favicon: http://www.example.com
---
Or use a base64-encoded image:
---
favicon: data:image/png;base64,iVBORw0KGgoAAAANS...
---
The favicon will automatically appear next to the note title in the file tree once added.
Here is how a note frontmatter with a favicon URL looks:
---
favicon: https://developer.mozilla.org/en-US/
---
This will show the StackOverflow favicon next to the note in the file tree.
Another example with base64 images:
---
favicon: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACm0lEQVQ4jWWSTYhWdRjFz/P8P+577zhOUpothFYTfSC0G4lwNUGBoMhAU4RBUBQEtXAWru6EKI20ihYtcmFazQwi7cRNGxdFgStpoRi5cdGXovO+9/6/TouZV8bXs/vD8xzOc/4/YEJtSwWAC6e5a/VMuPrDSrg6ObNd8uiTAgjPnhzum6rc6s4d9sDd+/EXk+TTFOyNt1r5e9LATi6fP9W/4Ct3yRqZDREAzLfFliV1qQLwxnhuvKXbwvBcyz3G4rI1MptzzsMu3yrgHyJ4rRnY11dX4hIgJCiPGIzvdlV4xTm/r4+hrytjiLxmWOab2jajPhUCJ775/K9pmUxw/fpmF2rMroEHQJEukgrzOwXzMYKlUCm0DZ6a3t6BAsD6uuS1BZrIcOXBRvypHjgfYiql5A6QmUxABFRIZUx8BqCQm2c87GDjRUxbdd9R9IvQxxvTjTNUeQIo/1oDAdENKmtT4jwgXF7eSr2wQAMAVR2PPP2kfRUlv5uKfD1VI6hgINQ1bxG9d3WIpajRj8+e4u62lQJQZFzibB2uDSr3UsrMKXNRGO9u/rJMiaBQymFn3XtWgVGI5xeP+3cAigWA55t8xHm7vw8p7Gic3xill0mzt6ntsVGf1Du9Per0k6jpz5kp+1kXsHfMgwJAQZmpnEJEsggJyIyoelVYghnQZ6sKF5nx63/3wpWSZRkQtqDKlhO+X0lf1ZX5UBV4MAwnBJhrGn9oOIoFIL33NvbxJkfu4Jst7oxZ0C0subhkP+r6eKEPBRb+N1Wdi5GAoIiI5FRIwe7Q3+8fA2mse0P3fig8nDXMVc7WMSXWlXMiarxTEeHPx07v/OcxkMb6oJXh28ftj531X2biOZJHR104WXK5VkoBIevb0QeA/wGJbEKYYXTTdwAAAABJRU5ErkJggg==
---
This will show the Obsidian favicon next to the note in the file tree.
Favicon displayed next to note titles in the file tree.
This plugin requires the following permissions:
This plugin fetches favicons from Google's service (https://www.google.com/s2/favicons). When a note contains a URL in its frontmatter, the plugin makes an external request to Google's favicon service to retrieve the favicon associated with the domain.
Contributions are welcome! Please feel free to submit a pull request or report issues in the GitHub repository.
If you find this plugin useful, consider sponsoring me to support future development.
This project is licensed under the MIT License. See the LICENSE file for details.