sunshine-control-panel

作者 qiin2333已验证

🎮 Sunshine Foundation 大屏桌面管理器 | Tauri + Vue 3,游戏库管理、米塔AI助手、内存监控、Steam封面搜索、启动助手

433
Stars
12
Forks
Rust
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/qiin2333/sunshine-control-panel

快速入门

使用 sunshine-control-panel 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Sunshine Control Panel (Tauri)

基于 Tauri 2 + Vue 3 的 Sunshine Foundation 大屏桌面管理器,提供游戏库管理、系统监控、AI 助手等功能。

架构

flowchart LR
    subgraph Client["WebView2 Client"]
        direction TB
        Vue["Vue 3 + Vite"]
        Composables["Composables<br/>useApps · useTauri · useTheme"]
        Vue --> Composables
    end

    subgraph Core["Tauri 2 · Rust"]
        direction TB
        IPC["IPC Bridge<br/>invoke · events"]
        Axum["Axum Proxy :48081"]
        Sys["WMI COM · winreg"]
        AI["AI Proxy · reqwest"]
        IPC --> Axum & Sys & AI
    end

    subgraph Services["External Services"]
        direction TB
        Sunshine["☀️ Sunshine<br/>HTTPS :47990"]
        Steam["Steam Store API"]
        LLM["LLM API · OpenAI"]
        GitHub["GitHub Releases"]
        VDD["IddCx VDD Driver"]
    end

    Composables -- "Tauri invoke()" --> IPC
    Axum -- "HTTPS · reqwest" --> Sunshine
    Sys -. "WMI Query" .-> Sunshine
    Sys -. "Registry" .-> VDD
    AI -- "HTTP" --> LLM
    AI -- "HTTP" --> Steam & GitHub

功能特性

核心能力

  • 🔄 更新管理 — 自动检查更新、下载进度、一键安装,支持 Beta/预发布版本切换
  • 运行模式切换 — 服务模式 ↔ 用户模式一键切换
  • 🔌 服务管理 — Sunshine 启停、重启、运行状态监控、配对设备管理
  • 📊 内存监控 — 进程内存/工作集实时趋势图、子进程列表、运行时间统计

游戏库

  • 🎮 应用管理 — 网格/列表视图、搜索过滤、收藏置顶、最近使用、排序
  • 🖼️ Steam 封面搜索 — 右键更新封面,Steam Store API 搜索候选,一键上传
  • 🚀 一键启动 — 右键启动游戏/应用,支持管理员权限、工作目录
  • 🔧 启动助手 — 为应用配置前置/后置脚本(虚拟显示器、分辨率切换等)
  • 📚 游戏库扫描 — 自动扫描 Steam/Epic 已安装游戏

串流与驱动

  • 🎬 串流配置 — 编码器选择 (H.264/H.265/AV1)、码率调节、HDR 自动切换
  • 📺 VDD 驱动管理 — 虚拟显示驱动安装/配置/EDID 管理
  • 🖱️ 虚拟鼠标 — 驱动安装与状态管理
  • 🌙 Moonlight Web — 浏览器串流服务管理

智能与工具

  • 🤖 米塔 AI — 为 Sunshine 及客户端提供大模型能力,多模型配置、桌面宠物
  • 🛠️ 工具箱 — 码率调节器、DPI 缩放、键盘快捷键指南、系统诊断
  • 📋 日志管理 — 实时日志查看、导出、过滤

桌面体验

  • 🎨 主题切换 — 亮色/暗色/自定义背景
  • 🌍 中英双语 — 即时切换
  • 🪟 多窗口 — 主窗口 + 浮动工具栏 + 日志控制台
  • ☀️ 防休眠 — 串流期间保持屏幕/系统唤醒
  • 🔑 全局快捷键 — Ctrl+Shift+Alt+T 切换工具栏

前置要求

  • Node.js 和 npm
  • Rust 和 Cargo (用于 Tauri)
  • Windows SDK (Windows)

开发

# 安装依赖
npm install

# 启动开发服务器(代理到 Sunshine 服务)
npm run dev

# 仅启动前端开发服务器
npm run dev:renderer

WebUI 联调开发模式

当需要同时开发 WebUI 和 Tauri GUI 时,可以使用 dev-webui 模式让 Tauri 代理服务器转发请求到 WebUI 开发服务器:

# 终端 1:在项目根目录启动 WebUI 开发服务器(端口 3000)
cd ../../../..  # 回到 Sunshine 根目录
npm run dev-server

# 终端 2:在 sunshine-control-panel 目录启动 Tauri(代理到 WebUI 开发服务器)
npm run dev-webui

这种模式下:

  • WebUI 开发服务器运行在 https://localhost:3000
  • Tauri 代理服务器会将请求转发到 WebUI 开发服务器
  • 支持 HMR(热模块替换),修改 WebUI 代码会实时生效
  • API 请求仍会被 WebUI 开发服务器代理到 Sunshine 服务(https://localhost:47990

构建

# 构建渲染进程
npm run build:renderer

# 构建完整应用
npm run build

# Windows 构建
npm run build:win

项目结构

src-tauri/           # Tauri 后端 (Rust)
  ├── src/
  │   ├── main.rs            # 主入口、命令注册
  │   ├── proxy_server.rs    # Axum 本地代理 (Sunshine/Steam API/CORS)
  │   ├── sunshine.rs        # Sunshine 进程管理、路径工具
  │   ├── system.rs          # 系统信息 (WMI 进程查询、内存统计)
  │   ├── fs_utils.rs        # 文件系统、游戏扫描、Steam 封面搜索/上传
  │   ├── commands.rs        # HTTP 客户端、应用启动
  │   ├── vdd.rs             # VDD 驱动管理
  │   └── windows.rs         # Windows 注册表/autostart
  ├── inject-script.js       # 注入到 Sunshine Web UI 的脚本
  └── Cargo.toml

src/renderer/        # 前端 (Vue 3)
  ├── desktop/              # Desktop UI (独立 SPA)
  │   ├── views/            # 页面视图 (Dashboard、Apps、Settings...)
  │   ├── components/       # 组件 (AppGrid、ContextMenu、CoverPicker...)
  │   ├── composables/      # 组合式函数 (useApps、useTauri...)
  │   └── i18n/             # 国际化 (zh、en)
  ├── components/           # 共享组件
  └── styles/               # Less 样式

vite.config.js       # Vite 构建配置
package.json         # NPM 依赖

技术栈

  • 前端: Vue 3 + Less + 自定义组件
  • 后端: Rust + Tauri 2
  • HTTP: Axum (代理)、reqwest (HTTP 客户端)
  • 系统: WMI (进程查询)、Win32 API (内存统计)、Windows Registry
  • 构建: Vite

集成到 Sunshine

编译后的 GUI 会自动安装到 Sunshine 的 assets/gui 目录:

Sunshine/
  └── assets/
      └── gui/
          └── sunshine-gui.exe

注意事项

  • Tauri GUI 是可选组件,不影响 Sunshine 核心功能
  • 需要 Rust 工具链才能构建 Tauri 应用
  • 首次构建会下载并编译 Rust 依赖,需要较长时间

常见问题

What is sunshine-control-panel?

sunshine-control-panel is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by qiin2333. 🎮 Sunshine Foundation 大屏桌面管理器 | Tauri + Vue 3,游戏库管理、米塔AI助手、内存监控、Steam封面搜索、启动助手. It has 433 GitHub stars.

Is sunshine-control-panel safe to use?

Yes. sunshine-control-panel passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install sunshine-control-panel?

Clone the repository with "git clone https://github.com/qiin2333/sunshine-control-panel" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is sunshine-control-panel written in?

sunshine-control-panel is primarily written in Rust. It is open-source under qiin2333 on GitHub, so you can review or fork the full source.

Are there alternatives to sunshine-control-panel?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh sunshine-control-panel against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情