https://github.com/tea3/hexo-auto-link-checker
This plugin for Hexo can automatically detects broken links.
https://github.com/tea3/hexo-auto-link-checker
broken-links hexo hexo-plugin link
Last synced: 8 days ago
JSON representation
This plugin for Hexo can automatically detects broken links.
- Host: GitHub
- URL: https://github.com/tea3/hexo-auto-link-checker
- Owner: tea3
- License: mit
- Created: 2019-10-12T04:54:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T02:29:06.000Z (almost 6 years ago)
- Last Synced: 2026-06-24T01:35:29.489Z (18 days ago)
- Topics: broken-links, hexo, hexo-plugin, link
- Language: JavaScript
- Size: 39.1 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-auto-link-checker
This plugin for [Hexo](https://hexo.io/) can automatically detects broken links.
## Installation
``` bash
$ npm install hexo-auto-link-checker --save
```
## Usage
``` bash
$ hexo clean
$ hexo s
```
The parsed link is created in `cache/hexo-auto-link-checker.json` . If there are broken external links, internal links, and TOC, they are displayed in the console message. The link check system is automatically searched one article's link at a time each time `$ hexo s` is executed.

## Option
Please set the following options. Please edit `_config.yml`.
```
# hexo-auto-link-chekcer
autoLinkChecker:
# enable: false #Disable this plugin
verbose: true #Console display of processing contents
rarelyChangePostsPath: 404/
cachePath: cache/hexo-auto-link-checker.json
exclusionURL:
- hoge-url/
- articles-toc
```
#### enable
Specify false to disable the plug-in.
#### rarelyChangePostsPath
Specify the path of an article that changes less frequently. Necessary for the plug-in to work in all server's situations.
#### cachePath
Save the analysis result of the article as a cache file. It also generates a log file for broken links as `hexa-auto-link-checker-brokenLinks.txt`. Please check the broken URL from the console's message or this txt file.
#### exclusionURL
Specify the URL that you want to exclude from the judgment.
## License
MIT
[Hexo]: http://hexo.io/