🔍📧 This ESP32 program allows you to check the availability status of two-letter domains registered in Lithuania via the www.domreg.lt
API. If a domain is found to be available, it sends an email notification using SMTP.
To get started with this project, follow these instructions:
- Arduino IDE installed on your system.
- ESP32 board added to the Arduino IDE.
- Necessary libraries installed:
- WiFi
- HTTPClient
- ArduinoJson
- ESP_Mail_Client
- Clone this repository to your local machine using
git clone https://github.com/mantvydasdeltuva/esp32_domain-status-checker.git
. - Open the
main.ino
file in the Arduino IDE. - Update the following constants in the code with your specific details:
WIFI_SSID
: Your WiFi network SSID.WIFI_PASSWORD
: Your WiFi network password.AUTHOR_EMAIL
: Your email address from which notifications will be sent.AUTHOR_PASSWORD
: Your email password.RECIPIENT_EMAIL
: Email address where notifications will be sent.
- Upload the code to your ESP32 board.
Once the code is uploaded and running on your ESP32 board, it will continuously check the availability status of two-letter domains registered in Lithuania. If an available domain is found, it will send an email notification to the specified recipient email address.
- If you encounter any issues during setup or usage, please refer to the documentation of the libraries used or consult relevant forums for assistance.
- Ensure that your ESP32 board is properly connected to the internet and has access to the
www.domreg.lt
API.
Contributions are welcome! Here's how you can contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your_feature_name
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your_feature_name
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
The program checks for all possible two-symbol domain availability per 43 minutes. One single domain is checked approx. per 2 seconds.
Yes, you can modify the HTTP_HOST
constant to point to a different domain registry API. Keep in mind that you would probobly need to change the .json response handling.