Giter Club home page Giter Club logo

ip-grabber's Introduction

Discord IP Logger & Image Blur Web App / image hosting

This is a Flask web application designed to serve two main functionalities: logging IP addresses via Discord webhooks and blurring images provided by URLs. It also integrates with Telegraph for file uploads and hosting.

Features

  • IP Logging via Discord Webhooks: This app can send IP addresses, along with additional location information, to a Discord channel of your choice using Discord webhooks.

  • Image Blurring: Given an image URL, the app can apply a Gaussian blur filter to the image. This feature supports both static images and animated GIFs.

  • Telegraph Integration: Files uploaded through the app are hosted on Telegraph, allowing for easy sharing of media content.

Prerequisites

  • Python 3
  • Flask
  • requests
  • aiohttp
  • Pillow (PIL)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/your-repo.git
    
  2. Install the required dependencies using pip:

    pip install -r requirements.txt
    

Usage

  1. Run the Flask application:

    python app.py
    

app usage

  1. Visit http://localhost:5000 in your web browser to access the application.

  2. Use the /hidden-grabber endpoint to access the IP logging feature. Make sure to set up a Discord webhook and provide the webhook token/url to enable logging.

script usage

You can directly upload files to be hosted on Telegraph using the /upload endpoint. exemple :

import requests

url = 'http://localhost:5000/upload'
file_path = '/path/to/your/file.jpg'

with open(file_path, 'rb') as file:
    files = {'file': file}
    response = requests.post(url, files=files)

# Print the response content
print(response.json())

License

This project is licensed under the MIT License. See the LICENSE file for details.


ip-grabber's People

Contributors

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