闲鱼超级管家是在 xianyu-auto-reply 基础上的二次开发版本,保留了原项目的所有核心功能,并对前端 UI 进行了全面重构,带来更加现代化、专业化的使用体验。
Python
2,287
47 commits
updated Jul 24, 2026



闲鱼超级管家是在 xianyu-auto-reply 基础上的二次开发版本,采用商务专业风格的全新 UI 设计,让闲鱼店铺管理更加高效便捷。
# 1. 克隆项目
git clone https://github.com/Mxucc/xianyu-super-butler.git
cd xianyu-super-butler
# 2. 安装依赖
pip install -r requirements.txt
# 3. 构建前端(改成 pnpm 了)
cd frontend
pnpm install
pnpm run build
# 4. 启动服务(返回项目根目录)
cd ..
python Start.py
# 5. 访问应用
# 浏览器打开 http://localhost:8080
这个没有了,按网页提示操作
⚠️ 安全提示:首次登录后请立即修改默认密码!
说明:
npm run build 会将前端打包到 static/ 目录Start.py 启动后端服务(端口 8080),同时提供前端静态文件如需修改前端代码(支持热更新):
# 终端1:启动后端
python Start.py
# 终端2:启动前端开发服务器
cd frontend
npm run dev
# 访问 http://localhost:3000
后端: FastAPI · Python 3.11+ · SQLite · Playwright · WebSocket · Asyncio
前端: React 18 · TypeScript · Vite · Tailwind CSS · Framer Motion · Zustand
性能优化: 浏览器实例池 · 并发处理 · 智能缓存
force_refresh=True 参数,确保点击"一键同步订单"时使用浏览器获取最新状态order_status 为 status,确保筛选功能正常工作aiohttp Timeout 错误 - 不再复用运行实例的 session,改为创建独立的 aiohttp.ClientSession,避免跨异步上下文问题chat_id - orders 表新增 chat_id 字段,自动发货时自动存储;手动发货优先从订单取,找不到再查 ai_conversations 表frontend/ 重命名为 frontend_backup/ - 当前使用的前端目录为 xy/vite build 不再删除 xianyu_js_version_2.js - 改为 emptyOutDir: false,构建时保留 static 目录中的非构建文件reply_server.py - 重写 /api/orders/manual-ship 端点db_manager.py - 新增 chat_id 字段、find_chat_id_by_buyer 方法XianyuAutoAsync.py - 发货/标记订单时存储 chat_idxy/components/OrderList.tsx - 新增发货方式选择对话框xy/services/api.ts - 更新 API 类型xy/vite.config.ts - emptyOutDir: falsefrontend/vite.config.ts 配置欢迎提交 Issue 和 Pull Request!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)⚠️ 免责声明
本项目仅供学习研究使用,严禁用于商业用途!
使用本项目时请遵守相关法律法规,因使用本项目而产生的一切后果由使用者自行承担。
14 followers · starred Oct 2026
165 followers · starred Mar 2026
12 followers · starred Mar 2026
15 followers · starred Mar 2026
闲鱼超级管家是在 xianyu-auto-reply 基础上的二次开发版本,保留了原项目的所有核心功能,并对前端 UI 进行了全面重构,带来更加现代化、专业化的使用体验。
Python
2,287
47 commits
updated Jul 24, 2026



闲鱼超级管家是在 xianyu-auto-reply 基础上的二次开发版本,采用商务专业风格的全新 UI 设计,让闲鱼店铺管理更加高效便捷。
# 1. 克隆项目
git clone https://github.com/Mxucc/xianyu-super-butler.git
cd xianyu-super-butler
# 2. 安装依赖
pip install -r requirements.txt
# 3. 构建前端(改成 pnpm 了)
cd frontend
pnpm install
pnpm run build
# 4. 启动服务(返回项目根目录)
cd ..
python Start.py
# 5. 访问应用
# 浏览器打开 http://localhost:8080
这个没有了,按网页提示操作
⚠️ 安全提示:首次登录后请立即修改默认密码!
说明:
npm run build 会将前端打包到 static/ 目录Start.py 启动后端服务(端口 8080),同时提供前端静态文件如需修改前端代码(支持热更新):
# 终端1:启动后端
python Start.py
# 终端2:启动前端开发服务器
cd frontend
npm run dev
# 访问 http://localhost:3000
后端: FastAPI · Python 3.11+ · SQLite · Playwright · WebSocket · Asyncio
前端: React 18 · TypeScript · Vite · Tailwind CSS · Framer Motion · Zustand
性能优化: 浏览器实例池 · 并发处理 · 智能缓存
force_refresh=True 参数,确保点击"一键同步订单"时使用浏览器获取最新状态order_status 为 status,确保筛选功能正常工作aiohttp Timeout 错误 - 不再复用运行实例的 session,改为创建独立的 aiohttp.ClientSession,避免跨异步上下文问题chat_id - orders 表新增 chat_id 字段,自动发货时自动存储;手动发货优先从订单取,找不到再查 ai_conversations 表frontend/ 重命名为 frontend_backup/ - 当前使用的前端目录为 xy/vite build 不再删除 xianyu_js_version_2.js - 改为 emptyOutDir: false,构建时保留 static 目录中的非构建文件reply_server.py - 重写 /api/orders/manual-ship 端点db_manager.py - 新增 chat_id 字段、find_chat_id_by_buyer 方法XianyuAutoAsync.py - 发货/标记订单时存储 chat_idxy/components/OrderList.tsx - 新增发货方式选择对话框xy/services/api.ts - 更新 API 类型xy/vite.config.ts - emptyOutDir: falsefrontend/vite.config.ts 配置欢迎提交 Issue 和 Pull Request!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)⚠️ 免责声明
本项目仅供学习研究使用,严禁用于商业用途!
使用本项目时请遵守相关法律法规,因使用本项目而产生的一切后果由使用者自行承担。
14 followers · starred Oct 2026
165 followers · starred Mar 2026
12 followers · starred Mar 2026
15 followers · starred Mar 2026