editor readme
This commit is contained in:
parent
f2753de7b6
commit
44e38dc471
11 changed files with 263 additions and 82 deletions
169
README.en.md
169
README.en.md
|
|
@ -1,36 +1,155 @@
|
|||
# godoos
|
||||
<p align="center">
|
||||
<img src="./build/appicon.png" width="120" height="120">
|
||||
</p>
|
||||
|
||||
#### Description
|
||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||
<h1 align="center">GodoOS</h1>
|
||||
一款高效的内网办公平台,内含word/excel/ppt/pdf/内网聊天/白板/思维导图等多个办公系统工具,支持原生文件存储。平台界面精仿windows风格,操作简便,同时保持低资源消耗和高性能运行。无需注册即可自动连接内网用户,实现即时通讯和文件共享。
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
<div align="center">
|
||||
|
||||
#### Installation
|
||||
[![license][license-image]][license-url]
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
[English](README.md) | 简体中文
|
||||
|
||||
#### Instructions
|
||||
### 安装
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
[![Windows][Windows-image]][Windows-url]
|
||||
[![MacOS][MacOS-image]][MacOS-url]
|
||||
[![Linux][Linux-image]][Linux-url]
|
||||
|
||||
#### Contribution
|
||||
[官方文档](./docs/Api.md) | [使用说明](./docs/Guide.md)
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
[license-image]: ./docs/img/license_%20MIT.svg
|
||||
|
||||
[license-url]: https://spdx.org/licenses/MIT.html
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
[Windows-image]: ./docs/img/Windows.svg
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
[Windows-url]: https://
|
||||
|
||||
[MacOS-image]: ./docs/img/MacOS.svg
|
||||
|
||||
[MacOS-url]: https://
|
||||
|
||||
[Linux-image]: ./docs/img/Linux.svg
|
||||
|
||||
[Linux-url]: https://
|
||||
|
||||
</div>
|
||||
|
||||
## 亮点
|
||||
- 零配置,无需注册,下载即用
|
||||
- 零污染,无插件依赖
|
||||
- 精小,打包后仅63M,确包含了所有的办公套件
|
||||
- 可无限扩展,支持自定义应用
|
||||
- golang开发后端,低资源消耗和高性能
|
||||
|
||||
## 功能说明
|
||||
|
||||
### 一、系统桌面
|
||||
- 精仿windows风格
|
||||
- 桌面文件管理
|
||||
- 支持原生文件拖拽上传
|
||||
<img src="./docs/img/home.png" width="600" />
|
||||
|
||||
### 二、文件管理
|
||||
- 文件拖拽上传
|
||||
- 文件搜索
|
||||
- 原生文件存储
|
||||
<img src="./docs/img/file.png" width="600" />
|
||||
|
||||
### 三、内网聊天
|
||||
- 无需繁琐的注册流程,只需在同一局域网内,即可自动发现并列出所有可用的聊天对象,即刻开启即时通讯。支持基于局域网的即时消息传输、文件传输等功能,促进团队内部的无缝沟通与协作。
|
||||
<img src="./docs/img/localchat.png" width="600" />
|
||||
|
||||
### 四、文档
|
||||
- 简便的word编辑器,原生存储,支持二维码、手写签名,导入导出
|
||||
<img src="./docs/img/doc.png" width="600" />
|
||||
|
||||
### 五、表格
|
||||
- 原生存储,Excel编辑器,支持导入、导出,支持图片、公式
|
||||
<img src="./docs/img/excel.png" width="600" />
|
||||
|
||||
### 六、markdown
|
||||
- 原生存储,采用vditor,支持导入、导出,支持大纲、实时预览
|
||||
<img src="./docs/img/markdown.png" width="600" />
|
||||
|
||||
### 七、思维导图
|
||||
- 内置多种主题;支持快捷键;节点内容支持图片、图标、超链接、备注、标签。
|
||||
<img src="./docs/img/mind.png" width="600" />
|
||||
|
||||
### 八、演示文稿
|
||||
- 原生存储,采用pptist,支持文字、图片、形状、线条、图表、表格、视频、公式等。
|
||||
<img src="./docs/img/ppt.png" width="600" />
|
||||
|
||||
### 九、文件编辑器
|
||||
- 原生存储,支持打开text/html/css/js/svg/xml/md等,可以当作一个简单的在线editplus。
|
||||
<img src="./docs/img/fileeditor.png" width="600" />
|
||||
|
||||
### 十、白板
|
||||
- 集自由布局、画笔、便签多种创意表达能力于一体,激发团队创造力,随时随地,围绕一块白板沟通。
|
||||
<img src="./docs/img/baiban.png" width="600" />
|
||||
|
||||
### 十一、图片编辑
|
||||
- 一个小型的photoshop,原生存储,支持搜索图片,支持图片裁剪、旋转、缩放、滤镜等功能
|
||||
<img src="./docs/img/pic.png" width="600" />
|
||||
|
||||
### 十二、甘特图
|
||||
- 项目管理必备工具,支持自定义项目人员和角色,支持拖拽/管理分配(资源、角色、工作)等。
|
||||
<img src="./docs/img/gant.png" width="600" />
|
||||
|
||||
### 十三、浏览器
|
||||
- 一款简单的内置浏览器
|
||||
<img src="./docs/img/ie.png" width="600" />
|
||||
|
||||
|
||||
### 十四、系统设置
|
||||
- 可在这里切换存储方式,可切换系统背景。
|
||||
<img src="./docs/img/setting-store.png" width="600" />
|
||||
|
||||
### 十五、应用商店
|
||||
- 应用商店管理,可添加外部应用。
|
||||
|
||||
### 十六、截图
|
||||
- 一个简单的截图工具。截图后文件存到本地。
|
||||
|
||||
### 十七、录屏
|
||||
- 一个简单的录屏工具。录屏后录后文件存到本地。
|
||||
|
||||
### 十八、计算器
|
||||
- 一个仿windows10的计算器,支持历史记录。
|
||||
<img src="./docs/img/cal.png" width="600" />
|
||||
|
||||
### 十九、音乐库
|
||||
- 一个简单的声音存储库,支持播放音乐。
|
||||
|
||||
### 二十、图片库
|
||||
- 一个简单的图片存储库,支持查看图片
|
||||
|
||||
### 二十一、看板
|
||||
- 支持标准看板,项目管理必备工具,可快速创建看板并放置到不同的文件夹
|
||||
<img src="./docs/img/kanban.png" width="600" />
|
||||
|
||||
## 开发
|
||||
### 构建
|
||||
- 前端构建
|
||||
```bash
|
||||
cd frontend
|
||||
pnpm i
|
||||
pnpm build
|
||||
```
|
||||
- 后端构建
|
||||
```bash
|
||||
# go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||
wails build
|
||||
# wails build -nsis -upx //you need install nsis and upx
|
||||
```
|
||||
## 感谢
|
||||
- [element-plus](http://element-plus.org/)
|
||||
- [vue3](https://v3.cn.vuejs.org/)
|
||||
- [wails](https://wails.io/)
|
||||
- [pptist](https://github.com/pipipi-pikachu/PPTist)
|
||||
- [vditor](https://github.com/Vanessa219/vditor)
|
||||
- [mind-map](https://github.com/wanglin2/mind-map)
|
||||
- [canvas-editor](https://github.com/Hufe921/canvas-editor)
|
||||
33
README.md
33
README.md
|
|
@ -3,10 +3,10 @@
|
|||
</p>
|
||||
|
||||
<h1 align="center">GodoOS</h1>
|
||||
<div align="center">
|
||||
|
||||
一款高效的内网办公平台,内含word/excel/ppt/pdf/内网聊天/白板/思维导图等多个办公系统工具,支持原生文件存储。平台界面精仿windows风格,操作简便,同时保持低资源消耗和高性能运行。无需注册即可自动连接内网用户,实现即时通讯和文件共享。
|
||||
|
||||
<div align="center">
|
||||
|
||||
[![license][license-image]][license-url]
|
||||
|
||||
[English](README.md) | 简体中文
|
||||
|
|
@ -26,18 +26,26 @@
|
|||
|
||||
[Windows-image]: ./docs/img/Windows.svg
|
||||
|
||||
[Windows-url]: https://
|
||||
[Windows-url]: https://gitee.com/ruitao_admin/godoos/releases/download/v1.0.0/godoos-windows.exe
|
||||
|
||||
[MacOS-image]: ./docs/img/MacOS.svg
|
||||
|
||||
[MacOS-url]: https://
|
||||
[MacOS-url]: https://gitee.com/ruitao_admin/godoos/releases/download/v1.0.0/godoos-macos.dmg
|
||||
|
||||
[Linux-image]: ./docs/img/Linux.svg
|
||||
|
||||
[Linux-url]: https://
|
||||
[Linux-url]: https://gitee.com/ruitao_admin/godoos/releases/download/v1.0.0/godoos-linux
|
||||
|
||||
</div>
|
||||
|
||||
## 亮点
|
||||
- 无需联网使用,全开源
|
||||
- 零配置,无需注册,下载即用
|
||||
- 零污染,无插件依赖
|
||||
- 精小,打包后仅61M,确包含了所有的办公套件
|
||||
- 可无限扩展,支持自定义应用
|
||||
- golang开发后端,低资源消耗和高性能
|
||||
|
||||
## 功能说明
|
||||
|
||||
### 一、系统桌面
|
||||
|
|
@ -125,7 +133,19 @@
|
|||
<img src="./docs/img/kanban.png" width="600" />
|
||||
|
||||
## 开发
|
||||
|
||||
### 构建
|
||||
- 前端构建
|
||||
```bash
|
||||
cd frontend
|
||||
pnpm i
|
||||
pnpm build
|
||||
```
|
||||
- 后端构建
|
||||
```bash
|
||||
# go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||
wails build
|
||||
# wails build -nsis -upx //you need install nsis and upx
|
||||
```
|
||||
## 感谢
|
||||
- [element-plus](http://element-plus.org/)
|
||||
- [vue3](https://v3.cn.vuejs.org/)
|
||||
|
|
@ -133,3 +153,4 @@
|
|||
- [pptist](https://github.com/pipipi-pikachu/PPTist)
|
||||
- [vditor](https://github.com/Vanessa219/vditor)
|
||||
- [mind-map](https://github.com/wanglin2/mind-map)
|
||||
- [canvas-editor](https://github.com/Hufe921/canvas-editor)
|
||||
BIN
build/windows/installer/tmp/MicrosoftEdgeWebview2Setup.exe
Normal file
BIN
build/windows/installer/tmp/MicrosoftEdgeWebview2Setup.exe
Normal file
Binary file not shown.
|
|
@ -5,19 +5,19 @@
|
|||
!include "FileFunc.nsh"
|
||||
|
||||
!ifndef INFO_PROJECTNAME
|
||||
!define INFO_PROJECTNAME "{{.Name}}"
|
||||
!define INFO_PROJECTNAME "godoos"
|
||||
!endif
|
||||
!ifndef INFO_COMPANYNAME
|
||||
!define INFO_COMPANYNAME "{{.Info.CompanyName}}"
|
||||
!define INFO_COMPANYNAME "godoos"
|
||||
!endif
|
||||
!ifndef INFO_PRODUCTNAME
|
||||
!define INFO_PRODUCTNAME "{{.Info.ProductName}}"
|
||||
!define INFO_PRODUCTNAME "godoos"
|
||||
!endif
|
||||
!ifndef INFO_PRODUCTVERSION
|
||||
!define INFO_PRODUCTVERSION "{{.Info.ProductVersion}}"
|
||||
!define INFO_PRODUCTVERSION "1.0.0"
|
||||
!endif
|
||||
!ifndef INFO_COPYRIGHT
|
||||
!define INFO_COPYRIGHT "{{.Info.Copyright}}"
|
||||
!define INFO_COPYRIGHT "Copyright........."
|
||||
!endif
|
||||
!ifndef PRODUCT_EXECUTABLE
|
||||
!define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe"
|
||||
|
|
@ -203,20 +203,12 @@ RequestExecutionLevel "${REQUEST_EXECUTION_LEVEL}"
|
|||
|
||||
!macro wails.associateFiles
|
||||
; Create file associations
|
||||
{{range .Info.FileAssociations}}
|
||||
!insertmacro APP_ASSOCIATE "{{.Ext}}" "{{.Name}}" "{{.Description}}" "$INSTDIR\{{.IconName}}.ico" "Open with ${INFO_PRODUCTNAME}" "$INSTDIR\${PRODUCT_EXECUTABLE} $\"%1$\""
|
||||
|
||||
File "..\{{.IconName}}.ico"
|
||||
{{end}}
|
||||
|
||||
!macroend
|
||||
|
||||
!macro wails.unassociateFiles
|
||||
; Delete app associations
|
||||
{{range .Info.FileAssociations}}
|
||||
!insertmacro APP_UNASSOCIATE "{{.Ext}}" "{{.Name}}"
|
||||
|
||||
Delete "$INSTDIR\{{.IconName}}.ico"
|
||||
{{end}}
|
||||
|
||||
!macroend
|
||||
|
||||
!macro CUSTOM_PROTOCOL_ASSOCIATE PROTOCOL DESCRIPTION ICON COMMAND
|
||||
|
|
@ -235,15 +227,10 @@ RequestExecutionLevel "${REQUEST_EXECUTION_LEVEL}"
|
|||
|
||||
!macro wails.associateCustomProtocols
|
||||
; Create custom protocols associations
|
||||
{{range .Info.Protocols}}
|
||||
!insertmacro CUSTOM_PROTOCOL_ASSOCIATE "{{.Scheme}}" "{{.Description}}" "$INSTDIR\${PRODUCT_EXECUTABLE},0" "$INSTDIR\${PRODUCT_EXECUTABLE} $\"%1$\""
|
||||
|
||||
{{end}}
|
||||
|
||||
!macroend
|
||||
|
||||
!macro wails.unassociateCustomProtocols
|
||||
; Delete app custom protocol associations
|
||||
{{range .Info.Protocols}}
|
||||
!insertmacro CUSTOM_PROTOCOL_UNASSOCIATE "{{.Scheme}}"
|
||||
{{end}}
|
||||
|
||||
!macroend
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1fa97678edcc780911c3d714233e97d2
|
||||
7d93ddef64f0624cd1fa203b3d0350ee
|
||||
|
|
@ -18,11 +18,11 @@ export async function checkUpdate() {
|
|||
if(!verData.assets || verData.assets.length <= 0) return;
|
||||
const appName = "godoos"+ versionTag + (isWindowsOS() ? '.exe' : '');
|
||||
const updateUrl = `${updateGiteeUrl}download/${versionTag}/${appName}`;
|
||||
|
||||
fetch(`${updateGiteeUrl}latest`).then((r) => {
|
||||
if (r.ok) {
|
||||
r.json().then((data) => {
|
||||
if (data.tag_name) {
|
||||
console.log(updateUrl)
|
||||
// fetch(`${updateGiteeUrl}latest`).then((r) => {
|
||||
// if (r.ok) {
|
||||
// r.json().then((data) => {
|
||||
// if (data.tag_name) {
|
||||
// const versionTag = data.tag_name;
|
||||
// console.log(versionTag)
|
||||
// if (versionTag.replace('v', '') > manifest.version) {
|
||||
|
|
@ -99,16 +99,16 @@ export async function checkUpdate() {
|
|||
}
|
||||
}
|
||||
*/
|
||||
} else {
|
||||
throw new Error('Invalid response.');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
throw new Error('Network response was not ok.');
|
||||
}
|
||||
}
|
||||
).catch((e) => {
|
||||
//toast(t('Updates Check Error') + ' - ' + (e.message || e), { type: 'error', position: 'bottom-left' });
|
||||
});
|
||||
// } else {
|
||||
// throw new Error('Invalid response.');
|
||||
// }
|
||||
// });
|
||||
// } else {
|
||||
// throw new Error('Network response was not ok.');
|
||||
// }
|
||||
// }
|
||||
// ).catch((e) => {
|
||||
// //toast(t('Updates Check Error') + ' - ' + (e.message || e), { type: 'error', position: 'bottom-left' });
|
||||
// });
|
||||
}
|
||||
|
||||
22
frontend/wailsjs/go/app/App.d.ts
vendored
Normal file
22
frontend/wailsjs/go/app/App.d.ts
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function AddToDownloadList(arg1:string,arg2:string):Promise<void>;
|
||||
|
||||
export function ContinueDownload(arg1:string):Promise<void>;
|
||||
|
||||
export function DownloadFile(arg1:string,arg2:string):Promise<void>;
|
||||
|
||||
export function DownloadLoop():Promise<void>;
|
||||
|
||||
export function GetAbsPath(arg1:string):Promise<string>;
|
||||
|
||||
export function GetPlatform():Promise<string>;
|
||||
|
||||
export function OpenDirDialog():Promise<string>;
|
||||
|
||||
export function PauseDownload(arg1:string):Promise<void>;
|
||||
|
||||
export function RestartApp():Promise<void>;
|
||||
|
||||
export function UpdateApp(arg1:string):Promise<boolean>;
|
||||
43
frontend/wailsjs/go/app/App.js
Normal file
43
frontend/wailsjs/go/app/App.js
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function AddToDownloadList(arg1, arg2) {
|
||||
return window['go']['app']['App']['AddToDownloadList'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function ContinueDownload(arg1) {
|
||||
return window['go']['app']['App']['ContinueDownload'](arg1);
|
||||
}
|
||||
|
||||
export function DownloadFile(arg1, arg2) {
|
||||
return window['go']['app']['App']['DownloadFile'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function DownloadLoop() {
|
||||
return window['go']['app']['App']['DownloadLoop']();
|
||||
}
|
||||
|
||||
export function GetAbsPath(arg1) {
|
||||
return window['go']['app']['App']['GetAbsPath'](arg1);
|
||||
}
|
||||
|
||||
export function GetPlatform() {
|
||||
return window['go']['app']['App']['GetPlatform']();
|
||||
}
|
||||
|
||||
export function OpenDirDialog() {
|
||||
return window['go']['app']['App']['OpenDirDialog']();
|
||||
}
|
||||
|
||||
export function PauseDownload(arg1) {
|
||||
return window['go']['app']['App']['PauseDownload'](arg1);
|
||||
}
|
||||
|
||||
export function RestartApp() {
|
||||
return window['go']['app']['App']['RestartApp']();
|
||||
}
|
||||
|
||||
export function UpdateApp(arg1) {
|
||||
return window['go']['app']['App']['UpdateApp'](arg1);
|
||||
}
|
||||
4
frontend/wailsjs/go/main/App.d.ts
vendored
4
frontend/wailsjs/go/main/App.d.ts
vendored
|
|
@ -1,4 +0,0 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function OpenDirDialog():Promise<string>;
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function OpenDirDialog() {
|
||||
return window['go']['main']['App']['OpenDirDialog']();
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
"frontend:dev:watcher": "pnpm dev",
|
||||
"frontend:dev:serverUrl": "auto",
|
||||
"author": {
|
||||
"name": "aiok",
|
||||
"name": "ruitao",
|
||||
"email": "xpbb@qq.com"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue