嘎妞连接桥(ganiu-bridge)
让手机上的嘎妞 App 通过局域网/公网 HTTP API 遥控这台电脑:执行命令、读写文件、查看系统信息、截图(可选装 Pillow)。
安装
pip install ganiu-bridge
使用
# 从嘎妞 App「设置 → 设备管理」获取设备配对码
ganiu-bridge --token 你的配对码
启动后自动注册到嘎妞后端,手机端即可看到这台电脑。
- 默认端口
18791,可用--port修改 - 零第三方依赖(纯 Python 标准库),Python 3.9+ 即可
- 截图功能(可选):
pip install "ganiu-bridge[screenshot]" - 安全:未配置 token 时仅允许本机回环访问;配置 token 后远程请求需携带
Authorization: Bearer <token>
环境变量
| 变量 | 说明 |
|---|---|
GANIU_BACKEND_URL |
嘎妞后端地址,默认官方后端 |
Metadata
Release files for ganiu-bridge 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ganiu_bridge-1.0.0.tar.gz | 5.7 kB | Without provenance | Details for ganiu_bridge-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ganiu_bridge-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for ganiu_bridge-1.0.0-py3-none-any.whl |
Total release size: 12.5 kB
Release files / ganiu_bridge-1.0.0.tar.gz
| Download URL | ganiu_bridge-1.0.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f00f0fca89dd7a31f00a363b44c0aed600a37d8f126d7b40d378695cc3212a36
|
|
BLAKE2b-256 checksum How to use checksums |
67a7ba6fe5ceea8fba376117bde4c256a7b07c7c09bc391d4f55c98081149e13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Release files / ganiu_bridge-1.0.0-py3-none-any.whl
| Download URL | ganiu_bridge-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d954495bd7293598650ea0d32e5b6bf8e7bb0a5b7516c2e2a4df4c15e12c07bd
|
|
BLAKE2b-256 checksum How to use checksums |
792d2f83282d125bc9a923c3f8b63b6d26e63d450af218a81a663f004357da32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Security for ganiu-bridge 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.