Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
/ shaarli-favicons Public archive

Shaarli plugin to add favicon / filetype icons to links.

License

Notifications You must be signed in to change notification settings

trailjeep/shaarli-favicons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shaarli-favicons

Shaarli plugin to add favicon/filetype icons to links.

Tested with Shaarli default and Shaarli-Material templates.

Considerations

  • May slow down page load time, especially if Links per page is set high.
  • Webserver HTTP Content-Security-Policy img-src directive (specifies valid sources of images and favicons) if set should exempt (<host-source>):
    • https://www.google.com
    • https://api.iconify.design

Screenshot

Screenshot of shaarli-favicons plugin

Installation

The plugin's folder (favicons) should be placed in the <shaarli>/plugins/ directory.

The directory structure should look like:

└── plugins
    └── favicons
        ├── favicons.css
        ├── favicons.js
        ├── favicons.meta
        ├── favicons.php
        └── jquery-3.3.1.slim.min.js

To enable the plugin, just check it in the Plugin Administration page (?do=pluginadmin).

You can also add favicons to your list of enabled plugins in data/config.json.php.
The general.enabled_plugins list should look like this:

"general": {
  "enabled_plugins": [
    "favicons",
    [...]
  ],
}

Configuration

None - enable/disable in the Plugin Administration page.

Credits

About

Shaarli plugin to add favicon / filetype icons to links.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published