Giter Site home page Giter Site logo

domain-checker's Introduction

Domain Availability Checker

This Python project checks the availability of domains and sends notifications via Pushover if a domain is available.

Prerequisites

  • Python 3.x
  • whois library
  • requests library
  • Pushover account with API token and user key

Setup

  1. Install required libraries:

    pip install python-whois requests
    

    or

    pip install -r requirements.txt
    
  2. Pushover Credentials:

    Create a pushover_credentials.json file in the same directory as the script with the following content:

    {
        "user_key": "YOUR_USER_KEY",
        "api_token": "YOUR_API_TOKEN"
    }
  3. Domains File:

    Create a domains.txt file in the same directory as the script and list the domains you want to check, one per line.

    Example domains.txt:

    example.com
    google.com
    youtube.de
    

Usage

Run the script:

python domain_checker.py

The script will read the domains from domains.txt and check their availability. If a domain is available, a Pushover notification will be sent.

Project Files

  • check.py: The main script to check domain availability and send notifications.
  • domains.txt: A file containing the list of domains to check.
  • pushover_credentials.json: A file containing Pushover API credentials.

Example Output

Checking domain example.com
Domain example.com is already registered.
Checking domain google.com
Domain google.com is already registered.
Checking domain youtube.de
Domain youtube.de is already registered.

If a domain is available:

Checking domain availabledomain.com
Domain availabledomain.com is available!
Pushover notification sent successfully.

Author

Sebastian Espei

domain-checker's People

Contributors

skillkiller avatar

Stargazers

Ringo Hoffmann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.