# DomainCheckerLite
[![Crates.io Version](https://img.shields.io/crates/v/domain_checker_lite)](https://crates.io/crates/domain_checker_lite)
[![docs.rs](https://img.shields.io/docsrs/domain_checker_lite)](https://docs.rs/domain_checker_lite/latest/domain_checker_lite/)
[![Crates.io License](https://img.shields.io/crates/l/domain_checker_lite)](LICENSE)

DomainCheckerLite is a lightweight tool designed to check and monitor the status of multiple domains. It provides information about the HTTP status, brand identifier, and certificate time-to-expiry for each domain.

## Features

- **Domain Configuration**: Load and parse domain configuration files.
- **Status Checking**: Check the HTTP status of each domain.
- **Brand Identification**: Identify the (client specific) brand from the HTML content.
- **Certificate Expiry**: Check the time-to-expiry of the SSL/TLS certificate.

## Example

To run DomainCheckerLite with an example, use the following command:
```bash
cargo install domain_check_lite
domain_checker_lite --domain-file ./domains.example.txt
```

## Usage

To use DomainCheckerLite, you need to create a configuration file with the domains you want to check. Here is an example of a configuration file:

```plain text
# Comment lines start with '#'
# Or with '//'
example.com
https://example.org

# Blank lines are ignored

invalid url here  // will be skipped with a warning
```


Run the tool with the following command:

```bash
domain-checker-lite --domain-file path/to/your/domains.txt
```

## Example Output

When you run the tool, it will display the status of each domain in the following format:

![Example Run](assets/Example_Run.png)


## License

DomainCheckerLite is licensed under the terms specified in the [LICENSE](./LICENSE) file.