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

オープン
#54 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
express, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
1
フォーク
0
平均マージ
15日 20時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ajithakdev/meterx のほかの issue

ajithakdev/meterx の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。