{"id":45607026,"url":"https://github.com/TwilightLemon/MyToolBar","last_synced_at":"2026-03-08T20:01:06.752Z","repository":{"id":211823683,"uuid":"678286201","full_name":"TwilightLemon/MyToolBar","owner":"TwilightLemon","description":"为Surface Pro而生的顶部工具栏 支持触控和笔快捷方式","archived":false,"fork":false,"pushed_at":"2025-12-10T13:21:01.000Z","size":1088,"stargazers_count":43,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-10T20:31:45.859Z","etag":null,"topics":["surfacepro","toolbar","win11","wpf"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TwilightLemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-14T07:42:56.000Z","updated_at":"2025-11-23T07:13:04.000Z","dependencies_parsed_at":"2025-12-10T16:10:37.520Z","dependency_job_id":null,"html_url":"https://github.com/TwilightLemon/MyToolBar","commit_stats":null,"previous_names":["twilightlemon/mytoolbar"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/TwilightLemon/MyToolBar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightLemon%2FMyToolBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightLemon%2FMyToolBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightLemon%2FMyToolBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightLemon%2FMyToolBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TwilightLemon","download_url":"https://codeload.github.com/TwilightLemon/MyToolBar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightLemon%2FMyToolBar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30271469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T19:37:39.917Z","status":"ssl_error","status_checked_at":"2026-03-08T19:37:23.566Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["surfacepro","toolbar","win11","wpf"],"created_at":"2026-02-23T16:00:31.179Z","updated_at":"2026-03-08T20:01:06.743Z","avatar_url":"https://github.com/TwilightLemon.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n\n# MyToolBar (Preview)\n\u003cimg src=\"https://raw.githubusercontent.com/TwilightLemon/MyToolBar/refs/heads/master/src/MyToolBar/Resources/icon.ico\" width=\"128\" height=\"128\"/\u003e\n\n✨ *为Surface Pro而生的顶部工具栏 支持触控和笔快捷方式* ✨\n\n[![LICENSE](https://img.shields.io/badge/license-GPL%20v3.0-blue.svg?style=flat-square)](https://github.com/TwilightLemon/MyToolBar/blob/master/LICENSE)\n![C#](https://img.shields.io/badge/lang-C%23-orange)\n![WPF](https://img.shields.io/badge/UI-WPF-b33bb3)\n[![GitHub Repo stars](https://img.shields.io/github/stars/TwilightLemon/MyToolBar)](https://github.com/TwilightLemon/MyToolBar/stargazers)\n\u003c/div\u003e\n\n## 🚀平台\n运行于 Windows10 1803~ Windows11  \n基于 .NET 8 和 WPF 开发  \n现已进入预发布阶段，欢迎体验和反馈！ \n \n## 📝 简介\n  这是一个为提升Surface等Windows平板设备体验的全局顶部栏工具，目标是：  \n-  实时了解和控制设备运行状态：硬件状态监控和快速进程管理，现由插件`MyToolBar.Plugin.BasicPackage`提供\n-  提供常用功能常驻平台、提升平板触控和笔的操作体验: 拓展触控笔菜单、侧边栏、顶部栏手势等交互方式，现由插件`MyToolBar.Plugin.TabletUtils`提供\n-  与WindowsUI融为一体\n-  轻量级和低功耗  \n-  高拓展性和可定制性\n\n当然，此app不仅适配平板，也同样适用于用鼠标操作的桌面设备。\n  \n  ![Main](https://raw.githubusercontent.com/TwilightLemon/Data/refs/heads/master/MTB_Settings_Main.jpg)\n## 😺 功能\n### 通过AppBar固定的顶部栏\n了解什么是AppBar(Win32 API): [WPF使用AppBar实现窗口停靠，适配缩放、全屏响应和多窗口并列](https://blog.twlmgatito.cn/posts/use-appbar-in-wpf/)\n- 左侧:   \n    点击\"〇\"打开主菜单;  \n    显示前台窗口Title (搭配无标题栏的应用如edge vscode等使用很香);\n\n- 中部: 外部控制（Outer Control）  \n    这里的设计是高亮显示的可交互信息，可通过插件进行拓展。目前在`MyToolBar.Plugin.BasicPackage`中提供了交互式媒体控制和简单的时钟显示插件。\n\n- 右部: \"胶囊(Capsules)\"交互信息显示区，并可以下滑（或单击）弹出详细信息(PopupWindow)。  \n    目前在`MyToolBar.Plugin.BasicPackage`中提供了以下功能：  \n   - 硬件监测: 电池、CPU占有率、内存占用、网络状态；PopupWindow为进程管理器提供进程查看和结束、`NT Kernel`级别的进程冻结和压缩功能，终结模式下可以查找挂起进程和焦点窗口进程，以便快速终结。\n   - 天气: (我移除了windows小部件 但很需要一个地方来显示天气) 通过GPS定位城市，有搜索、收藏功能，长按(鼠标右键点击)可设置为默认显示城市。\n   - 简易时钟显示。\n\n上面的Outer Control和Capsules都是由插件提供的，可以自行在设置页面中启用和调整。\n![Plugin](https://raw.githubusercontent.com/TwilightLemon/Data/refs/heads/master/MTB_Settings_Plugin.jpg)\n\n### 平板设备拓展工具 (由`MyToolBar.Plugin.TabletUtils`提供)\n现有功能：\n- 适用于触摸和笔的菜单：  \n在屏幕右上角滑动打开菜单，目前提供截图（调用系统截图工具）和屏幕绘制功能。屏幕绘制功能支持使用触控笔在屏幕上绘制，支持撤销和清除操作，可以使用笔进行书写，使用手指圈画以选择，双指点击以清除或粘贴内容(图像和文本)。\n- 左侧侧边栏：  \n触摸屏幕左侧边缘（鼠标靠近停留）打开侧边栏，现接入DeepSeek AI Chat\n\n![Tablet](https://raw.githubusercontent.com/TwilightLemon/Data/refs/heads/master/MTB_Settings_Services.jpg)\n### 保持与Windows高度融合\n- 沉浸模式与全屏应用融为一体\n- 支持Dark/Light Mode 跟随系统\n- 全局亚克力/云母材质特效\n- 支持Modern Standby待机模式和电源优化\n\n### More...\n\n## 📦 如何使用(Preview)\n1. 自行编译：  \n    - 编译整个项目\n    - 将`MyToolBar.Plugin.BasicPackage`和`MyToolBar.Plugin.TabletUtils`的dll文件及其依赖文件放入同名文件夹下，再放入`Plugins`文件夹  \n      插件文件结构如下：\n      ```\n      /MyToolBar.exe运行目录/Plugins/\n           MyToolBar.Plugin.BasicPackage/\n                MyToolBar.Plugin.BasicPackage.dll 主文件\n                MyToolBar.Plugin.BasicPackage.deps.json 依赖文件\n                ...其他依赖dll\n                /Zh-CN/xxxresource.dll 资源文件\n                ...\n      ```\n2. 到Release页面下载最新版本，解压到任意目录，运行MyToolBar.exe\n3. 计划上架Microsoft Store和WinGet\n\n## 版权声明\n本应用由 [TwilightLemon (https://blog.twlmgatito.cn) (QQ:2728578956)](https://twlm.space) 开发，Fork请保留原仓库地址和版权信息\n使用和传播请遵守GPL协议，详见LICENSE\n\nApp内部分矢量图标来自: [Iconfont](https://www.iconfont.cn)  \nWeather Api及Icon来自： [和风天气](https://www.qweather.com)\n\n\n\u003c!--\n## MyToolBar.Common API Doc\n//TODO: 提供统一的WindowBase实现\n//GlobalService提供由主进程注册的全局服务\n\n- WinAPI\n  #### 静态类 可直接使用\n\n  #### 注册类 由GlobalService提供接口\n\n- Behaviors\n    - [x] BlurWindowBehavior 提供窗口模糊效果和统一的暗亮色模式管理行为\n    - [x] DraggableUIBehavior \n    - [x] WindowDragMoveBehavior\n\n- Func\n     - [x] HttpHelper\n     - [x] ImageHelper\n\n- Styles\n     - [x] IconData 提供统一的常用图标资源\n     - [x] ThemeColor(_Light) 提供统一的主题颜色资源\n     - [x] UITemplate 提供常用控件的模板及样式 \n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTwilightLemon%2FMyToolBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTwilightLemon%2FMyToolBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTwilightLemon%2FMyToolBar/lists"}