chore: 导入旧记忆备份供恢复

This commit is contained in:
2026-09-23 22:38:40 +08:00
parent 5313fcee7a
commit 6a6a895eaf
638 changed files with 29816 additions and 1 deletions
@@ -0,0 +1,44 @@
---
title: 目录结构与关键文件
type: fact
permalink: main/projects/6f47523e-e22e-4cdd-bd18-76e5e474ee0c/目录结构与关键文件
stable_id: aecf7e99-3d31-4d3f-ada5-928eee77c95b
scope: project
memory_type: fact
project_id: 6f47523e-e22e-4cdd-bd18-76e5e474ee0c
usage_profile_id: 7aee455b-24cc-4008-bdaf-443721e6f939
status: active
revision: 1
request_id: migrate-fact-02
created_at: '2026-08-12T17:19:28.494219+00:00'
updated_at: '2026-08-12T17:19:28.494219+00:00'
tags:
- structure
- files
---
```
start.py 前后端一键启动(Uvicorn 9001 + Vite 9000)
web/server/main.py FastAPI 后端(~1082 行):配置、构建、日志、产物
web/server/catalog.py 软件目录同步逻辑
web/frontend/src/App.vue Vue 前端主界面(~1495 行)
scripts/build-docker.ps1 Windows Docker 启动脚本
scripts/build.sh 容器内 OpenWrt 构建主流程
scripts/build_config.py 配置转换(~1192 行):JSON → .config、UCI defaults
scripts/patch_ax9000.py AX9000 分区、DTS、升级和内核补丁
scripts/docker-entrypoint.sh 容器入口,gosu 切换 builder 用户
Dockerfile Ubuntu 24.04 构建镜像定义
docker-compose.yml 简化的 Compose 入口
profiles/ax9000/ 设备配置目录
profile.env TARGET_DIR、DEVICE_ID、OPENWRT_REPO
seed.config 基础 Kconfig
presets.json 主题、Web 服务器、代理、防火墙预设
feeds.json 默认编译 feeds
packages.list 基础软件包列表
default-options.json 前端默认选项
package-catalog.json 精选软件目录
kernel-patches/ EMC2305 风扇内核补丁
packages/ 本地 OpenWrt 包(luci-app-ax900-hardware)
.runtime/ 运行时缓存(已 gitignore)
outputs/ax9000/ 构建产物(已 gitignore)
```