This is a simple IP logging tool that collects information about a user's IP address, location, and device details, and sends it to a Discord webhook.
- Clone the repository:
git clone /~https://github.com/Javadkarami-com/Website-IP-Logger.git
- Install the required dependencies:
cd ip-logger
- Create a
config.json
file in the root directory and add your Discord webhook URL and API key:
{
"Token":"https://discord.com/api/webhooks/....",
"key":"APIKEY-HERE created in https://ipgeolocation.io/"
}
- Open the
index.html
file in a web browser. - The script will automatically fetch the user's IP information and send it to the configured Discord webhook.
If you find any issues or have suggestions for improvements, feel free to open a new issue or submit a pull request. Contributions are welcome!