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

Aperta
#54 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
express, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
15g 20h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ajithakdev/meterx

Tutte le issue di ajithakdev/meterx

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.