feat: Auto-detect and display user's ISP name, IP, and connection type

Đang mở
#54 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
express, typescript
Lĩnh vực
full-stack, networking

Hướng nghiên cứu

Start by reading background.ts and the Cloudflare Worker /health handler mentioned in the issue, then trace how test results reach the popup or side panel and history entries. Check how the project detects IP family and displays existing test details. Done means the detected ISP, masked public IP, connection type, and IP version appear in the test results and are stored in history.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement UX

Summary

Automatically detect and display the user's ISP name, public IP (masked), and connection type without requiring manual setup.

Current state

The Cloudflare Worker endpoint returns edge location (IATA code), but doesn't return ISP/ASN info.

Proposed

After each test, show:

🌐 ISP: BSNL (AS9829)
📍 Edge: Chennai (MAA)
🔗 Connection: IPv4
📶 Type: Fiber/DSL/Cable/Cellular
How to detect
  1. ISP Name: Cloudflare Worker has access to request.cf.asOrganization and request.cf.asn — return these in the /health or new /info endpoint
  2. Connection type: navigator.connection.type and navigator.connection.effectiveType (available in Chromium browsers)
  3. IP version: Already detected via detectIpFamily() in background.ts
  4. Public IP: Return from Worker (show masked: 49.xxx.xxx.12 for privacy)
Why
  • Users want to confirm they're on the right network
  • ISP name auto-detection removes the need for manual ISP selection
  • Shows technical credibility ("it knows my ISP!")
  • Useful for debugging: "Am I on WiFi or accidentally on mobile hotspot?"
  • Data can auto-populate ISP plan comparison feature
Implementation
  • Extend Cloudflare Worker /health response with cf.asOrganization, cf.asn, cf.country
  • Add navigator.connection data to test results
  • Display in popup footer or side panel header
  • Store in history entries for per-ISP analysis
Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
15 ngày 20 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ajithakdev/meterx

Tất cả issue của ajithakdev/meterx

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.