Skip to content

Joe1905/Speed_Bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latency Checker

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.

Install From GitHub

Clone the repository into your local plugins folder:

git clone https://github.com/Joe1905/Speed_Bar.git latency-checker
cd latency-checker

Copy the example configuration if you want to edit settings before first run:

Copy-Item .\config.example.json .\config.json

Then 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.

Requirements

  • Windows
  • PowerShell 5+
  • Node.js, or the bundled Codex Node runtime
  • A local HTTP proxy if you want GPT route latency through proxy:https://...

Configuration

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.

Usage

Open the dashboard:

powershell -ExecutionPolicy Bypass -File .\scripts\open-dashboard.ps1

Open the floating window:

powershell -ExecutionPolicy Bypass -File .\scripts\open-floating-window.ps1

Console-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.ps1

Install optional Codex watcher:

powershell -ExecutionPolicy Bypass -File .\scripts\install-codex-autostart.ps1

Uninstall optional Codex watcher:

powershell -ExecutionPolicy Bypass -File .\scripts\uninstall-codex-autostart.ps1

Probe Types

  • icmp: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.

Privacy

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.

Limitations

  • 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors