A web application to check if an IP address is within the TWDS Steam Cache service range.
- IP Address Lookup: Enter any IPv4 or IPv6 address to check
- Current IP Detection: Automatically detect and check your current IP
- Steam Cache Status: Shows whether the IP is within TWDS Steam Cache service range
- Geolocation Data: Displays country and ISP information
- BGP Information: Shows AS path and BGP communities with translations
- Real-time Validation: Live IP address validation with visual feedback
├── index.html # Main HTML file
├── script.js # JavaScript functionality
├── styles.css # CSS styles
├── data/
│ ├── steam-cache-v4.json # IPv4 Steam cache data
│ ├── steam-cache-v6.json # IPv6 Steam cache data
│ └── communities.json # BGP communities translations
├── .github/workflows/
│ └── deploy.yml # GitHub Actions deployment workflow
└── README.md # This file
This application is automatically deployed to GitHub Pages using GitHub Actions.
- Trigger: Pushes to
mainormasterbranch - Build: Copies required files to deployment directory
- Deploy: Publishes to GitHub Pages with custom domain
index.html- Main applicationscript.js- Application logicstyles.css- Stylingdata/*.json- Steam cache data and translationsCNAME- Custom domain configuration
The application is configured to use the custom domain: steam.twds.com.tw
To run the application locally:
- Clone the repository
- Open
index.htmlin a web browser - The application will load Steam cache data from the
data/directory
- Steam Cache Data: Converted from BGP routing table exports
- Geolocation: ipapi.co API
- Current IP: ipify.org API
- BGP Communities: Custom translations for TWDS-specific communities
- No Dependencies: Pure HTML, CSS, and JavaScript
- Responsive Design: Works on desktop and mobile devices
- Longest Prefix Match: Proper routing table lookup algorithm
- Real-time Validation: Client-side IP address validation
- Error Handling: Comprehensive error handling and user feedback
https://ipapi.co/{ip}/json/- IP geolocation datahttps://api.ipify.org?format=json- Current IP detection
This project is part of the TWDS Steam Cache service.