Feature request: Add ability to point ArchiveBox to a custom favicon service instead of Google #1117
Labels
size: medium
status: done
Work is completed and released (or scheduled to be released in the next version)
touches: configuration
touches: docs
why: security
Intended to improve ArchiveBox security or data integrity
Just found out that https://github.com/mat/besticon exists. This would allow us to point ArchiveBox at a self-hosted replacement for the Google favicon service we currently use.
The current solution has always mildly irked me as a suboptimal way we leak archived domains to a 3rd party, which is why I document how to disable it here: https://docs.archivebox.io/en/latest/Security-Overview.html#stealth-mode, but it would be nice to provide an alternative other than disabling it entirely.
I'm imagining something like:
archivebox config --set FAVICON_PROVIDER='https://www.google.com/s2/favicons?domain={}'
(the default)that can be set to anything, e.g.:
archivebox config --set FAVICON_PROVIDER='https://someselfhostedservice.example.com/?q={}&format=png&size=64x64'
The text was updated successfully, but these errors were encountered: