Giter Club home page Giter Club logo

cf-ipinfo's Introduction

✔ CloudFlare IP Info Dashboard

A powerful, serverless, and free IP information dashboard solution powered by Cloudflare Workers, featuring a user-friendly interface and multi-language support.

README

📱 Demo

⭐ Features

  • Open-source, easy to deploy (within 10 minutes, no local tools required), and completely free
  • IP Information Display
    • Shows visitor's IP address
    • Provides geolocation information including country, city, and region
    • Displays timezone information
    • Shows Internet Service Provider (ISP) information
    • Displays Autonomous System Number (ASN)
  • Multi-language Support
    • Supports English, Traditional Chinese, Simplified Chinese, Japanese, and Korean
    • Easily extendable to add more languages
  • User Interface
    • Responsive design, adapts to different device sizes
    • Modern card-based layout
    • Animation effects to enhance user experience
    • Dark mode support
  • Map Functionality
    • Interactive map showing user's approximate location
    • Toggleable display
  • API Support
    • Provides IP information API in JSON format
  • Customizability
    • Easy to add or modify displayed IP information
    • Supports custom styles and layouts

👀 Demo

⚡ Quick Start

  1. Log in to your Cloudflare account
  2. Go to the Workers & Pages section
  3. Create a new Worker
  4. Copy and paste the provided code into the Worker editor
  5. Save and deploy

For the code, please refer to the GitHub repository

📄 API Documentation

Access the /api endpoint to get IP information in JSON format.

Example response:

{
  "ip": "203.0.113.195",
  "ipVersion": "IPv4",
  "country": "United States",
  "city": "Los Angeles",
  "region": "California",
  "timezone": "America/Los_Angeles",
  "isp": "Example ISP",
  "asn": "AS12345",
  "latitude": 34.0522,
  "longitude": -118.2437
}

Future Features (TODO)

  • Add support for more languages
  • Implement dark mode toggle
  • Add IP geolocation map display
  • Support IPv6 and IPv4 address format detection
  • Add IP information history feature
  • Implement API endpoint allowing other services to query IP information
  • Add more IP-related technical information (e.g., network type)
  • Support custom domain names

Contributing

Pull requests are welcome to improve this project. For major changes, please open an issue first to discuss what you would like to change.

👤 Author

KKCAT

  • Telegram
  • Twitter

cf-ipinfo's People

Contributors

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