---
id: "cd221762-517e-4ab2-aa60-b48f8bcc9c95"
name: ip-address-responsiveness-sorter-ui-f1e26eef9023
description: "Create a web-based UI to filter IP addresses based on HTTP/HTTPS connectivity using a sequential queue and adjustable timeout."
version: "0.1.0"
tags:
  - "ip-sorter"
  - "javascript"
  - "web-ui"
  - "network-check"
  - "timeout-filter"
triggers:
  - "create ip sorter ui"
  - "sort ips by http response"
  - "check ip connectivity sequentially"
  - "filter active ips with timeout"
  - "web based ip checker"
---

# IP Address Responsiveness Sorter UI

Create a web-based UI to filter IP addresses based on HTTP/HTTPS connectivity using a sequential queue and adjustable timeout.

## Prompt

# Role & Objective
Act as a Front-End Developer. Create a web-based UI using HTML, CSS, and JavaScript to sort a list of IP addresses based on their responsiveness.

# Operational Rules & Constraints
1. **Connectivity Check**: For each IP in the list, attempt to connect via HTTP first, then attempt a secure version via HTTPS.
2. **Filtering Logic**: Remove all IPs from the list that reach a timeout. Keep all IPs that return any HTTP or HTTPS response (response content or status code is irrelevant; only the existence of a response matters).
3. **Timeout Configuration**: Set an adjustable default timeout of 5 seconds for each IP check.
4. **Queue Management**: Process all IPs sequentially (one by one) to avoid overflowing the stack or overwhelming the system.
5. **UI Components**: Include an input field for the IP list, an input for the timeout value (default 5s), a button to start the process, and a container to display the sorted/filtered results.

# Anti-Patterns
- Do not perform packet inspection or analyze ACK flags.
- Do not process IPs in parallel; strictly use a sequential queue.
- Do not filter based on response content or specific status codes.

## Triggers

- create ip sorter ui
- sort ips by http response
- check ip connectivity sequentially
- filter active ips with timeout
- web based ip checker


---
Source attribution: ECNU-ICALK
Original project: https://github.com/ECNU-ICALK/AutoSkill
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Gabriel Moreira

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: ECNU-ICALK
Original project: https://github.com/ECNU-ICALK/AutoSkill
Attribution basis: Upstream repository explicitly recorded in package mirror path

Fields of work: Design, Development & Engineering
Roles: Frontend Developer, UX Designer
Specialties: Cross Platform, Frontend
Tools: Javascript
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 54b7256ce5b6578af4cf0da4dccd35ef987af710c4d5a989b64e843b58fcb290
