SuiDemo
🎯 A modern, production-ready desktop app template built with Wails v3 | 一款使用 Wails v3 构建的现代桌面应用模板
Install / Use
/learn @JinGongX/SuiDemoREADME
简体中文
🎯 一个使用 Wails v3 构建的现代桌面应用模板,开箱即用地集成了以下功能:
- 🌍 多语言支持
- 🌗 黑暗 / 明亮主题切换
- 🗂️ SQLite 数据库读写示例(增删改查)
- ⌨️ 快捷热键支持(支持后续扩展与自定义)
- 🧱 可扩展的前后端架构,适合二次开发
- 🚀
wails3 init -n "Your Project Name" -t https://github.com/JinGongX/SuiDemo直接创建项目
- ✨ 可配置快捷热键功能
💻 技术栈
| 部分 | 技术 | |--------------|--------------------------| | 前端 | Vue 3 + TypeScript | | 样式 | Tailwind CSS | | 国际化 | vue-i18n | | 桌面框架 | Wails v3 | | 数据库 | SQLite(使用 Go 操作) |
🚀 快速开始
环境准备
确保你已安装以下依赖:
# 安装 Wails CLI
go install github.com/wailsapp/wails/v3/cmd/wails3@latest
# 运用模版创建项目并运行项目
wails3 init -n myproject -t https://github.com/JinGongX/SuiDemo
cd myproject
#启动开发模式
wails3 dev
#构建生产包
wails3 package
#构建后的应用在 bin 目录下可找到。
🧱 项目结构
SuiDemo/
├── frontend/ # Vue3 前端代码
│ ├── src/
│ │ ├── locales/ # 多语言资源文件
│ │ ├── components/ # Vue 组件
│ │ └── App.vue
├── internal/ # Go 后端服务
├── platform/ # mac / win 差异
├── main.go.tmpl # 应用入口
├── Taskfile.yml # Wails 配置文件
└── go.mod
📜 许可证
MIT License
📸 界面展示
<p align="center"> <img src="effect/zh/dashboard_zh_not.png" width="340" /> <img src="effect/zh/dashboard_black_zh.png" width="340" /> </p> <p align="center"> <img src="effect/zh/settings_zh.png" width="340" /> <img src="effect/zh/settings_black_zh.png" width="340" /> </p> <p align="center"> <img src="effect/zh/about_zh.png" width="340" /> <img src="effect/zh/about_black_zh.png" width="340" /> </p>🙌 鸣谢
💬 联系方式
如果你对这个项目感兴趣或有任何建议,欢迎提 issue 或发邮件联系我 ggfugg8@icloud.com
English
🧩Project Overview
🌍 A Wails v3-based desktop application template with i18n, dark mode, and SQLite integration.
- ✅ Internationalization (i18n) using
vue-i18n - 🌗 Automatic light/dark theme support with manual override
- 🗃️ SQLite database integration with CRUD operations
- ⌨️ Keyboard shortcut (hotkey) support for efficient interaction and easy extension
- ⚙️ Settings panel and hotkey configuration demo
- 💡 Built with Wails v3, Vue 3, and TypeScript
- 🚀
wails3 init -n "Your Project Name" -t https://github.com/JinGongX/SuiDemoCreate a project
📦Tech Stack
| Module | Technology | Description | |---------------|---------------------|--------------------------------------------| | Desktop Shell | Wails v3 | Build cross-platform apps using Go + Web | | Frontend | Vue 3 + TypeScript | Modern reactive frontend framework | | Styling | Tailwind CSS | Utility-first CSS framework | | i18n | vue-i18n | Seamless internationalization | | Database | SQLite + Go | Local storage powered by SQLite and Go |
🚀Getting Started
1.Install Dependencies
# install Wails CLI
go install github.com/wailsapp/wails/v3/cmd/wails3@latest
# create project
wails3 init -n myproject -t https://github.com/JinGongX/SuiDemo
cd myproject
# Run in Dev Mode
wails3 dev
# Build for Production
wails3 package
🧱 Project Structure
SuiDemo/
├── frontend/ # Vue3 code
│ ├── src/
│ │ ├── locales/
│ │ ├── components/
│ │ └── App.vue
├── internal/ # Go api code
├── platform/ # mac / win difference
├── main.go.tmpl
├── Taskfile.yml # Wails config
└── go.mod
📸 Screenshots
<p align="center"> <img src="effect/en/Dashboard_en.png" width="340" /> <img src="effect/en/dashboard_black_not_en.png" width="340" /> </p> <p align="center"> <img src="effect/en/settings_en.png" width="340" /> <img src="effect/en/settings_black_en.png" width="340" /> </p> <p align="center"> <img src="effect/en/about_en.png" width="340" /> <img src="effect/en/about_black_en.png" width="340" /> </p>📜 License
MIT License
🙌 Acknowledgements
💬 Contact
If you find this useful or have suggestions, feel free to open an issue or reach out. Email: ggfugg8@icloud.com
⭐ Star History
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
353.1kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
