Files
coruna-lab/README.md
T
hashbro ea0be57180 init
2026-08-04 05:00:42 +08:00

66 lines
1.9 KiB
Markdown
Raw Blame History

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.
# coruna-lab
启动 / 验证 Coruna 链路所需的最小文件树。内容从 `coruna-online` **复制**而来,按线上 URL 路径放置。
```text
coruna-lab/
├── source/ # 只读模板(campaign 原样,勿 patch)
│ ├── web/34f5121f572d6742703eb84ec2f866a6/
│ └── sync/
├── web/… # 工作副本(由脚本从 source 复制后再 patch)
├── sync/
├── out/seeds.json, domains.json
├── doc/
├── tools/
└── MANIFEST.json
```
线上 base(模板同源):
```text
https://www.dhxuhdbej888.icu/web/34f5121f572d6742703eb84ec2f866a6/
```
## 新建 / 刷新工作树(推荐)
从 `source/` 复制 `web` + `sync` 到 **lab 根目录**,再自动 `patch_all.py --apply`(换 Deployment/Reporting seed,打出新域名):
```bash
cd coruna-lab
pip3 install py7zr pycryptodome
python3 tools/new_project.py
# 指定 seed:
python3 tools/new_project.py --deployment-seed … --reporting-seed …
```
域名见 `out/domains.json`。本地服务:
```bash
python3 -m http.server 8765 --bind 0.0.0.0
# 入口:
# http://<lan-ip>:8765/web/34f5121f572d6742703eb84ec2f866a6/support.html
```
## 文档
| 文档 | 内容 |
|------|------|
| [`doc/STAGE_JS.md`](doc/STAGE_JS.md) | 入口 + Stage JS;对标 `coruna/` |
| [`doc/NATIVE_PACKS.md`](doc/NATIVE_PACKS.md) | 一级 / 二级包路径、联系、清单 |
| [`doc/SYNC.md`](doc/SYNC.md) | `daily.html` + 26 个业务模块 |
| [`tools/README.md`](tools/README.md) | 替换 seed、重建二级包/core、计算 DGA 域名 |
## 链路(极简)
```text
support.html → Stage1/2/3 → 一级包 (.js) → (0x07) → 二级 type-0x01 (.min.js)
→ Deployment DGA → /sync/daily.html → 26 模块
```
## 其它
- 来源索引:`MANIFEST.json`
- 分析报告:`coruna-online/docs/`
- **不要**对 `source/` 跑 `--apply`;只改根目录 `web/` / `sync/`