@bifrost-proxy/bifrost-linux-arm 0.0.45-beta → 0.0.47-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,117 @@
1
+ # Bifrost
2
+
3
+ <p align="center">
4
+ <strong>高性能 HTTP/HTTPS/SOCKS5 代理服务器</strong>
5
+ </p>
6
+
7
+ <p align="center">
8
+ <a href="https://github.com/bifrost-proxy/bifrost/actions"><img src="https://github.com/bifrost-proxy/bifrost/workflows/CI/badge.svg" alt="CI Status"></a>
9
+ <a href="https://github.com/bifrost-proxy/bifrost/releases"><img src="https://img.shields.io/github/v/release/bifrost-proxy/bifrost" alt="Release"></a>
10
+ <a href="https://github.com/bifrost-proxy/bifrost/releases"><img src="https://img.shields.io/github/downloads/bifrost-proxy/bifrost/total" alt="Downloads"></a>
11
+ <a href="https://github.com/bifrost-proxy/bifrost/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
12
+ </p>
13
+
14
+ > 帮助文档:<https://bifrost-proxy.github.io/bifrost>
15
+
16
+ Bifrost 是一个用 Rust 编写的高性能代理服务器,灵感来源于 [Whistle](https://github.com/avwo/whistle)。它提供请求拦截、规则修改、TLS 拦截、脚本扩展、流量查看、请求重放以及 Web UI 管理能力。
17
+
18
+ ## 特性说明
19
+
20
+ ![network.png](assets/network.png)
21
+ <img width="1500" height="783" alt="image" src="https://github.com/user-attachments/assets/44062a96-47f3-481b-a2b6-e1bda9b3fda9" />
22
+ ![scripts.png](assets/scripts.png)
23
+ ![rules.png](assets/rules.png)
24
+ ![replay.png](assets/replay.png)
25
+ ![metrics.png](assets/metrics.png)
26
+
27
+ - 高性能代理内核:基于 Tokio + Hyper,支持高并发与连接复用
28
+ - 多协议支持:HTTP/1.1、HTTP/2、HTTP/3、HTTPS、SOCKS5、WebSocket、SSE、gRPC
29
+ - TLS 拦截能力:支持 CA 证书生成、按域名动态签发证书、按规则选择拦截或透传
30
+ - 规则引擎:支持路由、请求/响应改写、注入、延迟、限速、Mock、脚本处理
31
+ - 管理界面:内置 Web UI,支持规则编辑、流量查看、脚本管理、请求重放
32
+ - 资源风险告警:Performance 页与 `/_bifrost/api/system/memory` 会显示 body/ws 文件 writer 占用及接近句柄上限的告警状态
33
+ - 脚本沙箱:基于 QuickJS,支持 `reqScript`、`resScript`、`decode`
34
+
35
+ ## 快速开始
36
+
37
+ 安装 CLI:
38
+
39
+ 方法一:使用脚本安装
40
+ ```bash
41
+ curl -fsSL https://raw.githubusercontent.com/bifrost-proxy/bifrost/main/install-binary.sh | bash
42
+ ```
43
+
44
+ 方法二:使用 npm 安装
45
+ ```bash
46
+ npm i @bifrost-proxy/bifrost
47
+ ```
48
+
49
+ 更多安装方法:[`docs/getting-started.md`](docs/getting-started.md)
50
+
51
+ 启动代理:
52
+
53
+ ```bash
54
+ bifrost start -d
55
+ ```
56
+
57
+ 启动后访问管理端:
58
+
59
+ ```text
60
+ http://127.0.0.1:9900/_bifrost/
61
+ ```
62
+
63
+ ## 用不习惯 CLI?想要使用桌面端 APP?
64
+ 请直接到[releases](https://github.com/bifrost-proxy/bifrost/releases)中下载对应平台的桌面端程序
65
+
66
+ ## 基本用法摘要
67
+
68
+ 常见命令:
69
+
70
+ ```bash
71
+ # 查看状态
72
+ bifrost status
73
+
74
+ # 停止服务
75
+ bifrost stop
76
+
77
+ # 查看流量
78
+ bifrost traffic list
79
+ bifrost traffic search "keyword" --method POST --host api.openai.com --path /v1/responses
80
+ bifrost search "keyword" --req-header
81
+ bifrost search "keyword" --res-body
82
+
83
+ # 添加规则
84
+ bifrost rule add local-dev --content "example.com host://127.0.0.1:3000"
85
+ ```
86
+
87
+ 搜索命令补充说明:
88
+
89
+ - `bifrost search` 与 `bifrost traffic search` 等价
90
+ - 基础过滤支持 `--method`、`--host`、`--path`、`--status`、`--protocol`
91
+ - 搜索范围支持 `--url`、`--req-header`、`--res-header`、`--req-body`、`--res-body`
92
+ - 兼容别名:`--headers` 会同时搜索请求头和响应头,`--body` 会同时搜索请求体和响应体
93
+
94
+ 规则示例:
95
+
96
+ ```txt
97
+ example.com host://127.0.0.1:3000
98
+ api.example.com reqHeaders://x-debug=1
99
+ chatgpt.com http3://
100
+ ```
101
+
102
+ ## 文档索引
103
+
104
+ - 文档总览:[`docs/README.md`](docs/README.md)
105
+ - 项目概览:[`docs/overview.md`](docs/overview.md)
106
+ - 安装与启动:[`docs/getting-started.md`](docs/getting-started.md)
107
+ - CLI 详细命令:[`docs/cli.md`](docs/cli.md)
108
+ - 桌面版安装与构建:[`docs/desktop.md`](docs/desktop.md)
109
+ - 规则语法:[`docs/rule.md`](docs/rule.md)
110
+ - 操作符说明:[`docs/operation.md`](docs/operation.md)
111
+ - 匹配模式:[`docs/pattern.md`](docs/pattern.md)
112
+ - 规则协议手册:[`docs/rules/README.md`](docs/rules/README.md)
113
+ - Scripts 模块与脚本开发:[`docs/scripts.md`](docs/scripts.md)
114
+ - Values 使用说明:[`docs/values.md`](docs/values.md)
115
+ - 请求重放说明:[`docs/replay.md`](docs/replay.md)
116
+ - 项目结构与模块说明:[`docs/architecture.md`](docs/architecture.md)
117
+ - Agent Skill 安装说明:[`docs/agent-skill.md`](docs/agent-skill.md)
package/bin/README.md ADDED
@@ -0,0 +1,117 @@
1
+ # Bifrost
2
+
3
+ <p align="center">
4
+ <strong>高性能 HTTP/HTTPS/SOCKS5 代理服务器</strong>
5
+ </p>
6
+
7
+ <p align="center">
8
+ <a href="https://github.com/bifrost-proxy/bifrost/actions"><img src="https://github.com/bifrost-proxy/bifrost/workflows/CI/badge.svg" alt="CI Status"></a>
9
+ <a href="https://github.com/bifrost-proxy/bifrost/releases"><img src="https://img.shields.io/github/v/release/bifrost-proxy/bifrost" alt="Release"></a>
10
+ <a href="https://github.com/bifrost-proxy/bifrost/releases"><img src="https://img.shields.io/github/downloads/bifrost-proxy/bifrost/total" alt="Downloads"></a>
11
+ <a href="https://github.com/bifrost-proxy/bifrost/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
12
+ </p>
13
+
14
+ > 帮助文档:<https://bifrost-proxy.github.io/bifrost>
15
+
16
+ Bifrost 是一个用 Rust 编写的高性能代理服务器,灵感来源于 [Whistle](https://github.com/avwo/whistle)。它提供请求拦截、规则修改、TLS 拦截、脚本扩展、流量查看、请求重放以及 Web UI 管理能力。
17
+
18
+ ## 特性说明
19
+
20
+ ![network.png](assets/network.png)
21
+ <img width="1500" height="783" alt="image" src="https://github.com/user-attachments/assets/44062a96-47f3-481b-a2b6-e1bda9b3fda9" />
22
+ ![scripts.png](assets/scripts.png)
23
+ ![rules.png](assets/rules.png)
24
+ ![replay.png](assets/replay.png)
25
+ ![metrics.png](assets/metrics.png)
26
+
27
+ - 高性能代理内核:基于 Tokio + Hyper,支持高并发与连接复用
28
+ - 多协议支持:HTTP/1.1、HTTP/2、HTTP/3、HTTPS、SOCKS5、WebSocket、SSE、gRPC
29
+ - TLS 拦截能力:支持 CA 证书生成、按域名动态签发证书、按规则选择拦截或透传
30
+ - 规则引擎:支持路由、请求/响应改写、注入、延迟、限速、Mock、脚本处理
31
+ - 管理界面:内置 Web UI,支持规则编辑、流量查看、脚本管理、请求重放
32
+ - 资源风险告警:Performance 页与 `/_bifrost/api/system/memory` 会显示 body/ws 文件 writer 占用及接近句柄上限的告警状态
33
+ - 脚本沙箱:基于 QuickJS,支持 `reqScript`、`resScript`、`decode`
34
+
35
+ ## 快速开始
36
+
37
+ 安装 CLI:
38
+
39
+ 方法一:使用脚本安装
40
+ ```bash
41
+ curl -fsSL https://raw.githubusercontent.com/bifrost-proxy/bifrost/main/install-binary.sh | bash
42
+ ```
43
+
44
+ 方法二:使用 npm 安装
45
+ ```bash
46
+ npm i @bifrost-proxy/bifrost
47
+ ```
48
+
49
+ 更多安装方法:[`docs/getting-started.md`](docs/getting-started.md)
50
+
51
+ 启动代理:
52
+
53
+ ```bash
54
+ bifrost start -d
55
+ ```
56
+
57
+ 启动后访问管理端:
58
+
59
+ ```text
60
+ http://127.0.0.1:9900/_bifrost/
61
+ ```
62
+
63
+ ## 用不习惯 CLI?想要使用桌面端 APP?
64
+ 请直接到[releases](https://github.com/bifrost-proxy/bifrost/releases)中下载对应平台的桌面端程序
65
+
66
+ ## 基本用法摘要
67
+
68
+ 常见命令:
69
+
70
+ ```bash
71
+ # 查看状态
72
+ bifrost status
73
+
74
+ # 停止服务
75
+ bifrost stop
76
+
77
+ # 查看流量
78
+ bifrost traffic list
79
+ bifrost traffic search "keyword" --method POST --host api.openai.com --path /v1/responses
80
+ bifrost search "keyword" --req-header
81
+ bifrost search "keyword" --res-body
82
+
83
+ # 添加规则
84
+ bifrost rule add local-dev --content "example.com host://127.0.0.1:3000"
85
+ ```
86
+
87
+ 搜索命令补充说明:
88
+
89
+ - `bifrost search` 与 `bifrost traffic search` 等价
90
+ - 基础过滤支持 `--method`、`--host`、`--path`、`--status`、`--protocol`
91
+ - 搜索范围支持 `--url`、`--req-header`、`--res-header`、`--req-body`、`--res-body`
92
+ - 兼容别名:`--headers` 会同时搜索请求头和响应头,`--body` 会同时搜索请求体和响应体
93
+
94
+ 规则示例:
95
+
96
+ ```txt
97
+ example.com host://127.0.0.1:3000
98
+ api.example.com reqHeaders://x-debug=1
99
+ chatgpt.com http3://
100
+ ```
101
+
102
+ ## 文档索引
103
+
104
+ - 文档总览:[`docs/README.md`](docs/README.md)
105
+ - 项目概览:[`docs/overview.md`](docs/overview.md)
106
+ - 安装与启动:[`docs/getting-started.md`](docs/getting-started.md)
107
+ - CLI 详细命令:[`docs/cli.md`](docs/cli.md)
108
+ - 桌面版安装与构建:[`docs/desktop.md`](docs/desktop.md)
109
+ - 规则语法:[`docs/rule.md`](docs/rule.md)
110
+ - 操作符说明:[`docs/operation.md`](docs/operation.md)
111
+ - 匹配模式:[`docs/pattern.md`](docs/pattern.md)
112
+ - 规则协议手册:[`docs/rules/README.md`](docs/rules/README.md)
113
+ - Scripts 模块与脚本开发:[`docs/scripts.md`](docs/scripts.md)
114
+ - Values 使用说明:[`docs/values.md`](docs/values.md)
115
+ - 请求重放说明:[`docs/replay.md`](docs/replay.md)
116
+ - 项目结构与模块说明:[`docs/architecture.md`](docs/architecture.md)
117
+ - Agent Skill 安装说明:[`docs/agent-skill.md`](docs/agent-skill.md)
package/bin/bifrost CHANGED
Binary file
package/package.json CHANGED
@@ -1,12 +1,29 @@
1
1
  {
2
2
  "name": "@bifrost-proxy/bifrost-linux-arm",
3
- "version": "0.0.45-beta",
3
+ "version": "0.0.47-beta",
4
4
  "description": "Bifrost CLI binary for Linux ARM",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/bifrost-proxy/bifrost"
9
9
  },
10
+ "keywords": [
11
+ "proxy",
12
+ "bifrost",
13
+ "whistle",
14
+ "charles",
15
+ "fiddler",
16
+ "mitmproxy",
17
+ "postman",
18
+ "http",
19
+ "socks5",
20
+ "websocket",
21
+ "mitm",
22
+ "capture",
23
+ "mock",
24
+ "network",
25
+ "devtools"
26
+ ],
10
27
  "os": [
11
28
  "linux"
12
29
  ],
@@ -17,6 +34,7 @@
17
34
  "glibc"
18
35
  ],
19
36
  "files": [
20
- "bin/bifrost"
37
+ "bin/bifrost",
38
+ "README.md"
21
39
  ]
22
40
  }