mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
1497533f14e4174e11d0e7aa2b467942bd7aa0a3
* ⚡️大幅提升UIGF导入速度 (#225) * Initial plan * perf: optimize gacha import with batch transactions and reduced UI delays - Wrap DB inserts in transactions (batches of 500) for mergeUIGF/mergeUIGF4 - Pre-transform all data before batch insert loop - Pass timeout: 0 to showLoading.update in progress callbacks - Remove 1500ms snackbar delay in cleanGachaRecords - Reduce per-item loading update delay in refreshGachaPool Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> * fix: increment progress counter per item instead of per batch for accurate progress display Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> * Initial plan * feat: calculate window size based on resolution/scaling with baseline check and centering - resizeWindow: add baseline check (1920x1080@150%), clamp to screen bounds - setWindowPos: ensure window fits on screen and always center - App.vue: use setWindowPos instead of manual positioning, center on deep link show - tray.rs: center window when showing from system tray Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> * fix: address code review - add zero guard and use setWindowPos consistently Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> * refactor: address review feedback - move baseline to setWindowPos, revert tray.rs - tray.rs: reverted, center() removed as redundant - TGWindow.ts: baseline check moved to setWindowPos, resizeWindow restored as fallback - App.vue: needResize=false → setWindowPos, else → center; deep link reverted; handleResizeListen true path unchanged, setWindowPos moved inside else Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> * refactor: use needResize judgment condition (targetZoom/scaleFactor/textScale) in setWindowPos Replace the simple curSize > screen.size overflow check with the same condition used by resizeWindow(): targetZoom < 1, which considers scaleFactor and textScale. Falls back to resizeWindow() when below baseline or when targetZoom < 1. Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> * 🚸 调整尺寸判断 * 🚸 处理溢出 * 🚸 优化处理 * 🚸 移除冗余scale处理 * 🎨 CodeStyle --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com> Co-authored-by: BTMuli <bt-muli@outlook.com>
Author, Description, Date, Update
| Author | Description | Date | Update |
|---|---|---|---|
| 目棃 | 说明文档 | 2023-03-05 | 2026-02-25 |
本文档
Frontmatter由 MuCli 自动生成于2023-03-05 14:41:55更新于
2026-02-25 19:28:26
Teyvat Guide
基于 Tauri 的原神工具应用,支持 Windows 和 macOS 平台。
Game Tool for Genshin Impact player, supports Windows and macOS.
下载 / Download
程序已经通过微软商店审核,可以直接在商店下载。
macOS 用户可以通过 Github Release 下载,可能需要额外操作以打开。
macOS users could download the app from GitHub release, extra steps are needed to open the app.
仓库概况 / Repo Stats
功能 / Features
-
免登陆功能:
- 当前卡池、近期活动、素材日历
- 游戏内公告&活动获取
- 米游社官方帖获取(支持通过 ID 获取)
- 米游社各分区帖子获取(支持通过 ID 获取)
- 米游社话题帖子获取(通过话题点击跳转)
- 成就管理(UIAF v1.1),支持
Yae导入 & 自动导入(内置Yae) - 祈愿管理(UIGF v3.0,UIGF v4.2)
- 背包物品获取(内置YAE)
- 留影叙佳期画片查看
- 帖子收藏
- 帖子评论查看&分享
-
登陆功能:
支持 扫码/验证码/Cookie 登陆,支持多账号管理
- 近期活动(首页组件)
- 游戏签到(首页组件)
- 原神战绩
- 角色详情
- 高难挑战(深境螺旋/真境剧诗/幽境危战)
- 祈愿数据获取(近一年)
- 千星奇域颂愿数据获取(近一年)
- 用户收藏帖子获取
- 用户关注帖子获取
- 一键完成米游币每日任务
- 一键完成游戏签到
-
Wiki 功能:
- 角色图鉴
- 武器图鉴
- 名片图鉴
- 材料图鉴
-
应用功能:
- 浅色/深色主题切换
- 米游社 JSBridge
- 终端命令行调用
- 支持胡桃云
贡献者 / Contributors
UI 参考 / UI Reference
相关文档 / Docs
- Changelog: CHANGELOG
- 资源来源:项目资源说明
- UIAF:UIAF v1.1
- UIGF:UIGF v3.0,UIGF v4.0
- macOS 平台门禁属性导致应用无法打开应用的修复指引
- 如何导入胡桃数据库
特定项目 / Special Project
- MuCli:基于 NodeJS 的命令行工具,用于生成项目文档。
- TGAssistant:Teyvat Guide 的资源获取、解析、处理仓库。
- WhiteTea:Github Bot,(半)自动化处理 Teyvat Guide 的 Issue 和 Pull Request。
技术栈 / Tech Stack
第三方组件 / Plugins
- Ajv:用于校验UIAF&UIGF导入数据
- Artplayer:用于米游社帖子视频播放解析
- Echarts:用于祈愿概览图生成
- Html2Canvas:用于分享图生成
- Sentry:用于收集应用崩溃信息
协议 / License
项目基于 MIT 协议开源。
应用版本号遵循 Semantic Versioning 2.0.0 规范。
隐私政策:Privacy
鸣谢 / Thanks
本项目在开发过程中参考了诸多相关开源项目,特此鸣谢。
Languages
Vue
71.7%
TypeScript
22.7%
Rust
4.8%
SCSS
0.5%
JavaScript
0.3%
