Latency Checker is a local Codex plugin for lightweight network diagnostics on Windows.
It provides:
- A local web dashboard for upload/download throughput and latency probes.
- A small always-on-top Windows capsule window.
- Configurable GPT route latency through a local HTTP proxy.
- Optional Codex watcher startup, disabled by default until the user installs it.
Clone the repository into your local plugins folder:
git clone https://github.com/Joe1905/Speed_Bar.git latency-checker
cd latency-checkerCopy the example configuration if you want to edit settings before first run:
Copy-Item .\config.example.json .\config.jsonThen update config.json for your local proxy port if needed. The default proxy is 127.0.0.1:7897.
This is a local Codex plugin. Public Codex marketplace distribution, if available, may require a separate submission or review process.
- Windows
- PowerShell 5+
- Node.js, or the bundled Codex Node runtime
- A local HTTP proxy if you want GPT route latency through
proxy:https://...
Copy config.example.json to config.json, or let the scripts create it automatically on first run.
Default configuration:
{
"port": 48731,
"refreshIntervalMs": 3000,
"language": "zh-CN",
"theme": "dark",
"proxy": {
"host": "127.0.0.1",
"port": 7897
},
"gptTarget": "chatgpt.com",
"targets": [
"proxy:https://chatgpt.com",
"icmp:1.1.1.1",
"icmp:8.8.8.8"
]
}If your proxy uses a different port, update proxy.port.
Open the dashboard:
powershell -ExecutionPolicy Bypass -File .\scripts\open-dashboard.ps1Open the floating window:
powershell -ExecutionPolicy Bypass -File .\scripts\open-floating-window.ps1Console-free floating window:
.\scripts\start-floating-window.vbs
Right-click the floating window to open Settings. Settings include language, polling interval, and dark/light theme.
Create a local double-click shortcut in the plugin root:
powershell -ExecutionPolicy Bypass -File .\scripts\create-shortcut.ps1Install optional Codex watcher:
powershell -ExecutionPolicy Bypass -File .\scripts\install-codex-autostart.ps1Uninstall optional Codex watcher:
powershell -ExecutionPolicy Bypass -File .\scripts\uninstall-codex-autostart.ps1icmp:1.1.1.1: ICMP ping.tcp:example.com:443: TCP connect latency.proxy:https://chatgpt.com: HTTP CONNECT through configured proxy plus TLS handshake.
The plugin runs locally. It reads Windows network adapter byte counters and performs configured probes. It does not store browsing data or inspect Codex message content.
- Throughput is whole-system adapter throughput, not Codex-process-only traffic.
- The floating window is Windows-only.
proxy:https://...requires a local HTTP proxy that supports CONNECT.