Skip to content

v1.1.1 — native Windows builds + proxy support

Latest

Choose a tag to compare

@codewith-aditya codewith-aditya released this 18 Nov 09:15
· 6 commits to master since this release

v1.1.1 — native Windows builds

The bridge now runs on Windows as a single console binary, with paths that make sense there.

Added

  • windows/amd64 and windows/arm64 executables (raw .exe, no installer, no runtime).
  • OS-aware default token directory:
    • Windows → %AppData%\metaphor-bridge
    • macOS → ~/.metaphor
    • Linux → /root/metaphor (unchanged; override with METAPHOR_DIR anywhere)
  • Windows section in the README (PowerShell quickstart, scheduled-task hint, SmartScreen note).

Everything from v1.1.0 still applies

  • Egress proxy: -proxy / METAPHOR_PROXY for http://, https:// (self-signed ok) and
    socks5://, applied to the gateway, token refresh and auth hops.
  • -proxy-insecure skips verification of the proxy certificate only.
  • /debug/ip shows the egress IP, /healthz shows token expiry, concurrency and proxy.
  • External token mints (auth gh, auth refresh) are picked up without a restart.

Windows quickstart

.\metaphor-go_1.1.1_windows_amd64.exe auth start
# open the printed URL, approve on GitHub, copy the metaphor:// URL or just the code
.\metaphor-go_1.1.1_windows_amd64.exe auth finish "metaphor://auth/callback?code=..."
.\metaphor-go_1.1.1_windows_amd64.exe serve
# then point any OpenAI client at http://127.0.0.1:8190/v1

With a proxy:

$env:METAPHOR_PROXY="https://user:pass@gw.example.com:443"
$env:METAPHOR_PROXY_INSECURE="1"
.\metaphor-go_1.1.1_windows_amd64.exe serve

Binaries are unsigned, so SmartScreen will ask once (More info → Run anyway). Build it
yourself with go build if you prefer.

Checksums: checksums.txt.