An alternative to cashpw/dynamic-favicon-links which doesn’t need to pull favicons on the fly.
Running get_favicons.py will:
- Find all links in the provided
markdown_directory - Download favicons for those links (skips the ones you already have in
icon_directory) - Write CSS to
favicon_css_output_pathwhich will show the appropriate favicon:afterlinks
pip install -r requirements.txt- Start the iconserver
- Run
get_favicons.py:python3 get_favicons.py \ --markdown_directory=path/to/dir/with/md/files \ --icon_directory=path/to/dir/to/save/icons/to \ --favicon_css_outfile_path=path/to/file/to/write/css/to \ --iconserver=http://localhost:8080 \ --your_site_url=www.example.com