aboutsummaryrefslogtreecommitdiff
path: root/cmd
AgeCommit message (Collapse)Author
2026-01-22brokenlinks: print the progress to stderrShulhan
Each time the scan start, new queue add, fetching start, print the message to stderr. This remove the verbose options for better user experience.
2026-01-22brokenlinks: refactoring the logic, simplify the codeShulhan
Previously, we made the scan logic to run in multiple goroutine with one channel to push and consume the result and another channel to push and pop link to be processed. The logic is a very complicated code, making it hard to read and debug. These changes refactoring it to use single goroutine that push and pop link from/to a slices, as queue.
2025-06-27cmd/jarink: add "version" commandShulhan
The version command print the version of the program.
2025-06-16brokenlinks: add option "insecure"Shulhan
The insecure option will allow and not report as error on server with invalid certificates.
2025-06-13brokenlinks: add option to ignore list HTTP status codeShulhan
When link known to have an issues, one can ignore the status code during scanning broken links using "-ignore-status" option.
2025-06-12all: refactoring, move brokenlinks code to its own packageShulhan
When two or more struct has the same prefix that means it is time to move it to group it. Also, we will group one command to one package in the future.
2025-06-05all: encode the whole BrokenlinksResult struct to JSONShulhan
Previously, we only encode the BrokenlinksResult.PageLinks. The struct may changes in the future, so its better to encode the whole struct now rather than changing the output later.
2025-06-05all: add option to scan pass resultShulhan
The brokenlinks command now have option "-past-result" that accept path to JSON file from the past result. If its set, the program will only scan the pages with broken links inside that report.
2025-06-01all: go embed the README and use it on the CLI for help commandShulhan
2025-06-01all: use separate logs for worker and main programShulhan
The worker use log with date and time, while the main program is not.
2025-06-01all: add a simple READMEShulhan
The README contains the content from the usage function in the "cmd/jarink".
2025-06-01all: rename the program and repository into jarinkShulhan
Jarink is a program to help web administrator to maintains their website. Currently its provides a command to scan for brokenlinks.
2025-05-31all: record the error when checking the linksShulhan
The error message can help user to debug the problems with links.
2025-05-31cmd/deadlinks: print the result in JSONShulhan
Using JSON as output can be parsed by other tools.
2025-05-30cmd/deadlinks: implement the CLI for deadlinksShulhan
The CLI contains one command: scan Its accept single argument: an URL to be scanned, and one option "-verbose".