lychee.toml (1399B)
1 ############################# Runtime ############################# 2 3 # Reasonable concurrency to avoid rate-limiting small hosts. 4 max_concurrency = 14 5 6 # File extensions to scan 7 extensions = ["c", "h", "md", "html", "txt"] 8 9 ############################# Requests ############################ 10 11 # Accepted status codes 12 # - Include 429 (Too Many Requests) to avoid marking throttled links as dead. 13 accept = ["100..=103", "200..=299", "429"] 14 15 # Retry each request a few times on transient network errors 16 max_retries = 2 17 retry_wait_time = 2 18 19 # Timeout per request in seconds 20 timeout = 60 21 22 ############################# Exclusions ########################## 23 24 exclude = [ 25 '^https?://sys/file$', 26 '^file://.*', 27 '^https?://(www\.)?badges\.debian\.net/.*$', 28 '^https?://(www\.)?repology\.org/.*$', 29 '^https?://scan\.coverity\.com/.*$', 30 '^https?://(www\.)?img\.shields\.io/.*$', 31 '^https?://(www\.)?fossies\.org/.*$', 32 '^https?://(www\.)?adobe\.com.*$', 33 '^https?://(www\.)?google\.com.*$', 34 '^https?://(www\.)?forum\.vmssoftware\.com/.*$', 35 '^http://vim\.sourceforge\.net/scripts/script\.php\?script_id=40$', 36 '^https://is\.gd/.*$', 37 '^https://wiki\.contextgarden\.net/Vim$', 38 '^https://github\.com/you/foobar\.git$', 39 '^https?://flatassembler\.net', 40 '^https?://www\.fleiner\.com/vim/download.html', 41 ] 42 43 # Lychee only reads UTF-8 files 44 exclude_path = [ 45 'src/po', 46 'src/testdir', 47 ]