All checks were successful
Build and Release / release (push) Successful in 49s
Firefly Go Proxy
A lightweight HTTP/HTTPS proxy server with domain redirection and request blocking capabilities. This tool is designed to help with local development and testing by intercepting and modifying HTTP/HTTPS traffic.
Features
- HTTP/HTTPS proxy with MITM support
- Domain-based request redirection
- URL pattern blocking
- Automatic certificate management
- Cross-platform support (Windows, macOS, Linux)
- System proxy configuration
Installation
Prerequisites
- Go 1.22 or higher
- Git
Building from source
cd firefly-go-proxy
go build
Usage
Basic usage
./firefly-proxy [flags] //linux|macos
./firefly-proxy.exe [flags] //windows
Available Flags
-r: Redirect target host (default: "127.0.0.1:21000")-b: Comma-separated list of blocked ports-e: Path to an executable to run with admin privileges
Examples
-
Start proxy with default settings:
./firefly-proxy //linux|macos ./firefly-proxy.exe //windows -
Redirect traffic to a different host:
./firefly-proxy -r 192.168.1.100:8080 //linux|macos ./firefly-proxy.exe -r 192.168.1.100:8080 //windows -
Block specific ports:
./firefly-proxy -b "80,443,8080" //linux|macos ./firefly-proxy.exe -b "80,443,8080" //windows -
Run an executable with admin privileges:
./firefly-proxy -e "/path/to/your/executable" //linux|macos ./firefly-proxy.exe -e "/path/to/your/executable" //windows
How it works
The proxy intercepts HTTP/HTTPS traffic and can:
- Redirect requests based on domain names
- Block specific URLs or patterns
- Handle SSL/TLS connections with custom CA certificates
- Automatically configure system proxy settings
License
MIT License
PreBuild Version 1.0 - 01
Latest
Languages
Go
97.4%
Makefile
2.6%