diff --git a/README.md b/README.md index da0ad9b..4c33d7f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

Works on Windows, macOS, Linux and Android/Termux

Inspired by Android/X-plore and NPM/anywhere

- +
diff --git a/gagu-back-end/src/utils/constant.util.ts b/gagu-back-end/src/utils/constant.util.ts index 62286a0..abc9d12 100644 --- a/gagu-back-end/src/utils/constant.util.ts +++ b/gagu-back-end/src/utils/constant.util.ts @@ -5,7 +5,7 @@ import { IServerOS, ThumbnailType, ThumbnailTypeType } from 'src/types' const platform = os.platform() const hostname = os.hostname() -export const GAGU_VERSION = '0.0.56' +export const GAGU_VERSION = '0.0.57' export const IS_DEV = process.env.NODE_ENV === 'development' export const HOST = (() => { diff --git a/gagu-website/.env b/gagu-website/.env index d92e650..d15a1a0 100644 --- a/gagu-website/.env +++ b/gagu-website/.env @@ -1 +1 @@ -PUBLIC_VERSION=0.0.56 +PUBLIC_VERSION=0.0.57 diff --git a/gagu-website/src/pages/docs/development/dev-and-build.md b/gagu-website/src/pages/docs/development/dev-and-build.md index 34df2b5..a4246ec 100644 --- a/gagu-website/src/pages/docs/development/dev-and-build.md +++ b/gagu-website/src/pages/docs/development/dev-and-build.md @@ -91,6 +91,8 @@ $ yarn start 4. Call IINA: [Chrome_Open_In_IINA](https://github.com/iina/iina/blob/develop/browser/Chrome_Open_In_IINA/common.js#L59C18-L59C18) 5. JSON format: [json-format](https://github.com/luizstacio/json-format/blob/master/index.js) 6. Read 100+ files: [readEntries](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry#javascript) +7. Infrared code format: [「一块钢板的重生」——7年前的小米4还能干什么](https://blog.hans362.cn/post/rebirth-of-xiaomi-4) +8. MI TV infrared code: [哪位大佬有小米电视的红外遥控码](https://bbs.hassbian.com/archiver/?tid-9045.html) ### Dependencies diff --git a/gagu-website/src/pages/docs/development/dev-and-build.zh.md b/gagu-website/src/pages/docs/development/dev-and-build.zh.md index 105a3ad..8f9494c 100644 --- a/gagu-website/src/pages/docs/development/dev-and-build.zh.md +++ b/gagu-website/src/pages/docs/development/dev-and-build.zh.md @@ -91,6 +91,8 @@ $ yarn start 4. 调用 IINA:[Chrome_Open_In_IINA](https://github.com/iina/iina/blob/develop/browser/Chrome_Open_In_IINA/common.js#L59C18-L59C18) 5. JSON 格式化:[json-format](https://github.com/luizstacio/json-format/blob/master/index.js) 6. 扫描 100+ 文件:[readEntries](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry#javascript) +7. 红外码格式:[「一块钢板的重生」——7年前的小米4还能干什么](https://blog.hans362.cn/post/rebirth-of-xiaomi-4) +8. 小米红外码:[哪位大佬有小米电视的红外遥控码](https://bbs.hassbian.com/archiver/?tid-9045.html) ### 依赖项 diff --git a/gagu-website/src/pages/docs/getting-started/scenarios.md b/gagu-website/src/pages/docs/getting-started/scenarios.md index 0c3dd77..67c91f0 100644 --- a/gagu-website/src/pages/docs/getting-started/scenarios.md +++ b/gagu-website/src/pages/docs/getting-started/scenarios.md @@ -38,3 +38,4 @@ Similar applications are listed here, or there are more suitable ones for your r - Snapdrop [https://snapdrop.net](https://snapdrop.net) - webd [https://webd.cf](https://webd.cf) - Wechat File Helper [https://filehelper.weixin.qq.com](https://filehelper.weixin.qq.com) +- WindSend [https://github.com/doraemonkeys/WindSend](https://github.com/doraemonkeys/WindSend) diff --git a/gagu-website/src/pages/docs/getting-started/scenarios.zh.md b/gagu-website/src/pages/docs/getting-started/scenarios.zh.md index a05d0fe..d07920e 100644 --- a/gagu-website/src/pages/docs/getting-started/scenarios.zh.md +++ b/gagu-website/src/pages/docs/getting-started/scenarios.zh.md @@ -38,4 +38,5 @@ layout: ../../../layouts/DocLayout.astro - os.js [https://www.os-js.org](https://www.os-js.org) - Snapdrop [https://snapdrop.net](https://snapdrop.net) - webd [https://webd.cf](https://webd.cf) -- 微信传输助手网页版 [https://filehelper.weixin.qq.com](https://filehelper.weixin.qq.com) +- Wechat 微信传输助手网页版 [https://filehelper.weixin.qq.com](https://filehelper.weixin.qq.com) +- WindSend [https://github.com/doraemonkeys/WindSend](https://github.com/doraemonkeys/WindSend) diff --git a/gagu-website/src/pages/docs/getting-started/usage.md b/gagu-website/src/pages/docs/getting-started/usage.md index 3113c3f..1641fcb 100644 --- a/gagu-website/src/pages/docs/getting-started/usage.md +++ b/gagu-website/src/pages/docs/getting-started/usage.md @@ -59,7 +59,14 @@ $ gagu -o $ gagu --open ``` -Start with a specified host: +Start with HTTPS: + +```sh +$ gagu -s +$ gagu --security +``` + +Start with a specified Host: ```sh $ gagu -H 0.0.0.0 @@ -150,6 +157,7 @@ After the root directory is successfully created, the following subdirectories w | |- avatar | |- image | |- lib + |- secrets |- thumbnail |- users ``` @@ -159,6 +167,7 @@ After the root directory is successfully created, the following subdirectories w - `public/avatar` is used to store the user's avatar, and the file name is the username - `public/image` is used to store some config images - `public/lib` is used to store third-party js libraries that may be used in the future +- `secrets` is used to store HTTPS config files - `thumbnail` is used to store thumbnails generated in use - `users` is used to store user's personal files diff --git a/gagu-website/src/pages/docs/getting-started/usage.zh.md b/gagu-website/src/pages/docs/getting-started/usage.zh.md index e499513..1ba9a3d 100644 --- a/gagu-website/src/pages/docs/getting-started/usage.zh.md +++ b/gagu-website/src/pages/docs/getting-started/usage.zh.md @@ -59,7 +59,14 @@ $ gagu -o $ gagu --open ``` -使用指定 IP 启动: +使用 HTTPS 打开: + +```sh +$ gagu -s +$ gagu --security +``` + +使用指定 Host 启动: ```sh $ gagu -H 0.0.0.0 @@ -150,6 +157,7 @@ GAGU 的根目录 `.io.gagu` 是一个以 `.` 开头命名的隐藏文件夹, | |- avatar | |- image | |- lib + |- secrets |- thumbnail |- users ``` @@ -159,6 +167,7 @@ GAGU 的根目录 `.io.gagu` 是一个以 `.` 开头命名的隐藏文件夹, - `public/avatar` 用于存放用户头像,文件名即用户名 - `public/image` 用于存放一些配置图片 - `public/lib` 用于存放将来可能会用到的第三方 js 库 +- `secrets` 用于存放 HTTPS 配置文件 - `thumbnail` 用于存放使用中生成的缩略图 - `users` 用于存放用户个人文件 diff --git a/gagu-website/src/pages/docs/others/changelog.md b/gagu-website/src/pages/docs/others/changelog.md index 1677926..481828f 100644 --- a/gagu-website/src/pages/docs/others/changelog.md +++ b/gagu-website/src/pages/docs/others/changelog.md @@ -19,6 +19,13 @@ Clear data directory means that all users, download tunnels and other data will ## v0.0.* +- v0.0.57 (2024-02-17) + - feat: support HTTPS + - feat: seperate token and accessToken + - feat: support PDF thumbnail + - feat: MI TV remote control and SMS list in AndroidController + - fix: replace dependency jsmediatags with music-metadata + - v0.0.56 (2024-01-28) - feat: go to specified path - feat: verify path access permissions diff --git a/gagu-website/src/pages/docs/others/changelog.zh.md b/gagu-website/src/pages/docs/others/changelog.zh.md index 02e04a4..0ec5b94 100644 --- a/gagu-website/src/pages/docs/others/changelog.zh.md +++ b/gagu-website/src/pages/docs/others/changelog.zh.md @@ -19,6 +19,13 @@ GAGU 目前还处于 Alpha 阶段,大约每三周更新一个版本,视工 ## v0.0.* +- v0.0.57 (2024-02-17) + - 新增:支持 HTTPS + - 新增:划分 token 和 accessToken + - 新增:支持 PDF 缩略图 + - 新增:安卓控制器中的小米红外遥控器、短信列表 + - 修复:依赖替换(jsmediatags -> music-metadata) + - v0.0.56 (2024-01-28) - 新增:前往指定路径 - 新增:校验路径访问权限 diff --git a/package.json b/package.json index 72fb158..d5c75e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gagu", - "version": "0.0.56", + "version": "0.0.57", "description": "A web-based file management system", "bin": { "gagu": "./bin/gagu"