Coder Social home page Coder Social logo

crequency / kitx Goto Github PK

View Code? Open in Web Editor NEW
1.2K 17.0 50.0 46.21 MB

An all-purpose toolbox app that connect everything.

Home Page: https://kitx.apps.crequency.com

License: GNU Affero General Public License v3.0

desktop dotnet kitx avalonia kitx-loaders android flutter ios linux macos

kitx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kitx's Issues

[Dashboard] 启动面板后如果没有进入过库页面, 贸然连接插件导致崩溃

📄 Describe the bug
启动面板后如果没有进入过库页面, 贸然连接插件导致崩溃

⛏ To Reproduce
Steps to reproduce the behavior:

  1. 提前设定主窗口页面选择为除库页面之外的页面
  2. 启动主窗口
  3. 连接插件
  4. See error

⚒ Expected behavior
Nope.

🖼 Screenshots
Nope.

🖥 Desktop (please complete the following information):

  • OS: Windows 11
  • Version KitX v3.22.04

📱 Smartphone (please complete the following information):
Nope.

📎 Additional context
Nope.

[Dashboard] KitX 无法运行

如题,下载 2.0.4 和 2.0.5-preview 的压缩包后解压并运行里面的可执行文件

能看到后台有 KitX.exe 的进程,但是没过多久就自动闪退了

根本就看不到 KitX.Helper.exe 的进程

运行下面的 KitX.Installer.Runner.bat 文件,出现一个图标为 KitX.Helper 的提示框,上面写着 Unable to connect to any of the specified MySQL hosts

猜测是需要在后台运行 MySQL 服务,但后台开了 MySQL 服务再执行上述步骤都是一样的错误

请问如何修复?

顺带一提,我的 Windows 版本为 Windows 10 专业版 21H2

[Mobile] One or more plugins require a higher Android SDK version in Mobile Client

📄 Describe the bug
As the title

⛏ To Reproduce
Steps to reproduce the behavior:

  1. Run flutter build apk

⚒ Expected behavior
A clear and concise description of what you expected to happen.

🖼 Screenshots
If applicable, add screenshots to help explain your problem.

🖥 Desktop (please complete the following information):

  • OS: Windows10 21H2
  • Version Latest main

📎 Additional context
Log:

Warning: The plugin network_info_plus requires Android SDK version 33.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /home/runner/work/KitX-Mobile/KitX-Mobile/kitx_mobile/android/app/build.gradle:
android {
  compileSdkVersion 33
  ...
}

[Roadmap] KitX Mobile | 移动端路线图

Any idea about KitX Mobile can be commented below this issue.
任何有关 KitX 移动端的想法可以在此 issue 下提出.

Features

  • Pages Design
    • Home
    • Devices
      • #266 .
      • Display devices server running status
    • Account
    • Settings
  • Functions
    • Refactor Json Serialization with built_value
    • Basic settings
    • Account system inject
    • Allow user manually restart devices discovery system
    • Devices Server
    • Internal Plugins
  • Data record
    • Device basic infomation
    • Device sensors data
      • Gyroscope
      • Accelerometer
      • Vibration
      • Real-time solution of device posture + 3D rendering
  • Crequency/KitX-Mobile#29 .
  • Crequency/KitX-Mobile#30 .
  • Crequency/KitX-Mobile#34 .

Fixes

Refactors

Give up

Developers Location | 开发阵地公告

目前主要在 QQ 群: 518573921 进行交流
若该阵地寄了将第一时间在此处发布新的交流方式

At present mainly in QQ Group: 518573921 for communication
If the position has been deactivated here will be the first time the release of new ways of communication

[Dashboard] Open settings page with big lagy

📄 Describe the bug
As title said, opening settings page is late first, and then recovery.

⛏ To Reproduce
Steps to reproduce the behavior:

  1. Run KitX Dashboard, every platform supported is ok.
  2. Click on Settings Button (Menu?).
  3. See lagy.

⚒ Expected behavior
Quick draw the UI.

🖼 Screenshots
No not yet.

🖥 Desktop (please complete the following information):

  • OS: Windows 11 21H2 22000.795 Windows 功能体验包 1000.22000.795.0
  • Version KitX v3.0.x

📱 Smartphone (please complete the following information):
No not yet.

📎 Additional context
No not yet.

[Dashboard] 窗口右上角严重虚化

📄 Describe the bug
窗口又右上角严重虚化

⛏ To Reproduce
null

⚒ Expected behavior
null

🖼 Screenshots
image
image
🖥 Desktop (please complete the following information):

  • OS: [Windows 11 21H2 22000.856]
  • Version [KitX v3.22.04.6235]
  • 屏幕缩放125%

📎 Additional context
在不同的窗口大小下错位不一致

[Dashboard] Record Plugins List and save in Repo, load in Library

🪦 Is your feature request related to a problem? Please describe.
No not yet.

🪧 Describe the solution you'd like
Save the Plugins List in Repo page, and show running plugins in Lib page.

🧾 Describe alternatives you've considered
No not yet.

📎 Additional context
No not yet.

[Dashboard] Error location got when exiting if window is minimized

📄 Describe the bug

If window is minimized, then go to exit app, you will found that the location recorded in config.json is (-32000,-32000) (2560x1440 dpi 100%), which leads to error window location next time you launch dashboard.

⛏ To Reproduce

  1. Launch Dashboard.
  2. Minimize main window.
  3. Right click on KitX Dashboard tray icon.
  4. Click Exit.
  5. Relaunch Dashboard.
  6. See error.

⚒ Expected behaviour

When deteact window is minimized then record no location.

🖥 Client version

  • Device: Desktop
  • OS: Windows 11
  • Version: v3.22.10.x (any version before has same problem)

🖼 Screenshots

No response

📎 Additional context

No response

[Dashboard] 更精确的 OSVersion 获取

🪦 Is your feature request related to a problem? Please describe.

现有的 OSVersion string 来自于 Environment.OSVersion , 这可能并不能准确代表当前运行中的宿主机的系统版本
我们需要更精确的逻辑来获取 OSVersion 字段

🪧 Describe the solution you'd like

我们可能需要根据操作系统分别写对应的客户机代码
Windows 可以通过命令行, 或者是注册表获取
Linux 可以通过更多其它办法获取

🧾 Describe alternatives you've considered

No response

📎 Additional context

No response

i18n | 国际化

🪦 Is your feature request related to a problem? Please describe.

🪧 Describe the solution you'd like

🧾 Describe alternatives you've considered

📎 Additional context

[Dashboard] 无法连接插件

📄 Describe the bug
KitX v3.22.04.6235 Release 无法连接测试插件闪退

⛏ To Reproduce
Steps to reproduce the behavior:

  1. 打开 KitX Dashboard.exe, 记下设置->通用中KitX Dashboard的运行端口
  2. 下载 KitX.Loader.WPF.Core.7z 和 TestPlugin.WPF.Core.7z 并解压
  3. 执行命令: ./KitX.Loader.WPF.Core.exe --load TestPlugin.WPF.Core.dll --connect 127.0.0.1:端口

📃 Log
Log_2022.09.21_Debug.log

2022.09.21-10:50:04 Server Port: 57549
2022.09.21-10:50:06 UDP Receive: {"DeviceName":"DESKTOP-GTPGN5D","DeviceOSVersion":"Microsoft Windows NT 10.0.19044.0","IPv4":"192.168.232.1","IPv6":"fe80::8c66:9d81:324c:439a%17","DeviceMacAddress":"A036BC281F98","ServingPort":57549,"PluginsCount":0,"SendTime":"2022-09-21T10:50:06.3587054+08:00","IsMainDevice":false,"DeviceOSType":9}
2022.09.21-10:50:08 UDP Receive: {"DeviceName":"DESKTOP-GTPGN5D","DeviceOSVersion":"Microsoft Windows NT 10.0.19044.0","IPv4":"192.168.232.1","IPv6":"fe80::8c66:9d81:324c:439a%17","DeviceMacAddress":"A036BC281F98","ServingPort":57549,"PluginsCount":0,"SendTime":"2022-09-21T10:50:08.3448699+08:00","IsMainDevice":false,"DeviceOSType":9}
2022.09.21-10:50:10 UDP Receive: {"DeviceName":"DESKTOP-GTPGN5D","DeviceOSVersion":"Microsoft Windows NT 10.0.19044.0","IPv4":"192.168.232.1","IPv6":"fe80::8c66:9d81:324c:439a%17","DeviceMacAddress":"A036BC281F98","ServingPort":57549,"PluginsCount":0,"SendTime":"2022-09-21T10:50:10.3384524+08:00","IsMainDevice":false,"DeviceOSType":9}
......

Log_2022.09.21_Error.log

2022.09.21-10:50:04 No surpport language file loaded.
2022.09.21-10:54:07 No surpport language file loaded.
2022.09.21-10:54:28 Error: In ReciveMessage() : Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2022.09.21-10:54:31 Error: In ReciveMessage() : Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.

🖼 Screenshots
能稳定复现应该不需要

🖥 Desktop

  • OS: Windows 10 21H2
  • Version KitX v3.22.04.6235 Release

[Dashboard] 关于 KitX 获取本机内网地址方式的 Bug

📄 Describe the bug
我们需要一个更优秀的获取本机内网地址的方式

⛏ To Reproduce
...

⚒ Expected behavior
获取正确的内网地址并且保证局域网发现的可靠性

🖼 Screenshots
...

🖥 Desktop (please complete the following information):
...

📱 Smartphone (please complete the following information):
...

📎 Additional context
...

[Mobile] 使移动端发送 UDP 设备报文的功能成为系统服务, 以便保持设备发现能力

🪦 Is your feature request related to a problem? Please describe.
目前大多数品牌的手机均拥有智能电源管理, 若 KitX 应用不在前台时, 会自动杀死 KitX, 所以希望 KitX 能够让 UDP 报文相关功能作为系统服务运行. 当然, 保持后台运行的功能最好由用户选择是否开启.

🪧 Describe the solution you'd like
No response.

🧾 Describe alternatives you've considered
No response.

📎 Additional context
No response.

[Roadmap] KitX SDK | 构建等开发工具路线图

Any idea about KitX Tools can be commented below this issue.
任何有关 KitX 工具集的想法可以在此 issue 下提出.


2024.02.08 Added


  • 项目初始化脚本 (ToolKits/start.sh(ps1))
    • 列出可选项
  • KitX.Struct.Producer
    • 生成模板以便开发者修改
  • 多语言文件辅助工具
    • 扫描文件, 提炼 key 与值, 用表呈现

[Mobile] 移动端设备发现页始终将本机置顶

🪦 Is your feature request related to a problem? Please describe.
...

🪧 Describe the solution you'd like
将本机设备卡片置顶

🧾 Describe alternatives you've considered
...

📎 Additional context
...

[Dashboard] 添加与加强插件与仪表盘的通讯

🪦 Is your feature request related to a problem? Please describe.
No

🪧 Describe the solution you'd like
插件给仪表盘发包时,总该返回消息;
发送心跳包检测插件状态

🧾 Describe alternatives you've considered
TCP通讯

📎 Additional context
None

[Roadmap] KitX Loaders | 加载器路线图

Any idea about loaders can be commented below in this issue.
任何有关加载器的想法, 可以在此 issue 下面提出.

  • CSharp
    • Loader.CSharp
      • #256 .
      • 寻找合适的 C# 插件框架 - MEF Comfirmed~~
      • 连接仪表盘
      • 执行插件
      • 接收命令并执行, 发送命令
    • Loader.WPF.Core (已改为使用 KitX.Loader.CSharp 作为基础加载器)
    • Loader.Winform.Core (使用 KitX.Loader.CSharp 作为基础加载器)
  • C++
    • 主动加载器路线 (banned, 不考虑在 C/C++ 等语言上使用主动加载路线)
      • 寻找合适的 C++ 插件框架
      • 连接仪表盘
      • 执行插件
      • 接受命令并执行, 发送命令
      • 使用 spdlog 作为日志库
    • 自加载路线
      • KitX.Contract.Cpp
  • Python

[Dashboard] 调色板无作用, 主题色没有保存的错误

📄 Describe the bug
As title said.

⛏ To Reproduce
...

⚒ Expected behavior
...

🖼 Screenshots
...

🖥 Desktop (please complete the following information):

  • OS: ...
  • Version ...

📱 Smartphone (please complete the following information):

  • Device: ...
  • OS: ...
  • Version ...

📎 Additional context
...

子模块一键clone脚本

对于部分新手来说, KitX 子模块的管理方式可能是陌生而且前所未见的
所以我们需要一个一键clone脚本来帮助这部分新手快速搭建好环境

[Dashboard] 更新页面 UI 太丑了。。。

🪦 Is your feature request related to a problem? Please describe.
如题
GIF 2022-10-3 0-27-01

🪧 Describe the solution you'd like
如题

🧾 Describe alternatives you've considered
建议改为居中。。。右对齐也行

📎 Additional context
Add any other context or screenshots about the feature request here.

[Mobile] 移动端设备发现模块存在错误

📄 Describe the bug
未能够正确发现本机以及局域网中的其它设备

⛏ To Reproduce
...

⚒ Expected behavior
正确显示本机以及局域网中的其他设备

🖼 Screenshots
image

🖥 Desktop (please complete the following information):
...

📱 Smartphone (please complete the following information):
...

📎 Additional context
断开 Wifi 连接并取消保存, 重新连接 Wifi, 再重启 KitX 恢复正常
根据日志推测, IPv6 获取失败导致了异常

[Dashboard] Auto time sync

目前已知的情况是, 当设备网络环境发生变化时, 可能发生意想不到的错误
所以我们需要当设备网络环境发生变化时, 自动重置相关对象, 重新进行网络操作
或是提示用户手动重置网络

[Dashboard] Arch Linux 上应用无法启动

系统信息:

OS: Arch Linux x86_64
Kernel: 5.15.61-1-lts
DE: GNOME 42.4

我下载的压缩包是kitx-linux-x64-v3.22.04.6235-single.7zkitx-linux-x64-v3.22.04.6235-single-cut.7z,均无法启动。
解压后授予KitX Dashboard文件可执行权限,双击无反应,在进程中发现KitX Dashboard正在运行。
手动结束进程后尝试在终端中执行./KitX\ Dashboard,终端被应用占用且无输出。

注意到目录中存在Log文件夹,打开后看到有一个Log_2022.08.20_Error.log文件,其中记录的信息是:No surpport language file loaded.

[Dashboard] 新的遍历所有网络适配器来发送报文的方式存在严重问题

📄 Describe the bug
若遍历完成所有网络适配器并未找到符合要求的网络适配器, 可能存在可以发送报文但被过滤的适配器

⛏ To Reproduce
...

⚒ Expected behavior
仅存在一个适配器或者没有找到符合要求的适配器时, 使用系统分配的适配器

🖼 Screenshots
...

🖥 Desktop (please complete the following information):
...

📱 Smartphone (please complete the following information):
...

📎 Additional context
...

[Roadmap] KitX Website | 网站建设路线图

Any idea about KitX Website can be commented below at this issue.
任何有关 KitX 网站的想法可以在此 issue 下面提出

  • 基础界面与功能
    • 仓库链接
    • 文档链接
    • 深浅切换
    • 语言切换 (UI)
    • 下载链接 (UI)
      按照架构, 操作系统以及不同的打包方式进行区分
  • 用户系统 (developing in Nerves)
  • 插件市场
    • 插件存储系统
    • 上传审核后台面板
    • 前端查询

Problems

[Roadmap] KitX Plugins | 插件开发路线图

Any idea about new feature and new plugin can be commented in #219 , thanks.
有新功能和新插件的任何想法, 可以在 #219 中提出, 蟹蟹

Built-in Plugins

Mobile

  • Auto time sync
  • Notify service provider
  • Sensors data provider
  • Actions bubble

用户插件

  • 截图插件 (包括颜色选取等功能)
  • 基本图像处理插件
  • 验证码接收插件
  • 文件传输插件
  • PDF 预览, 编辑插件
  • 信息爬取插件
    等待适用于 C++ 的 Self Loader 完成即可完成迁移
  • 聚合搜索(包含本地文件搜索、专项搜索(如学术、音乐、影视))插件
  • 翻译插件
  • 剪贴板插件(读取、流送、分类、历史记录)
  • 快捷操作插件
  • OCR 插件
  • 桌宠插件 (考虑 live2d)
  • MS Office 预览, 编辑插件
  • 文本编辑插件 (兼容 markdown 语法)
  • 窗口标签页插件
  • 文件批量操作插件
  • 检查文件占用以及文件夹占用插件 (提供快捷终止进程方法)
  • hosts 文件编辑器
  • 保持唤醒临时禁用休眠, 睡眠等策略插件
  • 窗口置顶插件
  • 计算器插件
  • 字体查看器
  • 综合媒体播放器
  • 远程控制插件
  • 微软 TTS 插件
  • 设备资源监控插件 by @StardustSeemsInk
  • 桌面课表插件 by @StardustSeemsInk
  • 天气插件

[Dashboard] HighContrast 主题启动后切换主题会出现不正常的窗体透明

📄 Describe the bug
使用 High Contrast 主题启动, 切换到 Light/Dark 主题, 窗体变得半透明

⛏ To Reproduce
Steps to reproduce the behavior:

  1. 启动 KitX
  2. 转到 设置
  3. 更改主题为 HighContrast
  4. 退出 KitX
  5. 启动 KitX
  6. 转到 设置
  7. 更改主题为 Light 或是 Dark
  8. 发现错误

⚒ Expected behavior
应当变成正常的 Light/Dard 主题, 不应该出现异常的半透明问题

🖼 Screenshots
image

🖥 Desktop (please complete the following information):

  • OS: Windows 11 21H2 22000.832 Windows 功能体验包 1000.22000.832.0
  • Version KitX v3.2204.x

📱 Smartphone (please complete the following information):
Nope.

📎 Additional context
No not yet.

readme 中的中文文档指向了一个 404 链接

The 'Crequency/KitX' repository doesn't contain the 'KitX Docs/zh-cn/README.md' path in 'main'.

同样,现有的文档没法理解这个工具箱第三方开发者应该如何参与开发,缺少很好的插件例子

Q: 关于插件的实现

按我的理解是插件编译为托管dll,然后调用预先规定名称的函数吗
似乎是直接用GetExportedValues导入为IIdentityInterface对象后启动controller然后向dashboard发送json化的插件信息?
也就是说每一个插件都有一个loader相对应吗
这样的话有些无法编译为托管dll的语言是怎么支持的?插件间的交互如自定义函数按名调用是怎么实现的?
(我不太熟悉csharp,没有在源码里找到相应的功能)

Speed Up | 性能优化

🪦 Is your feature request related to a problem? Please describe.

🪧 Describe the solution you'd like

🧾 Describe alternatives you've considered

📎 Additional context

[Dashboard] Windows 平台窗口尺寸保存错误

📄 Describe the bug
Windows 平台上主窗口初始化之后, 可能由于某些原因, Width 和 Height 莫名其妙变了

⛏ To Reproduce
Steps to reproduce the behavior:

  1. 更改窗口尺寸配置为 1280x720 在 config.json 中
  2. 启动程序
  3. 关闭程序
  4. 打开 config.json
  5. See error

⚒ Expected behavior
Width 和 Height 理应保持不变

🖼 Screenshots
Nope

🖥 Desktop (please complete the following information):

  • OS: Windows 11 [Not confirmed on other version]
  • Version: KitX v3.2204.x+

📱 Smartphone (please complete the following information):
Nope

📎 Additional context
Nope

[Roadmap] KitX Dashboard | 仪表盘路线图

Any idea about KitX Dashboard can be commented below this issue.
任何有关 KitX 仪表盘的想法可以在此 issue 下提出.

Features

Archived
  • 文档
    • 新手入门指引
      • 环境搭建指引
      • 源代码获取指引
      • 构建指引
  • 本地插件管理
    • #185
    • 库界面点击启动自动执行插件
    • 库界面拖拽 .kxp 进行插件安装
  • 本地插件调用入口
    • 快捷面板的形式
  • 自组网
    • 自动建立, 自动连接
    • 设备页 UI 的显示更新
    • 后建立主控网络的仪表盘自动放弃
    • 断连恢复
    • 允许用户手动重启自发现服务
    • #202
  • 通信标准的规范化
    • #145
    • 调用命令
    • 回调命令
  • 面向最终用户的安装包
  • 软件性质功能
  • 国际化
    • 一个方便的编辑 KitX 多语言资源的工具
  • #195
    • 调试相关命令
      • 重复执行命令指定次数
  • 活动日志系统
    • Activity 及其相关结构抽象
    • LiteDB 的相关 Manager
    • 界面呈现
  • 启动时检查
    • 确保 KitX Dashboard 只有一个进程运行, 如果已有 KitX 进程则自行退出
  • 配置系统
    • 配置文件热重载
      • 监控配置文件更改
      • 触发重载事件
  • 构建脚手架
  • 稳定性相关功能
    • #202
      • 重新识别适配器, 重新加入组播, 重新开始发包收包流程
      • 重新开始设备网络相关流程

Fixes

Refactors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.