https://github.com/giulianopz/mdlinkcheck
Link checker for markdown files
https://github.com/giulianopz/mdlinkcheck
golang link-checker markdown
Last synced: 10 months ago
JSON representation
Link checker for markdown files
- Host: GitHub
- URL: https://github.com/giulianopz/mdlinkcheck
- Owner: giulianopz
- License: gpl-3.0
- Created: 2023-09-04T07:01:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-14T22:15:13.000Z (over 2 years ago)
- Last Synced: 2025-01-28T19:48:51.601Z (12 months ago)
- Topics: golang, link-checker, markdown
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### mdlinkcheck
Simple cli tool to check links in a markdown file or in a directory of markdown files:
```bash
$ go install github.com/giulianopz/mdlinkcheck@latest
$ mdlinkcheck -h
Usage of mdlinkcheck:
-dir string
path of dir containing markdown files
-file string
path of markdown file
-follow
follow redirects (default true)
-http-method string
http method: HEAD (faster, less accurate) or GET (slower, trustworthy) (default "GET")
-skip-tls
ignore invalid TLS/SSL certificates (default false)
-timeout int
timeout in seconds (default 5)
-user-agent string
impersonate an agent (default "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0")
$ mdlinkcheck --file file.md | grep -v 200
[err]: https://twitter.com
```