From dff13d861593aad4aff6193dbb9980eba34a1c1e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 29 May 2026 09:05:45 +0000 Subject: [PATCH] chore: drop Homebrew formula, add go install Formula required manual SHA256 updates on every release and a separate tap repo to function properly. Replaced with go install which works immediately for all platforms with zero maintenance overhead. https://claude.ai/code/session_01PPLEf2tHHFhw9rpW8dpdA3 --- Formula/httpmon.rb | 35 ----------------------------------- README.md | 8 +++----- 2 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 Formula/httpmon.rb diff --git a/Formula/httpmon.rb b/Formula/httpmon.rb deleted file mode 100644 index 9616cca..0000000 --- a/Formula/httpmon.rb +++ /dev/null @@ -1,35 +0,0 @@ -class Httpmon < Formula - desc "Zero-config HTTPS MITM proxy CLI for inspecting traffic" - homepage "https://github.com/hxddh/https-traffic-inspector" - version "0.1.0" - license "MIT" - - on_macos do - if Hardware::CPU.arm? - url "https://github.com/hxddh/https-traffic-inspector/releases/download/v#{version}/httpmon-darwin-arm64" - sha256 "TODO_fill_in_after_release" - else - url "https://github.com/hxddh/https-traffic-inspector/releases/download/v#{version}/httpmon-darwin-amd64" - sha256 "TODO_fill_in_after_release" - end - end - - on_linux do - if Hardware::CPU.arm? - url "https://github.com/hxddh/https-traffic-inspector/releases/download/v#{version}/httpmon-linux-arm64" - sha256 "TODO_fill_in_after_release" - else - url "https://github.com/hxddh/https-traffic-inspector/releases/download/v#{version}/httpmon-linux-amd64" - sha256 "TODO_fill_in_after_release" - end - end - - def install - bin.install Dir["httpmon-*"][0] => "httpmon" - end - - test do - assert_predicate bin/"httpmon", :exist? - assert_predicate bin/"httpmon", :executable? - end -end diff --git a/README.md b/README.md index c7c72e6..e5ab0ed 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,10 @@ No system configuration is changed. Everything is cleaned up when the command ex ## Installation -### Homebrew (macOS / Linux) +### go install (requires Go 1.24+) ```bash -# After the first release is published: -brew tap hxddh/tap -brew install httpmon +go install github.com/hxddh/https-traffic-inspector@latest ``` ### Pre-built binaries @@ -72,7 +70,7 @@ chmod +x httpmon-v1.0.1-macos-arm64 sudo mv httpmon-v1.0.1-macos-arm64 /usr/local/bin/httpmon ``` -### From source (requires Go 1.24+) +### From source ```bash git clone https://github.com/hxddh/https-traffic-inspector