-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
179 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,42 @@ | ||
# Hyrule | ||
## Hyrule | ||
|
||
An `electron` app | ||
|
||
## Feature | ||
|
||
基于`github`来管理图片和`issues`文章。 | ||
|
||
### Image | ||
|
||
使用`github`仓库来做图床 | ||
|
||
- 上传图片 | ||
- 删除图片 | ||
- 图片目录管理 | ||
|
||
### Issues | ||
|
||
使用`github issues`来做博客, 可以[参考](https://zwing.site/posts/417715171.html) | ||
|
||
- 创建`issues` | ||
- 编辑`issues` | ||
- 删除`issues` | ||
- 将图片上传到默认图床 | ||
|
||
### Develop | ||
|
||
- `yarn dev:web` 启动`web`服务 | ||
- `yarn dev:main` 编译主程序 | ||
- `yarn dev:electron` 启动`electron` | ||
|
||
### Build | ||
|
||
`yarn build` | ||
|
||
### Demo | ||
|
||
![](./example/0.png) | ||
![](./example/1.png) | ||
![](./example/2.png) | ||
![](./example/3.png) | ||
![](./example/4.png) | ||
|
||
### Develop | ||
|
||
- `yarn dev:web` | ||
- `yarn dev:main` | ||
- `yarn dev:electron` | ||
![](./example/5.png) | ||
![](./example/6.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,33 +10,20 @@ | |
"build:main": "tsc -p tsconfig.electron.json", | ||
"dev:electron": "nodemon --watch ./dist/main --exec electron ./dist/main/main.js", | ||
"build:package": "electron-builder --config ./electronrc.js -mwl", | ||
"lint": "tslint --fix --format codeFrame --project ." | ||
"lint": "tslint --fix --format codeFrame --project .", | ||
"build": "yarn build:web && yarn build:main && yarn build:package" | ||
}, | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "zWing" | ||
}, | ||
"dependencies": { | ||
"@zzwing/react-image": "^1.1.7", | ||
"antd": "^3.17.0", | ||
"classnames": "^2.2.6", | ||
"consola": "^2.6.2", | ||
"dayjs": "^1.8.14", | ||
"electron-is-dev": "^1.1.0", | ||
"electron-store": "^3.2.0", | ||
"electron-util": "^0.11.0", | ||
"gatsby-remark-prismjs": "^3.2.9", | ||
"lite-queue": "^1.0.1", | ||
"monaco-editor": "^0.17.0", | ||
"node-fetch": "^2.5.0", | ||
"prismjs": "^1.16.0", | ||
"qs": "^6.7.0", | ||
"rc-animate": "^2.8.2", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"react-router-dom": "^5.0.0", | ||
"remark": "^10.0.1", | ||
"remark-html": "^9.0.0", | ||
"url-join": "^4.0.0" | ||
"qs": "^6.7.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.4.4", | ||
|
@@ -48,39 +35,54 @@ | |
"@types/react": "^16.8.16", | ||
"@types/react-dom": "^16.8.4", | ||
"@types/react-router-dom": "^4.3.2", | ||
"@zzwing/react-image": "^1.1.7", | ||
"antd": "^3.17.0", | ||
"autoprefixer": "^9.5.1", | ||
"awesome-typescript-loader": "^5.2.1", | ||
"babel-loader": "^8.0.5", | ||
"babel-plugin-import": "^1.11.0", | ||
"classnames": "^2.2.6", | ||
"css-loader": "^2.1.1", | ||
"cssnano": "^4.1.10", | ||
"dayjs": "^1.8.14", | ||
"electron": "^5.0.1", | ||
"electron-builder": "^20.40.2", | ||
"electron-debug": "^3.0.0", | ||
"electron-devtools-installer": "^2.2.4", | ||
"electron-is-dev": "^1.1.0", | ||
"electron-reloader": "^0.2.0", | ||
"fork-ts-checker-notifier-webpack-plugin": "^1.0.0", | ||
"fork-ts-checker-webpack-plugin": "^1.3.0", | ||
"gatsby-remark-prismjs": "^3.2.9", | ||
"html-webpack-plugin": "^3.2.0", | ||
"less": "^3.9.0", | ||
"less-loader": "^5.0.0", | ||
"lite-queue": "^1.0.1", | ||
"mini-css-extract-plugin": "^0.6.0", | ||
"monaco-editor": "^0.17.0", | ||
"monaco-editor-webpack-plugin": "^1.7.0", | ||
"nodemon": "^1.19.0", | ||
"optimize-css-assets-webpack-plugin": "^5.0.1", | ||
"post-loader": "^2.0.0", | ||
"postcss-loader": "^3.0.0", | ||
"postcss-safe-parser": "^4.0.1", | ||
"prismjs": "^1.16.0", | ||
"rc-animate": "^2.8.2", | ||
"react": "^16.8.6", | ||
"react-dev-utils": "^9.0.0", | ||
"react-dom": "^16.8.6", | ||
"react-hot-loader": "^4.8.4", | ||
"react-router-dom": "^5.0.0", | ||
"remark": "^10.0.1", | ||
"remark-html": "^9.0.0", | ||
"style-loader": "^0.23.1", | ||
"style-resources-loader": "^1.2.1", | ||
"tslint": "5.14.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-eslint-rules": "^5.4.0", | ||
"tslint-react": "^4.0.0", | ||
"typescript": "^3.4.5", | ||
"url-join": "^4.0.0", | ||
"url-loader": "^2.0.0", | ||
"webpack": "^4.30.0", | ||
"webpack-cli": "^3.3.2", | ||
"webpack-dev-server": "^3.3.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.