feat: update build workflow, enhance README, and modify license for version 1.4-01
Build and Release / release (push) Successful in 1m36s

This commit is contained in:
2026-06-22 11:23:22 +07:00
parent 7c3d96f1db
commit 8264f356a7
18 changed files with 417 additions and 401 deletions
+68 -68
View File
@@ -1,42 +1,42 @@
# 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)
# 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
- Automatic admin prompt on macOS/Linux for certificate/proxy setup
## Installation
### Prerequisites
- Go 1.22 or higher
- Git
### Building from source
```bash
cd firefly-go-proxy
go build
```
## Usage
### Basic usage
```bash
./firefly-proxy [flags] //linux|macos
./firefly-proxy.exe [flags] //windows
```
### Available Flags
### Prerequisites
- Go 1.22 or higher
- Git
### Building from source
```bash
cd firefly-go-proxy
go build
```
## Usage
### Basic usage
```bash
./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
- `-p`: Proxy listen port (default: auto)
@@ -44,25 +44,25 @@ go build
- `-no-sys`: Run only the proxy server; skip certificate installation, system proxy setup, and macOS/Linux admin relaunch
### Examples
1. Start proxy with default settings:
```bash
./firefly-proxy //linux|macos
./firefly-proxy.exe //windows
```
2. Redirect traffic to a different host:
```bash
./firefly-proxy -r 192.168.1.100:8080 //linux|macos
./firefly-proxy.exe -r 192.168.1.100:8080 //windows
```
3. Block specific ports:
```bash
./firefly-proxy -b "80,443,8080" //linux|macos
./firefly-proxy.exe -b "80,443,8080" //windows
```
1. Start proxy with default settings:
```bash
./firefly-proxy //linux|macos
./firefly-proxy.exe //windows
```
2. Redirect traffic to a different host:
```bash
./firefly-proxy -r 192.168.1.100:8080 //linux|macos
./firefly-proxy.exe -r 192.168.1.100:8080 //windows
```
3. Block specific ports:
```bash
./firefly-proxy -b "80,443,8080" //linux|macos
./firefly-proxy.exe -b "80,443,8080" //windows
```
4. Run an executable with admin privileges:
```bash
./firefly-proxy -e "/path/to/your/executable" //linux|macos
@@ -82,17 +82,17 @@ go build
./firefly-proxy -no-sys -p 8888 //linux|macos
./firefly-proxy.exe -no-sys -p 8888 //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
## 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