Skip to content

badalsarkar/Blink

Repository files navigation

Blink

Java CI with Maven

Blink is a command line application to detect invalid URLs.

Available Features

  • Check invalid URL with HTTP/HTTPS scheme in a html/txt file
  • Color output of validation result
  • Use environmental variable to control color print. Set CLICOLOR=1 for color print to console.

How to install

Download the jar file directly

Download the Blink.jar file from https://search.maven.org/artifact/ca.badalsarkar/blink.

Download the source code

System requirement

  • Java version 11 or higher

Available Options

Blink Options

How To Use

To process a file-

java -jar /path/to/Blink.jar/ -s /path/to/the/file

To activate color output-

export CLICOLOR=1
java -jar /path/to/Blink.jar -s /path/to/the/file

Blink color output

Pipe text from another process

curl -s https://github.com/badalsarkar/Blink | java -jar /path/to/Blink.jar -i

Blink process text input

To Show Help

java - jar /path/to/Blink.jar -h

To Show Version

java -jar /path/to/Blink.jar -v

Under Development

  • Process multiple file
  • Process files recursively from directory
  • Support for glob pattern
  • Parallel processing of different tasks, specifically reading from file, making http request and printing to screen and writing to file

Contributing

Read the contribution guide .

About

Command line application to detect broken URL.

Resources

License

Stars

Watchers

Forks

Packages