Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a simple desktop frontend implement base rust+tauri #49

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

alimy
Copy link
Collaborator

@alimy alimy commented Jun 2, 2022

  • add a simple desktop frontend implement base rust+tauri

添加一个简单的桌面版本实现。其实就是为web ui提供一个类似Electron的容器,复用web ui前端,提供桌面app的用户体验。
这里选用tauri 作为webview容器,简单的构建出一个桌面app。

为什么选择tauri作为webview容器?
简单、小、够用。 构建出的app在Macos 中只有8.2MB,比较小。

构建桌面端需要什么环境?
tauri是Rust编写的,所以需要一个Rust编译环境

目前实现状态?
初步实现状态,仅仅提供一个webview环境给web ui使用,还需要后续完善,比如桌面图标还没有与web同步,是随便找的一个图标暂时替代的。

预览效果:

@alimy alimy requested a review from rocboss June 2, 2022 05:06
@rocboss rocboss merged commit 047ab9f into rocboss:main Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants