diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b276781..9834273 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -102,10 +102,10 @@ jobs:
mkdir -p release
# 打包前端构建产物
- tar -czf release/xcodereviewer-frontend-${{ steps.version.outputs.VERSION }}.tar.gz -C frontend/dist .
+ tar -czf release/deepaudit-frontend-${{ steps.version.outputs.VERSION }}.tar.gz -C frontend/dist .
# 打包后端源码
- tar -czf release/xcodereviewer-backend-${{ steps.version.outputs.VERSION }}.tar.gz \
+ tar -czf release/deepaudit-backend-${{ steps.version.outputs.VERSION }}.tar.gz \
--exclude=backend/.venv \
--exclude=backend/.env \
--exclude=backend/__pycache__ \
@@ -113,7 +113,7 @@ jobs:
backend/
# 打包 Docker 配置文件
- tar -czf release/xcodereviewer-docker-${{ steps.version.outputs.VERSION }}.tar.gz \
+ tar -czf release/deepaudit-docker-${{ steps.version.outputs.VERSION }}.tar.gz \
docker-compose.yml \
backend/Dockerfile \
backend/.dockerignore \
@@ -124,7 +124,7 @@ jobs:
frontend/.env.example
# 打包完整源码(包括配置文件)
- tar -czf release/xcodereviewer-source-${{ steps.version.outputs.VERSION }}.tar.gz \
+ tar -czf release/deepaudit-source-${{ steps.version.outputs.VERSION }}.tar.gz \
--exclude=frontend/node_modules \
--exclude=frontend/dist \
--exclude=backend/.venv \
@@ -160,15 +160,15 @@ jobs:
echo "## 📦 下载说明" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "### 构建产物" >> CHANGELOG.md
- echo "- \`xcodereviewer-frontend-*.tar.gz\`: 前端构建产物(用于生产部署)" >> CHANGELOG.md
- echo "- \`xcodereviewer-backend-*.tar.gz\`: 后端源码包" >> CHANGELOG.md
- echo "- \`xcodereviewer-docker-*.tar.gz\`: Docker 配置文件" >> CHANGELOG.md
- echo "- \`xcodereviewer-source-*.tar.gz\`: 完整源码包" >> CHANGELOG.md
+ echo "- \`deepaudit-frontend-*.tar.gz\`: 前端构建产物(用于生产部署)" >> CHANGELOG.md
+ echo "- \`deepaudit-backend-*.tar.gz\`: 后端源码包" >> CHANGELOG.md
+ echo "- \`deepaudit-docker-*.tar.gz\`: Docker 配置文件" >> CHANGELOG.md
+ echo "- \`deepaudit-source-*.tar.gz\`: 完整源码包" >> CHANGELOG.md
echo "- \`checksums.txt\`: 文件校验和" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "### Docker 镜像" >> CHANGELOG.md
- echo "- Frontend: \`ghcr.io/${{ github.repository_owner }}/xcodereviewer-frontend:${{ steps.version.outputs.VERSION }}\`" >> CHANGELOG.md
- echo "- Backend: \`ghcr.io/${{ github.repository_owner }}/xcodereviewer-backend:${{ steps.version.outputs.VERSION }}\`" >> CHANGELOG.md
+ echo "- Frontend: \`ghcr.io/${{ github.repository_owner }}/deepaudit-frontend:${{ steps.version.outputs.VERSION }}\`" >> CHANGELOG.md
+ echo "- Backend: \`ghcr.io/${{ github.repository_owner }}/deepaudit-backend:${{ steps.version.outputs.VERSION }}\`" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "### 快速部署" >> CHANGELOG.md
echo "\`\`\`bash" >> CHANGELOG.md
@@ -216,8 +216,8 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
- ghcr.io/${{ github.repository_owner }}/xcodereviewer-frontend:${{ steps.version.outputs.VERSION }}
- ghcr.io/${{ github.repository_owner }}/xcodereviewer-frontend:latest
+ ghcr.io/${{ github.repository_owner }}/deepaudit-frontend:${{ steps.version.outputs.VERSION }}
+ ghcr.io/${{ github.repository_owner }}/deepaudit-frontend:latest
cache-from: type=gha,scope=frontend
cache-to: type=gha,mode=max,scope=frontend
@@ -230,8 +230,8 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
- ghcr.io/${{ github.repository_owner }}/xcodereviewer-backend:${{ steps.version.outputs.VERSION }}
- ghcr.io/${{ github.repository_owner }}/xcodereviewer-backend:latest
+ ghcr.io/${{ github.repository_owner }}/deepaudit-backend:${{ steps.version.outputs.VERSION }}
+ ghcr.io/${{ github.repository_owner }}/deepaudit-backend:latest
cache-from: type=gha,scope=backend
cache-to: type=gha,mode=max,scope=backend
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f8d8452..287cc85 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,6 +1,6 @@
# 贡献指南
-感谢你对 XCodeReviewer 的关注!我们热烈欢迎所有形式的贡献,无论是提交 Issue、创建 PR,还是改进文档。
+感谢你对 DeepAudit 的关注!我们热烈欢迎所有形式的贡献,无论是提交 Issue、创建 PR,还是改进文档。
## 目录
@@ -23,7 +23,7 @@
### 报告 Bug
-1. 先搜索 [Issues](https://github.com/lintsinghua/XCodeReviewer/issues) 确认问题未被报告
+1. 先搜索 [Issues](https://github.com/lintsinghua/DeepAudit/issues) 确认问题未被报告
2. 创建新 Issue,使用 Bug 报告模板
3. 提供详细信息:
- 操作系统和版本
@@ -74,10 +74,10 @@
```bash
# 使用 Docker 启动 PostgreSQL(推荐)
docker run -d \
- --name xcodereviewer-db \
+ --name deepaudit-db \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
- -e POSTGRES_DB=xcodereviewer \
+ -e POSTGRES_DB=deepaudit \
-p 5432:5432 \
postgres:15-alpine
```
@@ -224,11 +224,11 @@ git commit -m "refactor(api): simplify error handling"
```bash
# Fork 项目到你的 GitHub 账号
# 然后克隆到本地
-git clone https://github.com/YOUR_USERNAME/XCodeReviewer.git
-cd XCodeReviewer
+git clone https://github.com/YOUR_USERNAME/DeepAudit.git
+cd DeepAudit
# 添加上游仓库
-git remote add upstream https://github.com/lintsinghua/XCodeReviewer.git
+git remote add upstream https://github.com/lintsinghua/DeepAudit.git
```
### 2. 创建分支
@@ -282,7 +282,7 @@ git push origin feature/your-feature-name
## 项目结构
```
-XCodeReviewer/
+DeepAudit/
├── backend/ # 后端 (FastAPI)
│ ├── app/
│ │ ├── api/ # API 路由
@@ -313,7 +313,7 @@ XCodeReviewer/
感谢所有贡献者的付出!
-[](https://github.com/lintsinghua/XCodeReviewer/graphs/contributors)
+[](https://github.com/lintsinghua/DeepAudit/graphs/contributors)
---
@@ -321,5 +321,5 @@ XCodeReviewer/
如有问题,请通过以下方式联系:
-- [GitHub Issues](https://github.com/lintsinghua/XCodeReviewer/issues)
+- [GitHub Issues](https://github.com/lintsinghua/DeepAudit/issues)
- 邮箱: lintsinghua@qq.com
diff --git a/DISCLAIMER.md b/DISCLAIMER.md
index 4d57b10..3fc3881 100644
--- a/DISCLAIMER.md
+++ b/DISCLAIMER.md
@@ -212,7 +212,7 @@ MIT 许可证明确声明软件按"原样"提供,不提供任何形式的担
如有疑问,请通过以下方式联系维护者:
-- **GitHub Issues**: [https://github.com/lintsinghua/XCodeReviewer/issues](https://github.com/lintsinghua/XCodeReviewer/issues)
+- **GitHub Issues**: [https://github.com/lintsinghua/DeepAudit/issues](https://github.com/lintsinghua/DeepAudit/issues)
- **邮箱**: lintsinghua@qq.com
---
diff --git a/README.md b/README.md
index c77459f..f4b1036 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,23 @@
-# XCodeReviewer - 您的智能代码审计伙伴 🚀
+# DeepAudit - 您的智能代码审计伙伴 🚀
> 多Agent、PR批量自动审计版本正在开发中,敬请期待......
-

+
-[](https://github.com/lintsinghua/XCodeReviewer/releases)
+[](https://github.com/lintsinghua/DeepAudit/releases)
[](https://opensource.org/licenses/MIT)
[](https://reactjs.org/)
[](https://www.typescriptlang.org/)
[](https://fastapi.tiangolo.com/)
[](https://www.python.org/)
-[](https://deepwiki.com/lintsinghua/XCodeReviewer)
+[](https://deepwiki.com/lintsinghua/DeepAudit)
-[](https://github.com/lintsinghua/XCodeReviewer/stargazers)
-[](https://github.com/lintsinghua/XCodeReviewer/network/members)
+[](https://github.com/lintsinghua/DeepAudit/stargazers)
+[](https://github.com/lintsinghua/DeepAudit/network/members)
@@ -30,7 +30,7 @@
- 😰 安全漏洞藏得太深,上线后才发现问题
- 🥺 想用 AI 辅助审计,但配置复杂、门槛太高
-**XCodeReviewer 来拯救你!** 🦸♂️
+**DeepAudit 来拯救你!** 🦸♂️
我们将 10+ 主流大模型的智慧注入代码审计,让你像和资深安全专家对话一样,轻松发现代码中的安全隐患、性能瓶颈和潜在 Bug。
@@ -85,7 +85,7 @@ JSON、PDF 格式随心选,审计报告直接交付,省去整理时间。
```bash
# 1️⃣ 克隆项目
-git clone https://github.com/lintsinghua/XCodeReviewer.git && cd XCodeReviewer
+git clone https://github.com/lintsinghua/DeepAudit.git && cd DeepAudit
# 2️⃣ 配置你的 LLM API Key
cp backend/env.example backend/.env
@@ -157,12 +157,12 @@ docker-compose up -d
**感谢每一位贡献者!**
-[](https://github.com/lintsinghua/XCodeReviewer/graphs/contributors)
+[](https://github.com/lintsinghua/DeepAudit/graphs/contributors)
## 📞 联系我们
-- **项目链接**: [https://github.com/lintsinghua/XCodeReviewer](https://github.com/lintsinghua/XCodeReviewer)
-- **问题反馈**: [Issues](https://github.com/lintsinghua/XCodeReviewer/issues)
+- **项目链接**: [https://github.com/lintsinghua/DeepAudit](https://github.com/lintsinghua/DeepAudit)
+- **问题反馈**: [Issues](https://github.com/lintsinghua/DeepAudit/issues)
- **作者邮箱**: lintsinghua@qq.com(合作请注明来意)
---
@@ -175,18 +175,18 @@ docker-compose up -d
## 📈 项目统计
-
+
-
-
-
+
+
+

diff --git a/SECURITY.md b/SECURITY.md
index 132c226..fec322b 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -52,10 +52,10 @@
1. **邮箱报告(推荐)**
- 发送邮件至: lintsinghua@qq.com
- - 邮件标题请注明: `[Security] XCodeReviewer 安全漏洞报告`
+ - 邮件标题请注明: `[Security] DeepAudit 安全漏洞报告`
2. **GitHub Issues**
- - 地址: [GitHub Issues](https://github.com/lintsinghua/XCodeReviewer/issues)
+ - 地址: [GitHub Issues](https://github.com/lintsinghua/DeepAudit/issues)
- ⚠️ **请勿公开披露敏感漏洞详情**
- 仅描述漏洞类型,详细信息请通过邮件发送
diff --git a/backend/app/core/config.py b/backend/app/core/config.py
index 4b990e9..dec1be9 100644
--- a/backend/app/core/config.py
+++ b/backend/app/core/config.py
@@ -4,7 +4,7 @@ from pydantic_settings import BaseSettings
class Settings(BaseSettings):
- PROJECT_NAME: str = "XCodeReviewer"
+ PROJECT_NAME: str = "DeepAudit"
API_V1_STR: str = "/api/v1"
# SECURITY
@@ -27,7 +27,7 @@ class Settings(BaseSettings):
POSTGRES_SERVER: str = "db"
POSTGRES_USER: str = "postgres"
POSTGRES_PASSWORD: str = "postgres"
- POSTGRES_DB: str = "xcodereviewer"
+ POSTGRES_DB: str = "deepaudit"
DATABASE_URL: str | None = None
@validator("DATABASE_URL", pre=True)
diff --git a/backend/app/main.py b/backend/app/main.py
index 79ba86f..0acce2b 100644
--- a/backend/app/main.py
+++ b/backend/app/main.py
@@ -19,7 +19,7 @@ async def lifespan(app: FastAPI):
应用生命周期管理
启动时初始化数据库(创建默认账户等)
"""
- logger.info("XCodeReviewer 后端服务启动中...")
+ logger.info("DeepAudit 后端服务启动中...")
# 初始化数据库(创建默认账户)
# 注意:需要先运行 alembic upgrade head 创建表结构
@@ -36,7 +36,7 @@ async def lifespan(app: FastAPI):
logger.warning(f"数据库初始化跳过: {e}")
logger.info("=" * 50)
- logger.info("XCodeReviewer 后端服务已启动")
+ logger.info("DeepAudit 后端服务已启动")
logger.info(f"API 文档: http://localhost:8000/docs")
logger.info("=" * 50)
logger.info("演示账户: demo@example.com / demo123")
@@ -44,7 +44,7 @@ async def lifespan(app: FastAPI):
yield
- logger.info("XCodeReviewer 后端服务已关闭")
+ logger.info("DeepAudit 后端服务已关闭")
app = FastAPI(
@@ -73,7 +73,7 @@ async def health_check():
@app.get("/")
async def root():
return {
- "message": "Welcome to XCodeReviewer API",
+ "message": "Welcome to DeepAudit API",
"docs": "/docs",
"demo_account": {
"email": "demo@example.com",
diff --git a/backend/app/services/report_generator.py b/backend/app/services/report_generator.py
index 3a5d5fd..a440fcf 100644
--- a/backend/app/services/report_generator.py
+++ b/backend/app/services/report_generator.py
@@ -40,7 +40,7 @@ class ReportGenerator:
vertical-align: middle;
}
@top-right {
- content: "XCodeReviewer Audit Report";
+ content: "DeepAudit Audit Report";
font-size: 8pt;
color: #666;
font-family: sans-serif;
diff --git a/backend/env.example b/backend/env.example
index 9729d34..e798ed4 100644
--- a/backend/env.example
+++ b/backend/env.example
@@ -1,5 +1,5 @@
# =============================================
-# XCodeReviewer Backend 配置文件
+# DeepAudit Backend 配置文件
# =============================================
# 复制此文件为 .env 并填入实际配置
# 详细说明请参阅 docs/CONFIGURATION.md
@@ -12,10 +12,10 @@
POSTGRES_SERVER=localhost
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
-POSTGRES_DB=xcodereviewer
+POSTGRES_DB=deepaudit
# 完整数据库连接字符串(可选,会覆盖上述配置)
-# DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost/xcodereviewer
+# DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost/deepaudit
# =============================================
# 安全配置
diff --git a/backend/main.py b/backend/main.py
index a315974..a5cd78a 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -1,5 +1,5 @@
def main():
- print("Hello from xcodereviewer-backend!")
+ print("Hello from deepaudit-backend!")
if __name__ == "__main__":
diff --git a/backend/pyproject.toml b/backend/pyproject.toml
index c3fad98..71df2a3 100644
--- a/backend/pyproject.toml
+++ b/backend/pyproject.toml
@@ -1,7 +1,7 @@
[project]
-name = "xcodereviewer-backend"
+name = "deepaudit-backend"
version = "0.1.0"
-description = "XCodeReviewer Backend API"
+description = "DeepAudit Backend API"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.100.0",
diff --git a/backend/start.sh b/backend/start.sh
index b5b72ea..3489a58 100755
--- a/backend/start.sh
+++ b/backend/start.sh
@@ -3,7 +3,7 @@
set -e
-echo "🚀 启动 XCodeReviewer 后端服务..."
+echo "🚀 启动 DeepAudit 后端服务..."
# 检查 uv 是否安装
if ! command -v uv &> /dev/null; then
diff --git a/backend/test_logo.py b/backend/test_logo.py
index 161a9b3..2b1d388 100644
--- a/backend/test_logo.py
+++ b/backend/test_logo.py
@@ -9,8 +9,8 @@ def test_logo_read():
# 假设脚本在 backend/app/services/test_logo.py
# 直接使用绝对路径进行测试,排除相对路径计算干扰
- project_root = "/Users/lintsinghua/XCodeReviewer"
- logo_path = os.path.join(project_root, 'frontend/public/logo_xcodereviewer.png')
+ project_root = "/Users/lintsinghua/DeepAudit"
+ logo_path = os.path.join(project_root, 'frontend/public/logo_deepaudit.png')
print(f"Looking for logo at: {logo_path}")
diff --git a/backend/uv.lock b/backend/uv.lock
index cb768bd..59900c4 100644
--- a/backend/uv.lock
+++ b/backend/uv.lock
@@ -2012,7 +2012,7 @@ wheels = [
]
[[package]]
-name = "xcodereviewer-backend"
+name = "deepaudit-backend"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
diff --git a/docker-compose.yml b/docker-compose.yml
index 55d2bfd..2eaf4f3 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -6,7 +6,7 @@ services:
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- - POSTGRES_DB=xcodereviewer
+ - POSTGRES_DB=deepaudit
ports:
- "5432:5432"
healthcheck:
@@ -15,7 +15,7 @@ services:
timeout: 5s
retries: 5
networks:
- - xcodereviewer-network
+ - deepaudit-network
backend:
build:
@@ -27,13 +27,13 @@ services:
env_file:
- ./backend/.env
environment:
- - DATABASE_URL=postgresql+asyncpg://postgres:postgres@db:5432/xcodereviewer
+ - DATABASE_URL=postgresql+asyncpg://postgres:postgres@db:5432/deepaudit
depends_on:
db:
condition: service_healthy
command: sh -c ".venv/bin/alembic upgrade head && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000"
networks:
- - xcodereviewer-network
+ - deepaudit-network
frontend:
build:
@@ -45,10 +45,10 @@ services:
depends_on:
- backend
networks:
- - xcodereviewer-network
+ - deepaudit-network
networks:
- xcodereviewer-network:
+ deepaudit-network:
driver: bridge
volumes:
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md
index 4448d01..9afdea9 100644
--- a/docs/CONFIGURATION.md
+++ b/docs/CONFIGURATION.md
@@ -1,6 +1,6 @@
# 配置说明
-本文档详细介绍 XCodeReviewer 的所有配置选项,包括后端环境变量、前端配置和运行时配置。
+本文档详细介绍 DeepAudit 的所有配置选项,包括后端环境变量、前端配置和运行时配置。
## 目录
@@ -14,7 +14,7 @@
## 配置方式概览
-XCodeReviewer 采用前后端分离架构,数据存储在后端 PostgreSQL 数据库中。
+DeepAudit 采用前后端分离架构,数据存储在后端 PostgreSQL 数据库中。
配置优先级(从高到低):
@@ -38,14 +38,14 @@ cp backend/env.example backend/.env
```env
# =============================================
-# XCodeReviewer Backend 配置文件
+# DeepAudit Backend 配置文件
# =============================================
# ========== 数据库配置 ==========
POSTGRES_SERVER=localhost # 数据库服务器地址
POSTGRES_USER=postgres # 数据库用户名
POSTGRES_PASSWORD=postgres # 数据库密码
-POSTGRES_DB=xcodereviewer # 数据库名称
+POSTGRES_DB=deepaudit # 数据库名称
# DATABASE_URL= # 完整数据库连接字符串(可选,会覆盖上述配置)
# ========== 安全配置 ==========
@@ -161,7 +161,7 @@ cp frontend/.env.example frontend/.env
VITE_API_BASE_URL=/api # 后端 API 地址
# ========== 应用配置 ==========
-VITE_APP_ID=xcodereviewer
+VITE_APP_ID=deepaudit
# ========== 代码分析配置 ==========
VITE_MAX_ANALYZE_FILES=40 # 最大分析文件数
@@ -184,7 +184,7 @@ VITE_OUTPUT_LANGUAGE=zh-CN # 输出语言
## 运行时配置
-XCodeReviewer 支持在浏览器中进行运行时配置,无需重启服务。
+DeepAudit 支持在浏览器中进行运行时配置,无需重启服务。
### 访问方式
@@ -223,7 +223,7 @@ XCodeReviewer 支持在浏览器中进行运行时配置,无需重启服务。
## 数据存储
-XCodeReviewer 采用前后端分离架构,所有数据存储在后端 PostgreSQL 数据库中。
+DeepAudit 采用前后端分离架构,所有数据存储在后端 PostgreSQL 数据库中。
### 架构说明
diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md
index 34ee6c1..cc0e336 100644
--- a/docs/DEPLOYMENT.md
+++ b/docs/DEPLOYMENT.md
@@ -1,6 +1,6 @@
# 部署指南
-本文档详细介绍 XCodeReviewer 的各种部署方式,包括 Docker Compose 一键部署、生产环境部署和本地开发环境搭建。
+本文档详细介绍 DeepAudit 的各种部署方式,包括 Docker Compose 一键部署、生产环境部署和本地开发环境搭建。
## 目录
@@ -18,8 +18,8 @@
```bash
# 1. 克隆项目
-git clone https://github.com/lintsinghua/XCodeReviewer.git
-cd XCodeReviewer
+git clone https://github.com/lintsinghua/DeepAudit.git
+cd DeepAudit
# 2. 配置后端环境变量
cp backend/env.example backend/.env
@@ -59,8 +59,8 @@ docker compose up -d
```bash
# 1. 克隆项目
-git clone https://github.com/lintsinghua/XCodeReviewer.git
-cd XCodeReviewer
+git clone https://github.com/lintsinghua/DeepAudit.git
+cd DeepAudit
# 2. 配置后端环境变量
cp backend/env.example backend/.env
@@ -73,7 +73,7 @@ cp backend/env.example backend/.env
POSTGRES_SERVER=db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
-POSTGRES_DB=xcodereviewer
+POSTGRES_DB=deepaudit
# 安全配置(生产环境请修改)
SECRET_KEY=your-super-secret-key-change-this-in-production
@@ -130,7 +130,7 @@ docker compose logs -f backend
# 进入容器调试
docker compose exec backend sh
-docker compose exec db psql -U postgres -d xcodereviewer
+docker compose exec db psql -U postgres -d deepaudit
```
---
@@ -210,15 +210,15 @@ server {
```bash
# 方式一:使用 Docker 启动 PostgreSQL(推荐)
docker run -d \
- --name xcodereviewer-db \
+ --name deepaudit-db \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
- -e POSTGRES_DB=xcodereviewer \
+ -e POSTGRES_DB=deepaudit \
-p 5432:5432 \
postgres:15-alpine
# 方式二:使用本地 PostgreSQL
-createdb xcodereviewer
+createdb deepaudit
```
### 后端启动
@@ -286,7 +286,7 @@ uv run ruff format app
## 数据存储
-XCodeReviewer 采用前后端分离架构,所有数据存储在后端 PostgreSQL 数据库中。
+DeepAudit 采用前后端分离架构,所有数据存储在后端 PostgreSQL 数据库中。
### 数据管理
@@ -301,10 +301,10 @@ XCodeReviewer 采用前后端分离架构,所有数据存储在后端 PostgreS
```bash
# 导出 PostgreSQL 数据
-docker compose exec db pg_dump -U postgres xcodereviewer > backup.sql
+docker compose exec db pg_dump -U postgres deepaudit > backup.sql
# 恢复数据
-docker compose exec -T db psql -U postgres xcodereviewer < backup.sql
+docker compose exec -T db psql -U postgres deepaudit < backup.sql
```
---
diff --git a/docs/FAQ.md b/docs/FAQ.md
index 7d85c8b..85525d1 100644
--- a/docs/FAQ.md
+++ b/docs/FAQ.md
@@ -1,6 +1,6 @@
# 常见问题 (FAQ)
-本文档收集了 XCodeReviewer 使用过程中的常见问题和解决方案。
+本文档收集了 DeepAudit 使用过程中的常见问题和解决方案。
## 目录
@@ -21,8 +21,8 @@
```bash
# 1. 克隆项目
-git clone https://github.com/lintsinghua/XCodeReviewer.git
-cd XCodeReviewer
+git clone https://github.com/lintsinghua/DeepAudit.git
+cd DeepAudit
# 2. 配置 LLM API Key
cp backend/env.example backend/.env
@@ -49,7 +49,7 @@ docker-compose up -d
### Q: 支持哪些编程语言?
-XCodeReviewer 支持所有主流编程语言的代码分析,包括但不限于:
+DeepAudit 支持所有主流编程语言的代码分析,包括但不限于:
- **Web**: JavaScript, TypeScript, HTML, CSS
- **后端**: Python, Java, Go, Rust, C/C++, C#
@@ -376,10 +376,10 @@ Ollama 本地模型没有网络延迟,适合大量文件分析。
```bash
# 导出数据
-docker-compose exec db pg_dump -U postgres xcodereviewer > backup.sql
+docker-compose exec db pg_dump -U postgres deepaudit > backup.sql
# 恢复数据
-docker-compose exec -T db psql -U postgres xcodereviewer < backup.sql
+docker-compose exec -T db psql -U postgres deepaudit < backup.sql
```
### Q: 如何恢复数据?
@@ -419,7 +419,7 @@ docker-compose up -d
如果以上内容没有解决你的问题,欢迎:
-- 提交 [GitHub Issue](https://github.com/lintsinghua/XCodeReviewer/issues)
+- 提交 [GitHub Issue](https://github.com/lintsinghua/DeepAudit/issues)
- 发送邮件至 lintsinghua@qq.com
提问时请提供:
diff --git a/docs/LLM_PROVIDERS.md b/docs/LLM_PROVIDERS.md
index 727422d..c82d65a 100644
--- a/docs/LLM_PROVIDERS.md
+++ b/docs/LLM_PROVIDERS.md
@@ -1,6 +1,6 @@
# LLM 平台支持
-XCodeReviewer 支持 10+ 主流 LLM 平台,可根据需求自由选择。本文档介绍各平台的配置方法。
+DeepAudit 支持 10+ 主流 LLM 平台,可根据需求自由选择。本文档介绍各平台的配置方法。
## 目录
diff --git a/frontend/.env.example b/frontend/.env.example
index eaa36f2..42217f8 100644
--- a/frontend/.env.example
+++ b/frontend/.env.example
@@ -1,5 +1,5 @@
# =============================================
-# XCodeReviewer 前端环境变量配置
+# DeepAudit 前端环境变量配置
# =============================================
# 复制此文件为 .env 并填写你的配置
# 详细说明请参阅 docs/CONFIGURATION.md
@@ -35,7 +35,7 @@ VITE_API_BASE_URL=/api
# 应用配置
# =============================================
# 应用 ID(用于本地存储隔离)
-VITE_APP_ID=xcodereviewer
+VITE_APP_ID=deepaudit
# =============================================
# 代码分析配置
diff --git a/frontend/index.html b/frontend/index.html
index cdf8c78..c336126 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -3,9 +3,9 @@
-
+
- XCodeReviewer
+ DeepAudit
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 985af57..8330cd7 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "xcode-reviewer",
+ "name": "deep-audit",
"version": "1.3.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "xcode-reviewer",
+ "name": "deep-audit",
"version": "1.3.4",
"dependencies": {
"@google/generative-ai": "^0.24.1",
diff --git a/frontend/package.json b/frontend/package.json
index 8a940ee..c778fe2 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,5 +1,5 @@
{
- "name": "xcode-reviewer",
+ "name": "deep-audit",
"version": "2.0.0-beta.5",
"type": "module",
"scripts": {
diff --git a/frontend/public/diagram.svg b/frontend/public/diagram.svg
index 599c032..b04b7c6 100644
--- a/frontend/public/diagram.svg
+++ b/frontend/public/diagram.svg
@@ -63,7 +63,7 @@
diff --git a/frontend/public/images/logo.png b/frontend/public/images/logo.png
index c3de893..f8e9058 100644
Binary files a/frontend/public/images/logo.png and b/frontend/public/images/logo.png differ
diff --git a/frontend/public/logo_xcodereviewer.png b/frontend/public/logo_deepaudit.png
similarity index 100%
rename from frontend/public/logo_xcodereviewer.png
rename to frontend/public/logo_deepaudit.png
diff --git a/frontend/public/star-me-cn.svg b/frontend/public/star-me-cn.svg
index c25bc51..1d13913 100644
--- a/frontend/public/star-me-cn.svg
+++ b/frontend/public/star-me-cn.svg
@@ -37,7 +37,7 @@
- 无偿开源与维护,您的支持是我们持续改进 XCodeReviewer 的最大动力!
+ 无偿开源与维护,您的支持是我们持续改进 DeepAudit 的最大动力!
diff --git a/frontend/public/star-me.svg b/frontend/public/star-me.svg
index 5c0775e..9020876 100644
--- a/frontend/public/star-me.svg
+++ b/frontend/public/star-me.svg
@@ -37,7 +37,7 @@
- Free and open-source, your support motivates us to keep improving XCodeReviewer!
+ Free and open-source, your support motivates us to keep improving DeepAudit!
diff --git a/frontend/src/assets/styles/globals.css b/frontend/src/assets/styles/globals.css
index 9f2b3a7..3299c2e2 100644
--- a/frontend/src/assets/styles/globals.css
+++ b/frontend/src/assets/styles/globals.css
@@ -11,7 +11,7 @@
}
/*
- XCodeReviewer Design System
+ DeepAudit Design System
Aesthetic: Terminal Retro + Pixel Art + Mechanical + Cassette Futurism
Core Palette: Orange, Deep Red, Signal Green, Grey
Philosophy: Clean, legible, harmonious - simplified linework for reduced eye strain
diff --git a/frontend/src/components/database/DatabaseManager.tsx b/frontend/src/components/database/DatabaseManager.tsx
index 7078840..e003d84 100644
--- a/frontend/src/components/database/DatabaseManager.tsx
+++ b/frontend/src/components/database/DatabaseManager.tsx
@@ -98,7 +98,7 @@ export function DatabaseManager() {
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
- a.download = `xcodereviewer-backup-${new Date().toISOString().split('T')[0]}.json`;
+ a.download = `deepaudit-backup-${new Date().toISOString().split('T')[0]}.json`;
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
diff --git a/frontend/src/components/layout/PageMeta.tsx b/frontend/src/components/layout/PageMeta.tsx
index f9eda47..c6c964b 100644
--- a/frontend/src/components/layout/PageMeta.tsx
+++ b/frontend/src/components/layout/PageMeta.tsx
@@ -22,13 +22,13 @@ export function AppWrapper({ children }: AppWrapperProps) {
}
export default function PageMeta({
- title = "XCodeReviewer",
+ title = "DeepAudit",
description = "基于AI的现代化代码质量分析和审查服务,提供全面的代码安全检测、性能分析和最佳实践建议。",
keywords = "代码审计,代码质量,AI分析,安全检测,性能优化,代码规范",
image = "/images/logo.png",
url = window.location.href
}: PageMetaProps) {
- const fullTitle = title === "XCodeReviewer" ? title : `${title} - XCodeReviewer`;
+ const fullTitle = title === "DeepAudit" ? title : `${title} - DeepAudit`;
return (
@@ -43,7 +43,7 @@ export default function PageMeta({
-
+
{/* Twitter Card */}
@@ -53,7 +53,7 @@ export default function PageMeta({
{/* 其他 */}
-
+
);
diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx
index 99e0b60..46a2360 100644
--- a/frontend/src/components/layout/Sidebar.tsx
+++ b/frontend/src/components/layout/Sidebar.tsx
@@ -83,11 +83,11 @@ export default function Sidebar({ collapsed, setCollapsed }: SidebarProps) {
onClick={() => setMobileOpen(false)}
>
-

+
- XCodeReviewer
+ DeepAudit
@@ -179,7 +179,7 @@ export default function Sidebar({ collapsed, setCollapsed }: SidebarProps) {
{/* GitHub Link */}
- XCodeReviewer
+ DeepAudit
// 代码审计平台
diff --git a/frontend/src/shared/config/env.ts b/frontend/src/shared/config/env.ts
index 1118d4e..898f5a5 100644
--- a/frontend/src/shared/config/env.ts
+++ b/frontend/src/shared/config/env.ts
@@ -9,7 +9,7 @@
// ==================== 应用配置 ====================
export const env = {
// 应用ID
- APP_ID: import.meta.env.VITE_APP_ID || 'xcodereviewer',
+ APP_ID: import.meta.env.VITE_APP_ID || 'deepaudit',
// API 基础URL
API_BASE_URL: import.meta.env.VITE_API_BASE_URL || '/api/v1',
diff --git a/frontend/src/shared/constants/index.ts b/frontend/src/shared/constants/index.ts
index 6b5dd5b..fd34d08 100644
--- a/frontend/src/shared/constants/index.ts
+++ b/frontend/src/shared/constants/index.ts
@@ -94,9 +94,9 @@ export const API_ENDPOINTS = {
// 本地存储键名
export const STORAGE_KEYS = {
- THEME: 'xcodereviewer-theme',
- USER_PREFERENCES: 'xcodereviewer-preferences',
- RECENT_PROJECTS: 'xcodereviewer-recent-projects',
+ THEME: 'deepaudit-theme',
+ USER_PREFERENCES: 'deepaudit-preferences',
+ RECENT_PROJECTS: 'deepaudit-recent-projects',
} as const;
// 导出项目类型相关常量
diff --git a/scripts/setup.bat b/scripts/setup.bat
index 9974548..3ce17e7 100644
--- a/scripts/setup.bat
+++ b/scripts/setup.bat
@@ -2,7 +2,7 @@
chcp 65001 >nul
setlocal enabledelayedexpansion
-echo 🚀 XCodeReviewer 项目设置开始...
+echo 🚀 DeepAudit 项目设置开始...
REM 检查 Node.js 版本
echo 📋 检查 Node.js 版本...
@@ -117,7 +117,7 @@ echo - DEPLOYMENT.md - 部署指南
echo - FEATURES.md - 功能特性详解
echo.
echo 🆘 需要帮助?
-echo - GitHub Issues: https://github.com/lintsinghua/XCodeReviewer/issues
+echo - GitHub Issues: https://github.com/lintsinghua/DeepAudit/issues
echo - 邮箱: tsinghuaiiilove@gmail.com
echo.
echo Happy coding! 🚀
diff --git a/scripts/setup.js b/scripts/setup.js
index 10fc845..c6e7c11 100644
--- a/scripts/setup.js
+++ b/scripts/setup.js
@@ -4,7 +4,7 @@ const fs = require('fs');
const path = require('path');
const { execSync } = require('child_process');
-console.log('🚀 XCodeReviewer 项目设置开始...');
+console.log('🚀 DeepAudit 项目设置开始...');
// 检查 Node.js 版本
function checkNodeVersion() {
@@ -123,7 +123,7 @@ function main() {
console.log(' - FEATURES.md - 功能特性详解');
console.log('');
console.log('🆘 需要帮助?');
- console.log(' - GitHub Issues: https://github.com/lintsinghua/XCodeReviewer/issues');
+ console.log(' - GitHub Issues: https://github.com/lintsinghua/DeepAudit/issues');
console.log(' - 邮箱: tsinghuaiiilove@gmail.com');
console.log('');
console.log('Happy coding! 🚀');
diff --git a/scripts/setup.sh b/scripts/setup.sh
index e265810..c81175d 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -1,11 +1,11 @@
#!/bin/bash
-# XCodeReviewer 项目设置脚本
+# DeepAudit 项目设置脚本
# 用于快速设置开发环境
set -e
-echo "🚀 XCodeReviewer 项目设置开始..."
+echo "🚀 DeepAudit 项目设置开始..."
# 检查 Node.js 版本
echo "📋 检查 Node.js 版本..."
@@ -100,7 +100,7 @@ echo " - DEPLOYMENT.md - 部署指南"
echo " - FEATURES.md - 功能特性详解"
echo ""
echo "🆘 需要帮助?"
-echo " - GitHub Issues: https://github.com/lintsinghua/XCodeReviewer/issues"
+echo " - GitHub Issues: https://github.com/lintsinghua/DeepAudit/issues"
echo " - 邮箱: tsinghuaiiilove@gmail.com"
echo ""
echo "Happy coding! 🚀"
\ No newline at end of file