Clone
1
Home
Mr.Lee edited this page 2026-11-27 06:53:56 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SideRelay 镜像同步记录与项目分析

维护说明:本页由 gitea-mirror-wiki 技能生成(2026-11-27 06:53),记录该仓库在 GPD Gitea 的镜像状态与代码速览。Wiki 属于本地维护内容,不来自上游,也不受 8 小时同步影响。 补写说明:本页属于历史仓库批量补写,未逐仓保留当时的迁移耗时等操作日志;下列同步信息以当前数据库与裸仓实测状态为准。

一、仓库概况

项目 值
上游 https://github.com/arkemys-consulting/SideRelay.git
本地镜像 http://192.168.1.99:3000/jarod/siderelay
公网入口 https://git.lxj.ai/jarod/siderelay
状态 活跃镜像(8 小时自动同步)
默认分支 main
仓库大小 约 4.6 MB(DB 4827215 字节;裸仓约 5634 KB)
refs 1 分支 / 22 标签 / HEAD 历史 35 提交
建立时间 2026-11-17 09:59:09
描述 Discover, sign, install, and auto-refresh iPhone and iPad apps on macOS or with Docker on Linux. (mirror of arkemys-consulting/SideRelay)

二、同步过程与当前状态

迁移方式(平台统一流程)

  • POST /api/v1/repos/migrate,mirror:true、mirror_interval:"8h0m0s"、private:false,origin 指向官方 GitHub
  • 代理链路:mihomo 127.0.0.1:7890 → gitea-proxy-bridge.service(0.0.0.0:17890)→ 容器 HTTP_PROXY/HTTPS_PROXY 环境变量;gitconfig 对 Gitea 无效
  • 超时:app.ini [git.timeout] MIRROR=3600 / MIGRATE=14400;>500MB 用后台、>1GB 看代理节点质量、>3GB 需宿主分批 fetch + 本地接管

当前校验状态

检查项 结果
is_mirror / is_empty 1 / 0
HEAD refs/heads/main → 2332bde
remote.origin.url https://github.com/arkemys-consulting/SideRelay.git
remote.origin.fetch +refs/*:refs/* / +refs/tags/*:refs/tags/*
自动同步排期 updated 2026-11-27 03:03:12 → next 2026-11-27 11:03:12

页面验证:GET /jarod/siderelay/wiki 返回 200 即表示 Wiki 裸仓已被 Gitea 正确识别。

三、项目功能速览

README 来源:README.md

Run SideRelay as a macOS app or as a Docker service on Linux. Browse the Store, install apps on your iPhone or iPad, and automatically renew their signatures over Tailscale, even when you’re on a different Wi-Fi network.
 
## What you can do
## On every screen
### iPhone
Open **Apps** to check expiry dates, refresh a signature, or launch a LiveContainer app. Use **Apps → Apple TV** to browse apps on a linked Apple TV, send an IPA from Files, and follow its installation from your iPhone.
### Apple TV
In the macOS app or Docker portal, open **Store → Apple TV** to browse and search the [tvOS catalogue](Interface/StoreTV.json). On Apple TV, pick an app with the Siri Remote, open **Signatures** to check expiry, or run compatible tvOS apps in **TVContainer**.
Choose **Install in TVContainer** when reviewing a compatible tvOS IPA. SideRelay sends it to the paired Apple TV and confirms the import in the macOS app or the Docker portal. Docker uses the [Mac helper for OrbStack](docs/DOCKER.md#install-and-refresh-apple-tv-apps-through-orbstack). [TVContainer 
- **Apps Library.** Keep older builds, install multiple IPAs as a batch, and restore a saved build when you need it.
- **Backup and restore.** Move your IPA library, Store sources, and Auto-Refresh preferences between macOS and Docker with a password-protected backup under **Settings → Backup**. Reconnect your Apple Accounts and pair your devices after restoring.
- **IPA Workshop.** Inspect entitlements and provisioning, export signed builds, or customize a compatible IPA before signing.
- **Signing diagnostics.** See Apple’s App ID quota, review unused IDs, and check certificates or installation logs from **Activity**.
- **Store sources.** Browse the [bundled iPhone catalogue](Interface/Store2026.json), add [AltStore-compatible feeds](Interface/StoreSources.json), and find screenshots, release notes, and version history supplied by publishers.

检出的技术栈 / 构建信号:GitHub Actions CI、Docker 镜像、Rust

顶层目录:(根目录)、.github、Compagnon、Interface、docs、moteur

四、代码安全快检(自动)

  • password|secret|token|api_key|private_key|access_key 命中 393 处;此类命中多为变量名、UI 文案或协议字段,需人工复核,不等于存在凭据泄露。
  • 敏感文件(.env / *.pem / *.p12 / 私钥 / credentials 等):未检出
  • 硬编码 PEM 私钥:未检出
  • 危险脚本模式(curl|bash / eval / base64 -d / chmod 777):未检出

五、风险提示

  1. 自动快检只覆盖常见模式,不替代人工审计;部署前核对依赖来源、锁文件与 CI 中的 ${{ secrets.* }} 用法。
  2. 远程控制 / Agent / 文件上传 / 解析外部文档类项目,优先放在内网隔离环境,避免直接暴露公网。
  3. 注意许可证(GPL / AGPL 等)对二次分发与闭源集成的约束。

六、维护约定

  • Gitea 对 is_mirror=1 的仓库禁止 Wiki API / UI 写入(POST .../wiki/pages 返回 405),但读正常;本页由服务端直接维护 <repo>.wiki.git 裸仓。
  • 更新方式:临时 chown -R root:root,用 hash-object -w + mktree + commit-tree + update-ref 提交,最后 chown -R 1000:1000;root 直接 git clone 会触发 dubious ownership。
  • Wiki 是独立裸仓,8 小时 mirror-sync --prune 只操作主裸仓,不会影响本页;删除并重建仓库会连带删除 Wiki,Gitea 迁移/备份时须单独带上 .wiki.git。
  • 每次人工发起的镜像同步完成后,按 gitea-mirror-wiki 技能更新本页;后台自动同步不重复生成。