diff options
| author | Shulhan <ms@kilabit.info> | 2025-06-01 01:53:04 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-06-01 01:53:04 +0700 |
| commit | 0358b0f5535572c96f766423a5c3160dd85efd67 (patch) | |
| tree | a2991e980864a4a1fa8a5a60b50e1190e38d4724 /README | |
| parent | 3ed69f535b6081bfa88b83f6fbf8c94527afe350 (diff) | |
| download | jarink-0358b0f5535572c96f766423a5c3160dd85efd67.tar.xz | |
all: add a simple README
The README contains the content from the usage function in the
"cmd/jarink".
Diffstat (limited to 'README')
| -rw-r--r-- | README | 54 |
1 files changed, 54 insertions, 0 deletions
@@ -0,0 +1,54 @@ += Jarink + +Jarink is a program to help web administrator to maintains their website. + +== Synopsis + + jarink [OPTIONS] <COMMAND> <args...> + +Available commands, + + brokenlinks - scan the website for broken links (page and images). + +== Usage + +[OPTIONS] brokenlinks URL + + Start scanning for broken links on the web server pointed by URL. + Invalid links will be scanned on anchor href attribute + ("<a href=...>") or on the image src attribute ("<img src=..."). + + Once finished it will print the page and list of broken links inside + that page in JSON format. + + This command accept the following options, + + -verbose : print the page that being scanned. + + Example, + + $ jarink scan https://kilabit.info + { + "https://kilabit.info/some/page": [ + { + "Link": "https://kilabit.info/some/page/image.png", + "Code": 404 + }, + { + "Link": "https://external.com/link", + "Error": "Internal server error", + "Code": 500 + } + ], + "https://kilabit.info/another/page": [ + { + "Link": "https://kilabit.info/another/page/image.png", + "Code": 404 + }, + { + "Link": "https://external.org/link", + "Error": "Internal server error", + "Code": 500 + } + ] + } |
