🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

kilabit.info/jarink

Package Overview
Dependencies
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kilabit.info/jarink

Go Modules
Version
v0.4.0
Version published
Created
Source

Jarink

Jarink is a program to help web administrator and developers to inspect and maintains their website.

SYNOPSIS

jarink [OPTIONS] <COMMAND> <args...>

Available commands,

brokenlinks - scan the website for broken links (page and images).
help        - print the usage of the command.
version     - print the version of program.

USAGE

[OPTIONS] brokenlinks <URL>

The brokenlinks command scan for broken links on the web server pointed by URL. Links will be scanned on the anchor href attribute ("<a href=...>") or on the image src attribute ("<img src=...>").

The URL can be set to domain or with path. Scanning with path will report broken links on that path and their sub paths.

Once finished it will print the page and list of broken links in JSON format to standard output,

{
  "$PAGE": [{
    "value": <string>,
    "url": <string>,
    "error": <string>,
    "status_code": <integer>
  },{
  ...
}

This command accept the following options,

-ignore-status=<comma separated HTTP status code>: List of HTTP status code that will be ignored during scan.

-insecure: Ignore website with invalid certificates.

-past-result=<path to JSON file>: Scan only the pages reported by result from past scan based on the content in JSON file. This minimize the time to re-scan the pages once we have fixed the URLs.

EXAMPLES

Given a website that have the following pages,

  • web.tld (base)
  • web.tld/page1
  • web.tld/page1/sub1
  • web.tld/page2
  • web.tld/page2/sub1

The following command will scan all of the pages in the website web.tld.

$ jarink brokenlinks https://web.tld

Invoking brokenlinks on path "/page2" only scan "/page2" and "/page2/sub1".

$ jarink brokenlinks https://web.tld/page2

Ignore HTTP status code 403 and 418,

$ jarink -ignore-status=403,418 brokenlinks https://web.tld/page2

INSTALL

Requirements,

  • Go compiler
  • git SCM
  • make program

Manual installation using Go,

$ go install kilabit.info/jarink/cmd/jarink
$

This will install the jarink program into $GOBIN directory. Run go env to find out where $GOBIN is located.

Building from source code,

$ git clone https://git.kilabit.info/jarink
$ cd jarink
$ make build
$

This will build the jarink program into the current directory.

SEE ALSO

Project page - https://kilabit.info/project/jarink/

Changelog - https://kilabit.info/project/jarink/CHANGELOG.html

Source code - https://git.kilabit.info/jarink

LICENSE

This software is licensed under GPL 3.0. See the LICENSE file for more information.

Copyright 2025 M. Shulhan <ms@kilabit.info>.

FAQs

Package last updated on 15 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts