mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-12-02 02:49:57 +08:00
Table of Contents
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.
stremio-web 镜像同步记录与项目分析
维护说明:本页由
gitea-mirror-wiki技能生成(2026-11-27 06:53),记录该仓库在 GPD Gitea 的镜像状态与代码速览。Wiki 属于本地维护内容,不来自上游,也不受 8 小时同步影响。 补写说明:本页属于历史仓库批量补写,未逐仓保留当时的迁移耗时等操作日志;下列同步信息以当前数据库与裸仓实测状态为准。
一、仓库概况
| 项目 | 值 |
|---|---|
| 上游 | https://github.com/Stremio/stremio-web.git |
| 本地镜像 | http://192.168.1.99:3000/jarod/stremio-web |
| 公网入口 | https://git.lxj.ai/jarod/stremio-web |
| 状态 | 活跃镜像(8 小时自动同步) |
| 默认分支 | development |
| 仓库大小 | 约 2006.6 MB(DB 2104050859 字节;裸仓约 2056878 KB) |
| refs | 25 分支 / 72 标签 / HEAD 历史 7265 提交 |
| 建立时间 | 2026-11-24 03:01:09 |
| 描述 | Stremio Web 官方仓库镜像(GitHub: Stremio/stremio-web) |
二、同步过程与当前状态
迁移方式(平台统一流程)
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/development → 39897a627 |
| remote.origin.url | https://github.com/Stremio/stremio-web.git |
| remote.origin.fetch | +refs/*:refs/* / +refs/tags/*:refs/tags/* |
| 自动同步排期 | updated 2026-11-27 05:03:31 → next 2026-11-27 13:03:31 |
页面验证:
GET /jarod/stremio-web/wiki返回 200 即表示 Wiki 裸仓已被 Gitea 正确识别。
三、项目功能速览
README 来源:README.md
# Stremio Web
**Freedom to Stream** — the official web UI of [Stremio](https://www.stremio.com), a modern media center that's a one-stop solution for your video entertainment.
## ✨ Features
- 🧩 **Addon-powered** — discover movies, series and channels from catalogs provided by [addons](https://web.stremio.com/#/addons)
- 🔄 **Sync everywhere** — your library and Continue Watching follow your Stremio account across devices
- 📺 **Casting** — play on the big screen via Chromecast
- 💬 **Subtitles** — addon-provided or local, with customizable styling
- ⌨️ **Keyboard-first player** — full playback control without touching the mouse
- 🌍 **50+ languages** — community-translated via [stremio-translations](https://github.com/Stremio/stremio-translations)
- 📱 **Installable** — runs as a standalone PWA
## 📸 Screenshots
## 🛠 How it works
The UI (this repo) is a React app, but the brains live in [stremio-core](https://github.com/Stremio/stremio-core) — Stremio's Rust engine compiled to WebAssembly and running in a Web Worker. The UI renders state, the core computes it. Playback goes through [stremio-video](https://github.com/Stremio/
```mermaid
检出的技术栈 / 构建信号:GitHub Actions CI、Docker 镜像、Node.js / 前端(npm)、pnpm 锁文件、TypeScript
顶层目录:(根目录)、.github、.well-known、assets、src、tests
维护记录补充:1.83GB 大仓。11-23 在坏代理节点下 5 次全败,11-24 节点漂移成优质节点后同法 2263s 迁移成功 —— 大仓成败主要取决于 mihomo 当前节点质量,不是链路硬限制。
四、代码安全快检(自动)
- 本仓库体积较大(>500 MB)或扫描超时,采用轻量模式:跳过全树关键词扫描,仅做文件名与结构检查,需人工复核。
- 敏感文件(
.env/*.pem/*.p12/ 私钥 / credentials 等):未检出 - 硬编码 PEM 私钥:未完成扫描
- 危险脚本模式(
curl|bash/eval/base64 -d/chmod 777):未完成扫描
五、风险提示
- 自动快检只覆盖常见模式,不替代人工审计;部署前核对依赖来源、锁文件与 CI 中的
${{ secrets.* }}用法。 - 远程控制 / Agent / 文件上传 / 解析外部文档类项目,优先放在内网隔离环境,避免直接暴露公网。
- 注意许可证(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技能更新本页;后台自动同步不重复生成。