This is a program that checks the links in multiple repositories and generates a report.
- apply a GitHub token: https://github.com/settings/tokens
- set an environment variable:
export LINKCHECKER_GITHUBTOKEN=your_token - set an environment variable:
export LINKCHECKER_WORKSPACE=path/to/workspace, workspace is a directory that clone all repositories you want to check. - run
go run main.goorgo build && ./linkchecker - If you need to fix broken links, set an environment variable:
export LINKCHECKER_AUTHOR=your_github_username.