{"repo":"Guyungy/damaihelper","free":true,"listed":false,"github":"https://github.com/Guyungy/damaihelper","clone":"git clone https://github.com/Guyungy/damaihelper.git","description":"支持大麦网，淘票票、缤玩岛等多个平台，演唱会演出抢票脚本","language":"HTML","stars":3979,"topics":["python","rust","vue"],"license":"AGPL-3.0","category":"ui-components","readme_excerpt":"🎟️ DamaiHelper 多平台票务自动化 · Web 控制台 · 本机 YOLO/CUDA 逻辑层 面向学习与联调的抢票助手骨架：配置 → 任务编排 → 日志回传 → AI 滑块接口。 不保证真实抢票效果 ，默认 dry-run 跑通逻辑。 功能特性 · 快速开始 · 界面预览 · API · 项目结构 · 常见问题 --- ⭐ Star History --- ✨ 功能特性 模块 说明 ------ ------ Ant Design 控制台 web-ui/ ：总览 / 配置 / 任务编排 / YOLO·CUDA REST 后端 web server.py 同源托管前端 + /api/ 任务编排 scripts/task runner.py 阶段流、可停止、增量日志 本机 AI CUDA 探测 + Ultralytics YOLO（无权重自动 mock） 一键安装 tools/install deps.py 按 GPU 装 CUDA 版 torch 旧版兼容 无 web-ui/dist 时回退 web/index.html --- 🚀 快速开始 环境 - Windows 10/11 或 macOS - Python 3.10+ （本机可 3.14） - 可选：NVIDIA GPU + 驱动（RTX 系列）、Node.js 18+（构建前端） 方式 A：一键脚本（推荐） Windows macOS / Linux 脚本会：安装 Python 依赖 →（有 npm 时）构建 web-ui → 启动 web server.py → 打开浏览器。 方式 B：手动 浏览器打开： http://localhost:8765/ 入口 地址 ------ ------ 控制台首页 http://localhost:8765/ 健康检查 http://localhost:8765/api/health AI 状态 http://localhost:8765/api/ai/status 开发前端（热更新）： pip install -r requirements.txt 不含 torch，避免误装 CPU 轮子。GPU 栈请用 tools/install deps.py 。 --- 🖥️ 界面预览 以下为仓库内 本地 SVG 示意图 （不依赖 shields / 外链图床，GitHub 渲染稳定）。 1. 总览（GPU / 后端状态） 2. 任务编排（日志 + 进度） 3. 经典 Web 面板截图（仓库内 PNG） 配置主面板 运行中日志 :---: :---: 若截图路径失效，可直接运行 python web server.py 在浏览器查看实机界面。 重新生成示意图： python tools/gen readme assets.py --- 📡 API 一览 完整约定见 web/docs/integration guide.md。 方法 路径 说明 ------ ------ ------ GET /api/health 服务与任务快照 GET/POST /api/config 读写 config/config.json POST /api/ticket/start 启动编排（默认 dry run: true ） POST /api/ticket/stop 停止当前任务 GET /api/ticket/logs?offset= 增量日志 / 进度 POST /api/dependencies/install 依赖逻辑任务 GET /api/ai","default_branch":null,"files":null,"tree":[],"storefront":"/r/Guyungy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Guyungy/damaihelper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}