Runtime API Examples
This page demonstrates usage of some of the runtime APIs provided by VitePress.
The main useData() API can be used to access site, theme, and page data for the current page. It works in both .md and .vue files:
md
<script setup>
import { useData } from 'vitepress'
const { theme, page, frontmatter } = useData()
</script>
## Results
### Theme Data
<pre>{{ theme }}</pre>
### Page Data
<pre>{{ page }}</pre>
### Page Frontmatter
<pre>{{ frontmatter }}</pre>Results
Theme Data
{
"footerInfo": {
"copyright": {
"createYear": 2025,
"suffix": "StarRailAssistant CE"
}
},
"logo": "/SRAIcon.png",
"siteTitle": "StarRailAssistant CE",
"darkModeSwitchLabel": "主题",
"sidebarMenuLabel": "菜单",
"returnToTopLabel": "返回顶部",
"outline": {
"level": [
2,
4
],
"label": "本页导航"
},
"docFooter": {
"prev": "上一页",
"next": "下一页"
},
"nav": [
{
"text": "主页",
"link": "/"
},
{
"text": "开始使用",
"link": "/docs/快速上手/开始使用",
"activeMatch": "/docs/快速上手/"
},
{
"text": "参与开发",
"link": "/docs/参与开发/前置条件",
"activeMatch": "/docs/参与开发/"
},
{
"text": "下载",
"link": "/pages/download"
}
],
"sidebar": {
"/docs/快速上手/": [
{
"text": "快速上手",
"items": [
{
"text": "开始使用",
"link": "/docs/快速上手/开始使用"
},
{
"text": "其他操作",
"link": "/docs/快速上手/其他操作"
}
]
}
],
"/docs/参与开发/": [
{
"text": "参与开发",
"items": [
{
"text": "前置条件",
"link": "/docs/参与开发/前置条件"
},
{
"text": "编写规范",
"link": "/docs/参与开发/编写规范"
},
{
"text": "API",
"link": "/docs/参与开发/API"
}
]
}
]
},
"socialLinks": [
{
"icon": "github",
"link": "https://github.com/EveGlowLuna/StarRailAssistant-CommunityEdition"
}
],
"permalinks": {
"map": {},
"inv": {}
},
"catalogues": {
"arr": [],
"map": {},
"inv": {}
},
"posts": {
"allPosts": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/",
"relativePath": "/en/",
"frontmatter": {
"layout": "home",
"title": "StarRailAssistant Community Edition",
"titleTemplate": false,
"tk": {
"teekHome": false
},
"hero": {
"name": "StarRailAssistant",
"text": "Community Edition",
"tagline": "Rebuilt with Tauri + Vue 3, faster, lighter, and more modern",
"actions": [
{
"theme": "brand",
"text": "Download Now",
"link": "/en/pages/download"
},
{
"theme": "alt",
"text": "Documentation",
"link": "/en/docs/getting-started/installation"
}
],
"image": {
"src": "/SRAIcon.png",
"alt": "StarRailAssistant"
}
},
"features": [
{
"title": "Lightweight & Efficient",
"icon": "⚡",
"details": "Built with Rust + Tauri, frontend size only ~10MB, memory usage as low as 50MB, no .NET Runtime required. Say goodbye to bloat and enjoy a smooth experience."
},
{
"title": "Real-time Feedback",
"icon": "📊",
"details": "Complete logging system and status monitoring with real-time task execution display. Supports log filtering, export, and search for efficient troubleshooting."
},
{
"title": "Fully Compatible",
"icon": "🔄",
"details": "Retains all core SRA features, supports all original configurations and task types. Seamless frontend replacement, no relearning required, ready to use out of the box."
},
{
"title": "(Almost Complete) Full English Support",
"icon": "🌐",
"details": "Except for some backend messages, the community edition supports a fully English user interface for users."
}
]
},
"title": "StarRailAssistant Community Edition",
"date": "2025-12-13 15:52:36",
"capture": "Differences from Original Version\n*Human Team vs. Machine Team*\nLeft: Original <--\n<div style=\"text-align: center; margin: 20px 0;\">\n <div style=\"display: inline-flex; gap: 15px; max-width: 100%;\">\n <img src=\"/SRA-Home-O.png\" alt=\"Original Interface\" style=\"width: 48%; he"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
},
{
"url": "/",
"relativePath": "/",
"frontmatter": {
"layout": "home",
"title": "StarRailAssistant Community Edition",
"titleTemplate": false,
"tk": {
"teekHome": false
},
"hero": {
"name": "StarRailAssistant",
"text": "Community Edition",
"tagline": "基于 Tauri + Vue 3 重构,更快、更轻、更现代",
"actions": [
{
"theme": "brand",
"text": "立即下载",
"link": "/pages/download"
},
{
"theme": "alt",
"text": "教程文档",
"link": "/docs/快速上手/开始使用"
}
],
"image": {
"src": "/SRAIcon.png",
"alt": "StarRailAssistant"
}
},
"features": [
{
"title": "轻量高效",
"icon": "⚡",
"details": "基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB,且无需安装.NET Runtime,告别臃肿,享受丝滑流畅的使用体验。"
},
{
"title": "实时反馈",
"icon": "📊",
"details": "完整的日志系统和状态监控,任务执行情况实时显示。支持日志过滤、导出和搜索,问题排查更高效。"
},
{
"title": "完全兼容",
"icon": "🔄",
"details": "完整保留 SRA 核心功能,支持所有原有配置和任务类型。无缝替换原前端,无需重新学习,开箱即用。"
}
]
},
"title": "StarRailAssistant Community Edition",
"date": "2025-12-13 15:52:36",
"capture": "与原版的区别\n*人工队 vs. 机器队*\n左边:原版 <--\n<div style=\"text-align: center; margin: 20px 0;\">\n <div style=\"display: inline-flex; gap: 15px; max-width: 100%;\">\n <img src=\"/SRA-Home-O.png\" alt=\"原版界面\" style=\"width: 48%; height: auto;\"/>\n <img src=\"/SRA-Home-C.png\" alt=\"社区版界面"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"originPosts": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"sortPostsByDateAndSticky": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"sortPostsByDate": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"groupPostsByYear": {
"2025 ": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
]
},
"groupPostsByYearMonth": {
"2025 ": {
"12": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
]
}
},
"groupPosts": {
"categories": {},
"tags": {}
},
"groupCards": {
"categories": [],
"tags": []
},
"locales": {
"en": {
"allPosts": [
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/",
"relativePath": "/en/",
"frontmatter": {
"layout": "home",
"title": "StarRailAssistant Community Edition",
"titleTemplate": false,
"tk": {
"teekHome": false
},
"hero": {
"name": "StarRailAssistant",
"text": "Community Edition",
"tagline": "Rebuilt with Tauri + Vue 3, faster, lighter, and more modern",
"actions": [
{
"theme": "brand",
"text": "Download Now",
"link": "/en/pages/download"
},
{
"theme": "alt",
"text": "Documentation",
"link": "/en/docs/getting-started/installation"
}
],
"image": {
"src": "/SRAIcon.png",
"alt": "StarRailAssistant"
}
},
"features": [
{
"title": "Lightweight & Efficient",
"icon": "⚡",
"details": "Built with Rust + Tauri, frontend size only ~10MB, memory usage as low as 50MB, no .NET Runtime required. Say goodbye to bloat and enjoy a smooth experience."
},
{
"title": "Real-time Feedback",
"icon": "📊",
"details": "Complete logging system and status monitoring with real-time task execution display. Supports log filtering, export, and search for efficient troubleshooting."
},
{
"title": "Fully Compatible",
"icon": "🔄",
"details": "Retains all core SRA features, supports all original configurations and task types. Seamless frontend replacement, no relearning required, ready to use out of the box."
},
{
"title": "(Almost Complete) Full English Support",
"icon": "🌐",
"details": "Except for some backend messages, the community edition supports a fully English user interface for users."
}
]
},
"title": "StarRailAssistant Community Edition",
"date": "2025-12-13 15:52:36",
"capture": "Differences from Original Version\n*Human Team vs. Machine Team*\nLeft: Original <--\n<div style=\"text-align: center; margin: 20px 0;\">\n <div style=\"display: inline-flex; gap: 15px; max-width: 100%;\">\n <img src=\"/SRA-Home-O.png\" alt=\"Original Interface\" style=\"width: 48%; he"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
}
],
"originPosts": [
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
}
],
"sortPostsByDateAndSticky": [
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
}
],
"sortPostsByDate": [
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
}
],
"groupPostsByYear": {
"2025 ": [
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
}
]
},
"groupPostsByYearMonth": {
"2025 ": {
"12": [
{
"url": "/en/docs/development/api.html",
"relativePath": "/en/docs/development/api.html",
"frontmatter": {
"title": "API Reference"
},
"title": "API Reference",
"date": "2025-12-13 15:52:36",
"capture": "This document introduces the API interfaces of StarRailAssistant (SRA), covering the functionality and usage of modules such as mouse events, keyboard events, image recognition, and window management.\nThis document is sourced from the original SRA tutorial and applies to newer versions of SRA. The A"
},
{
"url": "/en/docs/development/coding-standards.html",
"relativePath": "/en/docs/development/coding-standards.html",
"frontmatter": {
"title": "Coding Standards"
},
"title": "Coding Standards",
"date": "2025-12-13 15:52:36",
"capture": "This is the coding standards from the official SRA page, which also applies here.\nDuring SRA development, the following code formatting standards should be followed.\n Naming Conventions\n Variables\n Variables should be named in English, using lowercase letters, and have actual meaning. Each word sh"
},
{
"url": "/en/docs/development/prerequisites.html",
"relativePath": "/en/docs/development/prerequisites.html",
"frontmatter": {
"title": "Prerequisites"
},
"title": "Prerequisites",
"date": "2025-12-13 15:52:36",
"capture": "Preface\nSRA Community Edition is an automation tool with Python as the backend and Tauri (Rust + Vue) as the frontend, designed to help players achieve automated operations in the Honkai: Star Rail game.\nSRA's development documentation aims to provide detailed guidance for developers to help underst"
},
{
"url": "/en/docs/getting-started/advanced-usage.html",
"relativePath": "/en/docs/getting-started/advanced-usage.html",
"frontmatter": {
"title": "Advanced Usage"
},
"title": "Advanced Usage",
"date": "2025-12-13 15:52:36",
"capture": "This content will lead you to a more comprehensive and detailed understanding of how to use SRA.\n 1. Multi-Account Management\nEach configuration scheme represents a hosting scheme for one account.\nWhen executing multiple configurations, please follow these operations:\n1. If multiple configuration fi"
},
{
"url": "/en/docs/getting-started/installation.html",
"relativePath": "/en/docs/getting-started/installation.html",
"frontmatter": {
"title": "Installation"
},
"title": "Installation",
"date": "2025-12-13 15:52:36",
"capture": "This tutorial will teach you how to install, configure, and use SRA.\n 1. Download & Installation\nGo to the Download page to select the appropriate node and version for download.\nAlthough SRA CE theoretically doesn't require a runtime environment, it actually still needs Microsoft Edge WebView2.\nIf y"
},
{
"url": "/en/pages/download.html",
"relativePath": "/en/pages/download.html",
"frontmatter": {
"title": "Download",
"layout": "page"
},
"title": "Download",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n Download StarRailAssistant\n Community Edition\n<p class=\"section-desc\">The Community Edition is a modernized version rebuilt with Tauri + Vue 3, faster, lighter, and more modern.</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n "
}
]
}
},
"groupPosts": {
"categories": {},
"tags": {}
},
"groupCards": {
"categories": [],
"tags": []
}
},
"root": {
"allPosts": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/",
"relativePath": "/",
"frontmatter": {
"layout": "home",
"title": "StarRailAssistant Community Edition",
"titleTemplate": false,
"tk": {
"teekHome": false
},
"hero": {
"name": "StarRailAssistant",
"text": "Community Edition",
"tagline": "基于 Tauri + Vue 3 重构,更快、更轻、更现代",
"actions": [
{
"theme": "brand",
"text": "立即下载",
"link": "/pages/download"
},
{
"theme": "alt",
"text": "教程文档",
"link": "/docs/快速上手/开始使用"
}
],
"image": {
"src": "/SRAIcon.png",
"alt": "StarRailAssistant"
}
},
"features": [
{
"title": "轻量高效",
"icon": "⚡",
"details": "基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB,且无需安装.NET Runtime,告别臃肿,享受丝滑流畅的使用体验。"
},
{
"title": "实时反馈",
"icon": "📊",
"details": "完整的日志系统和状态监控,任务执行情况实时显示。支持日志过滤、导出和搜索,问题排查更高效。"
},
{
"title": "完全兼容",
"icon": "🔄",
"details": "完整保留 SRA 核心功能,支持所有原有配置和任务类型。无缝替换原前端,无需重新学习,开箱即用。"
}
]
},
"title": "StarRailAssistant Community Edition",
"date": "2025-12-13 15:52:36",
"capture": "与原版的区别\n*人工队 vs. 机器队*\n左边:原版 <--\n<div style=\"text-align: center; margin: 20px 0;\">\n <div style=\"display: inline-flex; gap: 15px; max-width: 100%;\">\n <img src=\"/SRA-Home-O.png\" alt=\"原版界面\" style=\"width: 48%; height: auto;\"/>\n <img src=\"/SRA-Home-C.png\" alt=\"社区版界面"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"originPosts": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"sortPostsByDateAndSticky": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"sortPostsByDate": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
],
"groupPostsByYear": {
"2025 ": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
]
},
"groupPostsByYearMonth": {
"2025 ": {
"12": [
{
"url": "/README.html",
"relativePath": "/README.html",
"frontmatter": {},
"title": "StarRailAssistant Community Edition 文档站",
"date": "2025-12-13 15:52:36",
"capture": "基于 VitePress 构建的 SRA-CE 官方文档网站。\n 关于 SRA-CE\nStarRailAssistant Community Edition 是基于 Tauri + Vue 3 重构的崩坏:星穹铁道助手工具,具有以下特点:\n- ⚡ 轻量高效 - 基于 Rust + Tauri 构建,前端体积仅约 10MB,内存占用低至 50MB\n- 📊 实时反馈 - 完整的日志系统和状态监控,支持日志过滤、导出和搜索\n- 🔄 完全兼容 - 完整保留 SRA 核心功能,支持所有原有配置和任务类型\n 本地开发\n```bash\n 安装依赖\nnpm install\n 启动开发服务器\nnpm run"
},
{
"url": "/api-examples.html",
"relativePath": "/api-examples.html",
"frontmatter": {
"outline": "deep"
},
"title": "Runtime API Examples",
"date": "2025-12-13 15:52:36",
"capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n<script setup\nimport { useData } from 'vitepress'\ncon"
},
{
"url": "/docs/参与开发/API.html",
"relativePath": "/docs/参与开发/API.html",
"frontmatter": {
"title": "API"
},
"title": "API",
"date": "2025-12-13 15:52:36",
"capture": "此文档介绍StarRailAssistant(SRA)的API接口,涵盖鼠标事件、键盘事件、图像识别、窗口管理等模块的功能和用法。\n此文档来源于原版SRA教程适用于较新版 SRA,旧版的 API 文档已过时。\n operator 模块\noperator 模块提供了与游戏窗口交互的功能,包括截图、图像识别、鼠标点击、键盘按键等操作。\n 类:\n Operator\n```python :no-line-numbers\nclass SRACore.util.operator.Operator\n```\nOperator 是操作游戏窗口的核心类,封装了与游戏窗口交互的各种方法。\n要创建`Operator`"
},
{
"url": "/docs/参与开发/前置条件.html",
"relativePath": "/docs/参与开发/前置条件.html",
"frontmatter": {
"title": "前置条件"
},
"title": "前置条件",
"date": "2025-12-13 15:52:36",
"capture": "前言\nSRA社区版是一个Python作为后端,Tauri(Rust+Vue)作为前端的自动化工具,旨在帮助玩家在崩坏星穹铁道游戏中实现自动化操作。\nSRA的开发文档旨在为开发者提供详细的指导,帮助了解SRA的基本概念、API使用方法。通过阅读文档,开发者可以快速上手SRA,并根据自己的需求进行定制化开发。\n本教程大多偏向于SRA-cli。\n感谢您在百忙之中阅读SRA开发文档。这个文档将向你展示从Python基础开始的SRA开发。如果你已经有相关基础,可以跳过学习部分,直接开始研究SRA API。\n 环境\n在开始开发前,确保你拥有:\n- Windows 10 及以上版本(64位)\n- IDE(P"
},
{
"url": "/docs/参与开发/编写规范.html",
"relativePath": "/docs/参与开发/编写规范.html",
"frontmatter": {
"title": "代码格式规范"
},
"title": "代码格式规范",
"date": "2025-12-13 15:52:36",
"capture": "这是官方SRA页面的编写规范,在此处同样适用。\n在开发SRA过程中,应该遵守如下代码格式规范。\n 命名规范\n 变量\n 变量应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n \n 例如:`user_name`,`is_logged_in`。\n 常量名\n 常量应当使用英文命名,使用大写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼写错误。\n 例如:`MAX_USER_COUNT`,`DEFAULT_TIMEOUT`。\n 函数名\n 函数名应当使用英文命名,使用小写字母,且有实际意义。每个单词之间用下划线分隔开,避免出现拼"
},
{
"url": "/docs/快速上手/其他操作.html",
"relativePath": "/docs/快速上手/其他操作.html",
"frontmatter": {
"title": "其他操作"
},
"title": "其他操作",
"date": "2025-12-13 15:52:36",
"capture": "本篇内容将带领你更全面、详细的理解如何使用SRA。\n 1. 多账号托管\n每个配置方案代表了一个账号的托管方案。\n在执行多个配置时,请遵从以下操作:\n1. 如果选择了多个配置文件,排序在前(即排序不在最后一个)的配置不能配置:\n- 模拟宇宙\n- 退出游戏\n- 退出SRA\n- 关机\n- 休眠\n必须配置:\n- `启动游戏` -\n- `结束后` -> `退出当前账号`\n2. 完成任务配置后,点击`保存配置`即可保存。\n`SRA-CE`目前不支持通过`切换配置`或`关闭窗口`来保存配置,你可以通过这种方式还原你配置过的内容。\n3. 要让`多配置`按预期运行,建议退出登录并进入 *选择手机号进入游戏"
},
{
"url": "/docs/快速上手/开始使用.html",
"relativePath": "/docs/快速上手/开始使用.html",
"frontmatter": {
"title": "开始使用"
},
"title": "开始使用",
"date": "2025-12-13 15:52:36",
"capture": "此教程将教你安装、配置及使用SRA。\n 1. 下载、安装\n前往 下载页面 选择合适的节点、版本下载。\n虽然SRA CE理论上不需要运行环境,但实际上仍需要Microsoft Edge WebView2。\n如果发现无法运行,可能为缺失该环境导致。\n本程序理论上可在Windows 7/8/8.1运行,但 Python 后端可运行性未知。\n 安装包\n- 下载完成后,在浏览器的下载窗口或文件资源管理器中打开。按照指示完成安装。\n- 安装完成后,在开始菜单搜索 StarRailAssistant 即可看到程序。\n 2. 添加信任列表\n前往SRA官网介绍界面 查看如何添加信任。\n 3. 界面\n- 左侧:导"
},
{
"url": "/markdown-examples.html",
"relativePath": "/markdown-examples.html",
"frontmatter": {},
"title": "Markdown Extension Examples",
"date": "2025-12-13 15:52:36",
"capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n data () {\n return {\n msg: 'Highlighte"
},
{
"url": "/pages/download.html",
"relativePath": "/pages/download.html",
"frontmatter": {
"title": "下载",
"layout": "page"
},
"title": "下载",
"date": "2025-12-13 15:52:36",
"capture": "<div class=\"download-page\"\n 下载 StarRailAssistant\n 社区版 (Community Edition)\n<p class=\"section-desc\">社区版是基于 Tauri + Vue 3 重构的现代化版本,更快、更轻、更现代。</p>\n<div class=\"download-cards\">\n <div class=\"download-card\">\n <div class=\"card-icon\">📦</div>\n <h4>GitHub Re"
}
]
}
},
"groupPosts": {
"categories": {},
"tags": {}
},
"groupCards": {
"categories": [],
"tags": []
}
}
}
}
}Page Data
{
"title": "Runtime API Examples",
"description": "",
"frontmatter": {
"outline": "deep"
},
"headers": [],
"relativePath": "api-examples.md",
"filePath": "api-examples.md"
}Page Frontmatter
{
"outline": "deep"
}More
Check out the documentation for the full list of runtime APIs.