feat: 添加浅色主题支持

- 配置浅色主题配色方案和 CSS 变量
- 修复组件在浅色模式下的样式适配
- 统一文字颜色类名使用 CSS 变量
- 优化玻璃效果在浅色主题下的显示
This commit is contained in:
freedakgmail
2026-07-09 22:10:49 +08:00
commit b43e3725ee
34 changed files with 7911 additions and 0 deletions
+90
View File
@@ -0,0 +1,90 @@
# 智能会议记录系统
基于 FunASR + DeepSeek AI 的智能会议记录系统,支持音频转录、自动摘要、Markdown 导出。
## 技术栈
- **前端**: React 18 + Vite + TailwindCSS + Zustand
- **后端**: FastAPI + Uvicorn
- **数据库**: SQLite + SQLAlchemy
- **语音识别**: FunASR (SenseVoiceSmall)
- **摘要生成**: DeepSeek API
## 快速开始
### 1. 安装后端依赖
```bash
cd /Users/freedak/Documents/AIDashboard/meeting_recorder
pip install -r requirements.txt
```
### 2. 启动后端服务
```bash
# 方式一:直接运行
python main.py
# 方式二:使用 uvicorn
uvicorn main:app --reload --port 8501
```
### 3. 安装前端依赖并启动
```bash
cd frontend
npm install
npm run dev
```
### 4. 访问应用
- 前端: http://localhost:3000
- API 文档: http://localhost:8501/docs
## 项目结构
```
meeting_recorder/
├── main.py # FastAPI 后端入口
├── app.py # Streamlit 旧版界面(已弃用)
├── database.py # 数据库模块
├── processor.py # FunASR 处理器
├── requirements.txt # Python 依赖
├── data/
│ ├── audio/ # 音频文件目录
│ └── meetings.db # SQLite 数据库
└── frontend/ # React 前端
├── src/
│ ├── components/ # UI 组件
│ ├── pages/ # 页面组件
│ ├── api/ # API 调用
│ └── store/ # 状态管理
└── package.json
```
## 功能特性
- [x] 音频文件上传
- [x] FunASR 自动转录
- [x] 说话人分离
- [x] 音频播放与转写对照
- [x] 会议摘要生成
- [x] Markdown 导出
- [x] 会议搜索与筛选
- [ ] 实时录音
- [ ] 批量处理
## 环境变量
可选配置 DeepSeek API
```bash
export DEEPSEEK_API_KEY="your-api-key"
```
## 注意事项
- 默认使用 CPU 运行,如需 GPU 支持请安装 CUDA 环境
- 音频文件大小建议不超过 500MB
- 长音频转录可能需要几分钟时间