dsh-console
其他 活跃维护

dsh-console

2421873411a-rgb/dsh-console

支持统一管理DSH控制台下的Harness实例、DSH端口、FRP隧道及配额资源,提供可视化操作界面,可快速完成配置调整与资源状态监控,简化运维管理流程。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
C#
主要语言
None
开源协议
2.2 MB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:2421873411a-rgb/dsh-console
git clone https://github.com/2421873411a-rgb/dsh-console.git
git clone git@github.com:2421873411a-rgb/dsh-console.git
README.md main

DSH 控制台 (DeepSeek Console)

一个 Windows 桌面小工具:一键管理 DeepSeek Harness 全家桶 —— 启动/关闭 Harness、桌宠、DSH Web 端口、frp 隧道,并实时查看 GO 套餐 / DeepSeek 余额。

属于 DeepSeek Harness 生态工具,话题:dsh-plugin

界面预览

DSH 控制台

功能

  • 一键启动/关闭:DeepSeek Harness(Chrome App)、桌宠、DSH Web(端口 3080)、frp 隧道
  • 状态展示:绿色=运行中,白色=停止,带状态点
  • 套餐/余额查询:
    • OpenCode Go:滚动 / 周 / 月用量
    • DeepSeek 官网:余额
    • 支持在设置里切换查询源、修改 API Key
  • 系统托盘:最小化进托盘,托盘菜单打开/退出
  • 状态异步刷新,不卡 UI

目录

  • src/DSHConsole.cs - WPF 主程序(C#,.NET Framework 4,可用 csc 编译)
  • pet/dsh-pet-watchdog.ps1 - 桌宠守护脚本
  • tunnel/frpc.example.toml - frp 隧道示例配置
  • assets/ - DSH 官方字标

编译

Windows 自带 .NET Framework 编译器:

csc /nologo /target:winexe /codepage:65001 /out:DSHConsole.exe ^
  /r:System.dll /r:System.Drawing.dll /r:System.Management.dll /r:System.Web.Extensions.dll /r:System.Windows.Forms.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationFramework.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationCore.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\WindowsBase.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Xaml.dll ^
  src\DSHConsole.cs

使用前准备

  1. pet/dsh-pet.exe 已随仓库提供(Windows 编译版)
  2. 把 frpc 放到 tunnel/,并复制 frpc.example.toml 为 frpc.toml 填好你的服务器
  3. API Key 放在 ~/.dsh/.credentials.yaml:
    OPENCODE_GO_API_KEY: sk-...
    DEEPSEEK_API_KEY: sk-...

隐私说明

  • 本仓库不含任何真实 API Key / 服务器地址 / 个人路径
  • 实际运行路径通过 Environment / 程序所在目录动态解析