Blink is a command line application to detect invalid URLs.
- 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.
Download the Blink.jar file from https://search.maven.org/artifact/ca.badalsarkar/blink.
- Download the zip file from https://github.com/badalsarkar/Blink/releases.
- Unzip the files
- Run
./mvnw clean compile assembly:single
. This will createBlink.jar
file insidetarget
directory.
- Java version 11 or higher
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
Pipe text from another process
curl -s https://github.com/badalsarkar/Blink | java -jar /path/to/Blink.jar -i
To Show Help
java - jar /path/to/Blink.jar -h
To Show Version
java -jar /path/to/Blink.jar -v
- 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
Read the contribution guide .