🔍 A web application that allows users to perform domain and hosting lookups, including WHOIS information and hosting provider details.
- Domain Lookup: Fetch WHOIS information for a specified domain.
- Hosting Lookup: Retrieve hosting provider details based on the domain.
- Geolocation Information: Display city, region, country, latitude, and longitude of the IP address.
- Embedded Map: Interactive map display based on geolocation data.
- Responsive Design: Optimized for both desktop and mobile devices.
- Search History: Added search history option
- Delete History: Added delete history also
- Backend: Node.js, Express
- Frontend: EJS, HTML, CSS, JavaScript
- APIs:
- WHOIS Lookup API (RapidAPI)
- IP Geolocation API (ipwhois.app)
-
Clone the repository:
git clone https://github.com/blackXploit-404/Ninja-Lookup.git
-
Navigate into the project directory:
cd Ninja-Lookup
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add your API key:WHOIS_API_KEY=your_rapidapi_key
Make sure to add
.env
to your.gitignore
file to prevent it from being pushed to GitHub. -
Start the application:
npm start
- Open your web browser and navigate to
http://localhost:3000
. - Enter a domain name in the input field and click "Domain Lookup" or "Hosting Lookup."
- View the results, including WHOIS data and hosting provider information.
- GET /whois: Fetches WHOIS information for a specified domain.
- GET /lookup: Retrieves hosting provider details and geolocation information.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you find bugs or have suggestions for improvements.