Code Monkey home page Code Monkey logo

discord-webhook-ip-logger's Introduction

Discord-Webhook-IP-Logger

This is a IP logger I made that sends the IP of the visitor of a website to Discord as an embed message.

Note 28-03-2022: I think I am going to create a more detailed setup guide soon. (If I don't forget to)
Note 04-08-2022: I might have forgotten to create a more detailed tutorial. BUT I will make an updated version of this project, so stay tuned!
Note 15-12-2022: Just continued working on the updated version

Preview:

Example picture

Features

  • Grabs the IP of all page visitors (except for bots/crawlers).
  • Gets some basic information about the visitor's IP and browser.
  • Checks if the IP is a VPN (Not always 100% correct).
  • Gets the Geo Location of the visitor and also gives a Google Maps link.

The Setup

Step 1: Go into the settings of your Discord server, where you want the embeds to come trough.
Step 2: Click the 'Webhooks' tab and create a webhook for the channel of choice.
Step 3: After the webhook is created, copy the webhook link.
Step 4: Set the webhook url in Discord.php to the one you just copied.
Step 5: Copy the code of the index.php and paste is somewhere in your code.
The code will automatically run when the page loads.

Enjoy!

Help

If you need help with something you can always ask it.
My Discord: Jeroenimo02#2380
If you have suggestions for this project: https://discord.gg/JXRTSTyXrt

ko-fi

discord-webhook-ip-logger's People

Contributors

jeroenimo02 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.