https://github.com/selflocking/linkchecker
https://github.com/selflocking/linkchecker
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/selflocking/linkchecker
- Owner: Selflocking
- Created: 2023-08-03T14:00:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T06:49:41.000Z (over 2 years ago)
- Last Synced: 2025-02-17T16:01:07.223Z (over 1 year ago)
- Language: Go
- Size: 72.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Link Checker
## Description
This is a program that checks the links in multiple repositories and generates a report.
## Usage
1. apply a GitHub token: https://github.com/settings/tokens
2. set an environment variable: `export LINKCHECKER_GITHUBTOKEN=your_token`
3. set an environment variable: `export LINKCHECKER_WORKSPACE=path/to/workspace`, workspace is a directory that clone all repositories you want to check.
4. run `go run main.go` or `go build && ./linkchecker`
5. If you need to fix broken links, set an environment variable: `export LINKCHECKER_AUTHOR=your_github_username`.