chore: rebrand XCodeReviewer to DeepAudit across all files

- Update project name from XCodeReviewer to DeepAudit in CI/CD workflows
- Replace Docker image names and release artifact naming conventions
- Update GitHub repository references in documentation files
- Modify database names and container names in setup instructions
- Update contributor badge and issue tracker links
- Rename frontend logo file from logo_deepaudit.png
- Update environment configuration examples and documentation
- Rebrand all references in CONTRIBUTING.md, DISCLAIMER.md, and README.md
- Update backend configuration and deployment documentation
- Ensure consistent naming across frontend and backend configurations
This commit is contained in:
lintsinghua 2025-12-08 21:35:09 +08:00
parent 575ab212b8
commit e856ad1a8d
38 changed files with 127 additions and 127 deletions

View File

@ -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

View File

@ -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/
感谢所有贡献者的付出!
[![Contributors](https://contrib.rocks/image?repo=lintsinghua/XCodeReviewer)](https://github.com/lintsinghua/XCodeReviewer/graphs/contributors)
[![Contributors](https://contrib.rocks/image?repo=lintsinghua/DeepAudit)](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

View File

@ -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
---

View File

@ -1,23 +1,23 @@
# XCodeReviewer - 您的智能代码审计伙伴 🚀
# DeepAudit - 您的智能代码审计伙伴 🚀
> 多Agent、PR批量自动审计版本正在开发中敬请期待......
<div style="width: 100%; max-width: 600px; margin: 0 auto;">
<img src="frontend/public/images/logo.png" alt="XCodeReviewer Logo" style="width: 100%; height: auto; display: block; margin: 0 auto;">
<img src="frontend/public/images/logo.png" alt="DeepAudit Logo" style="width: 100%; height: auto; display: block; margin: 0 auto;">
</div>
<div align="center">
[![Version](https://img.shields.io/badge/version-2.0.0--beta.1-blue.svg)](https://github.com/lintsinghua/XCodeReviewer/releases)
[![Version](https://img.shields.io/badge/version-2.0.0--beta.1-blue.svg)](https://github.com/lintsinghua/DeepAudit/releases)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![React](https://img.shields.io/badge/React-18-61dafb.svg)](https://reactjs.org/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6.svg)](https://www.typescriptlang.org/)
[![FastAPI](https://img.shields.io/badge/FastAPI-0.100+-009688.svg)](https://fastapi.tiangolo.com/)
[![Python](https://img.shields.io/badge/Python-3.13+-3776ab.svg)](https://www.python.org/)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/lintsinghua/XCodeReviewer)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/lintsinghua/DeepAudit)
[![Stars](https://img.shields.io/github/stars/lintsinghua/XCodeReviewer?style=social)](https://github.com/lintsinghua/XCodeReviewer/stargazers)
[![Forks](https://img.shields.io/github/forks/lintsinghua/XCodeReviewer?style=social)](https://github.com/lintsinghua/XCodeReviewer/network/members)
[![Stars](https://img.shields.io/github/stars/lintsinghua/DeepAudit?style=social)](https://github.com/lintsinghua/DeepAudit/stargazers)
[![Forks](https://img.shields.io/github/forks/lintsinghua/DeepAudit?style=social)](https://github.com/lintsinghua/DeepAudit/network/members)
</div>
@ -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
**感谢每一位贡献者!**
[![Contributors](https://contrib.rocks/image?repo=lintsinghua/XCodeReviewer)](https://github.com/lintsinghua/XCodeReviewer/graphs/contributors)
[![Contributors](https://contrib.rocks/image?repo=lintsinghua/DeepAudit)](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
## 📈 项目统计
<a href="https://www.star-history.com/#lintsinghua/XCodeReviewer&Date">
<a href="https://www.star-history.com/#lintsinghua/DeepAudit&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lintsinghua/XCodeReviewer&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=lintsinghua/XCodeReviewer&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=lintsinghua/XCodeReviewer&type=Date" />
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lintsinghua/DeepAudit&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=lintsinghua/DeepAudit&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=lintsinghua/DeepAudit&type=Date" />
</picture>
</a>
![Repobeats analytics](https://repobeats.axiom.co/api/embed/c8e8e8e8e8e8e8e8e8e8e8e8e8e8e8e8e8e8e8e8.svg "Repobeats analytics image")
<div style="width: 100%; max-width: 600px; margin: 0 auto;">
<a href="https://github.com/lintsinghua/XCodeReviewer">
<a href="https://github.com/lintsinghua/DeepAudit">
<img src="frontend/public/star-me-cn.svg" alt="Star this project" style="width: 100%; height: auto; display: block; margin: 0 auto;" />
</a>
</div>

View File

@ -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)
- ⚠️ **请勿公开披露敏感漏洞详情**
- 仅描述漏洞类型,详细信息请通过邮件发送

View File

@ -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)

View File

@ -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",

View File

@ -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;

View File

@ -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
# =============================================
# 安全配置

View File

@ -1,5 +1,5 @@
def main():
print("Hello from xcodereviewer-backend!")
print("Hello from deepaudit-backend!")
if __name__ == "__main__":

View File

@ -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",

View File

@ -3,7 +3,7 @@
set -e
echo "🚀 启动 XCodeReviewer 后端服务..."
echo "🚀 启动 DeepAudit 后端服务..."
# 检查 uv 是否安装
if ! command -v uv &> /dev/null; then

View File

@ -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}")

View File

@ -2012,7 +2012,7 @@ wheels = [
]
[[package]]
name = "xcodereviewer-backend"
name = "deepaudit-backend"
version = "0.1.0"
source = { virtual = "." }
dependencies = [

View File

@ -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:

View File

@ -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 数据库中。
### 架构说明

View File

@ -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
```
---

View File

@ -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
提问时请提供:

View File

@ -1,6 +1,6 @@
# LLM 平台支持
XCodeReviewer 支持 10+ 主流 LLM 平台,可根据需求自由选择。本文档介绍各平台的配置方法。
DeepAudit 支持 10+ 主流 LLM 平台,可根据需求自由选择。本文档介绍各平台的配置方法。
## 目录

View File

@ -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
# =============================================
# 代码分析配置

View File

@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/logo_xcodereviewer.png" />
<link rel="icon" type="image/png" href="/logo_deepaudit.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>XCodeReviewer</title>
<title>DeepAudit</title>
<!-- Terminal Retro & Cassette Futurism Typography -->
<link rel="preconnect" href="https://fonts.googleapis.com">

View File

@ -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",

View File

@ -1,5 +1,5 @@
{
"name": "xcode-reviewer",
"name": "deep-audit",
"version": "2.0.0-beta.5",
"type": "module",
"scripts": {

View File

@ -63,7 +63,7 @@
<!-- Title Section -->
<g id="header">
<rect x="50" y="20" width="1120" height="65" fill="url(#grad-main)" rx="6" class="shadow"/>
<text x="610" y="50" text-anchor="middle" class="layer-title" font-size="24">XCodeReviewer: Multi-LLM Code Audit Platform</text>
<text x="610" y="50" text-anchor="middle" class="layer-title" font-size="24">DeepAudit: Multi-LLM Code Audit Platform</text>
<text x="610" y="72" text-anchor="middle" class="layer-title" font-size="12">Unified Abstraction Architecture with Concurrent Processing Engine</text>
</g>

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

View File

@ -37,7 +37,7 @@
<!-- 副文字 -->
<text x="62" y="47" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="11" fill="#dc2626" font-weight="600">
无偿开源与维护,您的支持是我们持续改进 XCodeReviewer 的最大动力!
无偿开源与维护,您的支持是我们持续改进 DeepAudit 的最大动力!
</text>
<!-- 右侧装饰星星 -->

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -37,7 +37,7 @@
<!-- 副文字 -->
<text x="62" y="45" font-family="Arial, sans-serif" font-size="10.5" fill="#dc2626" font-weight="600">
Free and open-source, your support motivates us to keep improving XCodeReviewer!
Free and open-source, your support motivates us to keep improving DeepAudit!
</text>
<!-- 右侧装饰星星 -->

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -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

View File

@ -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);

View File

@ -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 (
<Helmet>
@ -43,7 +43,7 @@ export default function PageMeta({
<meta property="og:image" content={image} />
<meta property="og:url" content={url} />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="XCodeReviewer" />
<meta property="og:site_name" content="DeepAudit" />
{/* Twitter Card */}
<meta name="twitter:card" content="summary_large_image" />
@ -53,7 +53,7 @@ export default function PageMeta({
{/* 其他 */}
<meta name="robots" content="index, follow" />
<meta name="author" content="XCodeReviewer" />
<meta name="author" content="DeepAudit" />
<link rel="canonical" href={url} />
</Helmet>
);

View File

@ -83,11 +83,11 @@ export default function Sidebar({ collapsed, setCollapsed }: SidebarProps) {
onClick={() => setMobileOpen(false)}
>
<div className="relative flex-shrink-0 border border-primary bg-white p-1 shadow-sm rounded-sm overflow-hidden">
<img src="/logo_xcodereviewer.png" alt="XCodeReviewer" className="w-7 h-7 object-contain" />
<img src="/logo_deepaudit.png" alt="DeepAudit" className="w-7 h-7 object-contain" />
</div>
<div className={`transition-all duration-300 ${collapsed ? 'w-0 opacity-0 overflow-hidden' : 'flex-1 min-w-0 opacity-100'}`}>
<span className="text-lg font-display font-bold text-black tracking-tighter uppercase whitespace-nowrap">
XCode<span className="text-primary">Reviewer</span>
Deep<span className="text-primary">Audit</span>
</span>
</div>
</Link>
@ -179,7 +179,7 @@ export default function Sidebar({ collapsed, setCollapsed }: SidebarProps) {
{/* GitHub Link */}
<a
href="https://github.com/lintsinghua/XCodeReviewer"
href="https://github.com/lintsinghua/DeepAudit"
target="_blank"
rel="noopener noreferrer"
className={`

View File

@ -108,13 +108,13 @@ export default function Login() {
<div className="mb-8 text-center">
<div className="inline-flex items-center justify-center p-3 bg-white border-2 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] mb-6">
<img
src="/logo_xcodereviewer.png"
alt="XCodeReviewer"
src="/logo_deepaudit.png"
alt="DeepAudit"
className="w-14 h-14 object-contain"
/>
</div>
<h1 className="text-3xl font-display font-bold tracking-tighter uppercase">
XCode<span className="text-primary">Reviewer</span>
Deep<span className="text-primary">Audit</span>
</h1>
<p className="text-sm font-mono text-gray-500 mt-2">
// 代码审计平台

View File

@ -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',

View File

@ -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;
// 导出项目类型相关常量

View File

@ -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! 🚀

View File

@ -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! 🚀');

View File

@ -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! 🚀"