Skip to content

Commit

Permalink
feat: add a link checker workflow (#137)
Browse files Browse the repository at this point in the history
https://github.com/lycheeverse/lychee-action

This will help us catch any broken links in the future
  • Loading branch information
Ravencentric authored Sep 14, 2023
1 parent 73e005c commit 49f27a5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Links

on:
schedule:
- cron: "0 0 * * *"

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Link Checker
id: lychee
uses: lycheeverse/[email protected]
with:
args: >-
--exclude-all-private
--verbose --no-progress
--user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36'
--max-redirects 10
--header "accept=*/*"
--accept 200,204,206,403,429
--base 'https://thewiki.moe'
--exclude-path './docs/hidden'
--exclude '^https://www.amd.com'
--exclude '^https://exhentai.org'
--exclude '^https://www.nzbking.com'
'./**/*.md'
# Public trackers, streaming sites, crunchyroll, kodi, qbittorrent, etc return 403
# Nyaa returns 429
# ./docs/hidden has unmaintained legacy files
# AMD fails for reasons unknown to me, exhentai is private, and nzbking has bad uptime

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
2 changes: 1 addition & 1 deletion docs/getting-started/literature.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Although these are significantly lower quality, not all manga get official digit

[Kavita](https://www.kavitareader.com/) - Free and open source manga, comic, and book server with OPDS support. This means that any reader with OPDS, like Perfect Viewer, [can be used to read manga from the server](https://wiki.kavitareader.com/en/guides/settings/opds). Has support for [CDisplayEX](https://wiki.kavitareader.com/en/guides/misc/cdisplayex), [Tachiyomi](https://wiki.kavitareader.com/en/guides/misc/tachiyomi), and [Paperback](https://wiki.kavitareader.com/en/guides/misc/paperback). It also has an integrated webreader. [DEMO](https://wiki.kavitareader.com/en/kavita-demo).

[Komga](https://komga.org/) - Free and open source manga server with OPDS support. This means that any reader with OPDS, like Perfect Viewer, [can be used to read manga from the server](https://komga.org/guides/opds.html). Tachiyomi and Paperback are supported through their respective [komga extensions](https://komga.org/docs/guides/tachiyomi). It also has an integrated webreader.
[Komga](https://komga.org/) - Free and open source manga server with OPDS support. This means that any reader with OPDS, like Perfect Viewer, [can be used to read manga from the server](https://komga.org/docs/guides/opds). Tachiyomi and Paperback are supported through their respective [komga extensions](https://komga.org/docs/guides/tachiyomi). It also has an integrated webreader.

[komf](https://github.com/Snd-R/komf) - Komga and Kavita metadata fetcher.

Expand Down

0 comments on commit 49f27a5

Please sign in to comment.