CLI to check updates of web sites you want to check.
- No dependencies. Written in pure Go.
- Single binary. Easy to install. Just download and run.
- Send HEAD request to the web site you want to check.
- Get the header value
Last-Modified
from the response. - Compare the value with the value in the locally saved file.
Download binary from release page.
If you use Go usually, using go install
is the easiest way to install.
go install github.com/tenkoh/go-sitecheck@latest
- Add web sites you want to check.
./sitecheck site add https://example.com (site's url to register)
- Check site list (optional).
./sitecheck site list
- Run check. If there are updates, they are shown in the terminal.
./sitecheck check
After running check
, repository.json
file is created in the current directory. This file contains the information of the update history of the web sites you registered.
- Set proxy server.
./sitecheck config set proxy http://proxy.example.com:8080
- Show proxy list (optional).
./sitecheck config list
- Run check with proxy flag.
./sitecheck check -p
- Run check with output flag.
./sitecheck check -o result.txt
./sitecheck -h
Any contribution is welcome. Please feel free to open an issue or pull request. Especially, realizing any milestone in the roadmap makes me very happy.
- Improve user interface
- Use fuzzy finder to add / detele web sites from registered list.
- Use progress bar to show progress of checking.
MIT
tenkoh