All Projects → joethei → obsidian-link-favicon

joethei / obsidian-link-favicon

Licence: GPL-3.0 license
See the favicon for a linked website.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to obsidian-link-favicon

obsidian-core-search-assistant-plugin
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Stars: ✭ 59 (+28.26%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-text-expand
A simple text expand plugin for Obsidian.md
Stars: ✭ 122 (+165.22%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-task-collector
Plugin for https://obsidian.md/ that assists with managing tasks within a document.
Stars: ✭ 77 (+67.39%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-journey-plugin
Discover the story between your notes in Obsidian
Stars: ✭ 93 (+102.17%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-jump-to-link
Quick jump between links using hotkeys
Stars: ✭ 57 (+23.91%)
Mutual labels:  obsidian-plugin, obsidian-md
slated-obsidian
Task management in Obsidian.md
Stars: ✭ 123 (+167.39%)
Mutual labels:  obsidian-plugin, obsidian-md
note-folder-autorename
Obsidian plugin to support folder-overview notes by keeping their folder in sync
Stars: ✭ 36 (-21.74%)
Mutual labels:  obsidian-plugin, obsidian-md
nldates-obsidian
Work with dates in natural language in Obsidian
Stars: ✭ 263 (+471.74%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-url-into-selection
Paste URLs into selected text "notion style"
Stars: ✭ 129 (+180.43%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-search-on-internet
Add context menu items in Obsidian to search the internet.
Stars: ✭ 79 (+71.74%)
Mutual labels:  obsidian-plugin, obsidian-md
Highlightr-Plugin
A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier 🎨.
Stars: ✭ 321 (+597.83%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-text-format
Format seleted text in Obsdidian.md
Stars: ✭ 49 (+6.52%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-spaced-repetition
Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian.md
Stars: ✭ 667 (+1350%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-embedded-note-titles
No description or website provided.
Stars: ✭ 50 (+8.7%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian42-text-transporter
Text Transporter - advanced text management for Obsidian. Part of the Obisidan42 family of Obsidian plugins.
Stars: ✭ 100 (+117.39%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-metatemplates
Take advantage of YAML front-matter in generating notes from templates (for obsidian.md)
Stars: ✭ 68 (+47.83%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-link-archive
Link Archive plugin for Obsidian
Stars: ✭ 94 (+104.35%)
Mutual labels:  obsidian-plugin, obsidian-md
oz-image-in-editor-obsidian
This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
Stars: ✭ 243 (+428.26%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-query2table
Represent files returned by a query as a table of their YAML frontmatter (for obsidian.md)
Stars: ✭ 24 (-47.83%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-pangu
为 Obsidian 笔记加上「盘古之白」,排版强迫症者的福音。 | A small plugin aims to add space between Chinese Characters and English Alphabet, and it is a boon for typographically compulsive people.
Stars: ✭ 40 (-13.04%)
Mutual labels:  obsidian-plugin, obsidian-md

Link Favicons

Plugin for Obsidian

GitHub package.json version GitHub manifest.json dynamic (path) GitHub libera manifesto

With this plugin you can see the favicon for a linked website without using any custom CSS.

Demo

Works with: Admonition , RSS Reader and many more plugins.

Also check out Link Favicons for Firefox & Chromium based browsers

Icon Providers

You can select between these providers in the settings:

Provider Max Size Fallback max requests
Google 16x16px default icon no limit️
DuckDuckGo none default icon no limit
Favicon Grabber none none 100 per minute
The Favicon Finder (selfhosted) 256x256px automatically generated no limit️
Icon Horse none automatically generated fair use policy
Splitbee none yes (from Google) unknown

Depending on which provider you choose the icons might look different.

The Icon Provider will only receive the hostname your links, so forum.obsidian.md instead of https://forum.obsidian.md/t/custom-link-favicons-hiding-in-community-plugins/24112/5?u=joethei

Overwriting icons

Requires the Icon Shortcodes plugin

You can overwrite any domain favicon with an icon of your choosing in the settings. (See the demo gif below)

Defining Icons for URI Schemes

Requires the Icon Shortcodes plugin

You can also add icons for uri schemes such as mailto://, obsidian:// or calculator://. To do this specify the name of the uri scheme(without ://) in the settings. (See the demo gif below)

Custom icons demo

For Designers

For help with styling you can also check out the #appearance channel on the Obsidian Members Group Discord

If you want to style the favicons you can use a CSS snippet similar to the one below, which makes all favicons appear in grayscale.

body .link-favicon[data-is-readable-a-a] {
	filter: grayscale(100%);
}

If you want to disable your own styling for favicons you can check if the data-favicon Attribute is "true". The example below removes the external link icon .

.external-link[data-favicon="true"] {
	background-image: none;
}

Color Inversion

By default, icons that are perceived as unreadable will have a color filter applied to help with readability. There are multiple metrics that could be used to decide if an icon is readable or not:

By default, the AA value is used.

using the is-dark, is-light values is not recommended as they don't take the background color into account.

These values are calculated from the average color. Using the most dominant color would be more accurate, but is not implemented currently.

For Developers

As long as you use the renderMarkdown Method this plugin will add favicons to your external links. If you want no link favicons in your plugin either add no-favicon to your source path when calling the method. Or specify the Attribute data-no-favicon on your link element.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].