通过 lychee 检查网站与 Markdown 文件的死链

#通过 lychee 检查网站与 Markdown 文件的死链# 通过 lychee 检查无法访问的链接。 介绍 lychee 是一个实用工具,帮助轻松检查页面的死链。其不仅具有易懂的 TUI 界面,还能将结果输出为 JSON 格式。 安装 在大部分包管理器的软件源中都包含了 lychee 软件包。 For Debian: su root apt update apt install lychee 如果包管理器的软件源没有 lychee,可前往 GitHub Release 下载 使用 通常,其命令参数接检查的页面即可。 例如: lychee https://linserin.work/posts 其输出为: ╭─u0_a724@localhost /sdcard/Hugo ╰─$ lychee https://linserin.work/posts 42/42 ━━━━━━━━━━━━━━━━━━━━ Finished extracting links 🔍 42 Total (in 3s 51ms) 🔗 31 Unique ✅ 42 OK 🚫 0 Errors 🔀 3 Redirects Hint: Followed 3 redirects. You might want to consider replacing redirecting URLs with the resolved URLs.

前往查看原文

© 2026 博友墨迹 All Rights Reserved Developed by 摸鱼小窝。