Skip to content

An iplogger developed in Nodejs, with a functional API that receives data and sends it through a Discord webhook

Notifications You must be signed in to change notification settings

k4itrun/example-ip-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

example-ip-logger

Thanks for wanting to get this great code, an iplogger that uses an API to send data when a person visits the website.

How does it work?

Start API

  • First go to replit and create a new project to get the API up and running.
  • Copy the entire contents of the api folder and paste it into the new REPLIT project.
  • Install all necessary packages with npm install.
  • Remember to add the WEBHOOK in webhook.
const webhook = 'https://discord.com/api/webhooks/';

Start local server

  • Copy the entire contents of the IP folder and paste it into the new local project.
  • Install all necessary packages with npm install.
  • Once you have the api online on replit, edit https://server/api/data with the URL of the api on replit.
const api = "http://localhost:3000/api/data" // You can use Replit for API hosting

Start Up

Once the local server is running at http://localhost:3000, every time the website is visited, the server will send the captured data to the API, and the API to the WEBHOOK.

Need Assistance?

I don't believe assistance will be required for this, as its operation is straightforward. However, if you need help, feel free to send a message to k4itrun#6889.

About

An iplogger developed in Nodejs, with a functional API that receives data and sends it through a Discord webhook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published