DLCheck Command Line Tool

 DLCheck (Dead Link Checker) is a command line tool made using NodeJS, this is the tool that I made for OSD-600 release 0.1, it reads a file and extracts the URLs contained in the file, then tests if the links are good or bad. Initially I thought this project would take a good amount of time to complete since this was my first time creating a command line tool, but thanks to the course Slack community, one of my classmates has shared an blog on how to create CLI tools using NodeJS, this blog helped and guided me to create the DLCheck tool in a timely manner.

How to Use the Tool:

DLChecker has been published to npm, to install the tool, simply run the command: npm install dlcheck -g to install the tool globally on your system.

In the CLI, users may use the command dlcheck globally (within any directory) followed by:

FILENAME (ie dlcheck FILENAME) or PATH/FILENAME to detect URL status included in the file.

Features:

After the links are tested by DLCheck, good links are returned in green, the bad ones are red, the ones with special errors such as timeouts(page takes too long to load) are blue and unknowns are grey.

Users may use the dlcheck command followed by any of (--v, --version, /v, /version) to check the version of DLCheck installed on the system.

Example Screenshot:






GitHub Repo:

The DLCheck project has been uploaded to GitHub, the source codes are available and licensed for everyone to view, clone and make changes to. Please find the GitHub repository here: https://github.com/Wei-J-Huang/dlcheck .


Comments

Popular posts from this blog

Working on the Telescope Project

Hacktoberfest -1

Using Code Formatter and Linter