Skip to content

A free, self-hostable news aggregator…

1.0 KB
Raw Blame
# https://lychee.cli.rs/guides/config/

verbose = "warn"
no_progress = true
cache = true
max_cache_age = "1d"

accept = "200..=204, 302, 307, 429"
cache_exclude_status = "500..=599, 403, 429"

require_https = true
exclude_all_private = true

max_concurrency = 50
accept_timeouts = false # Retry instead
timeout = 15
max_retries = 3
retry_wait_time = 1

extensions = [
    "md", "html", "css", "js", "php", "phtml", "sh", "json", "jsonc", "xml", "yml", "yaml", "toml", "neon", "dist", "conf", "txt",

    # Dotfiles
    "htaccess", "editorconfig", "gitattributes", "gitignore", "jshintignore", "jshintrc", "stylelintignore", "dockerignore"
]

# For extensionless files
default_extension = "txt"

include_verbatim = true
hidden = true

exclude_path = [
  # Files
  '(^|/)index\.html$',
  '(^|/)\.github/ISSUE_TEMPLATE/feed-report-form\.yml$',

  # Directories
  '(^|/)data/(cache|users|favicons)($|/)',
  '(^|/)lib/(phpmailer|simplepie|phpgt|marienfressinaud)($|/)',
  '(^|/)docs/(_includes|_layouts|i18n)($|/)',
  '(^|/)p/scripts/vendor($|/)'
]