Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Chisw committed Feb 17, 2024
1 parent bc71c07 commit 744c40e
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<p>Works on Windows, macOS, Linux and Android/Termux</p>
<p>Inspired by <a href="https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore" target="_blank">Android/X-plore</a> and <a href="https://www.npmjs.com/package/anywhere" target="_blank">NPM/anywhere</a></p>
<img src="https://img.shields.io/npm/v/gagu">
<img src="https://img.shields.io/badge/Package Size-763KB-success">
<img src="https://img.shields.io/badge/Package Size-768KB-success">
<img src="https://img.shields.io/badge/License-MIT-blue">
<img src="https://api.netlify.com/api/v1/badges/43a65c74-6640-4341-a3fd-b0bc8f52e670/deploy-status">
<br>
Expand Down
2 changes: 1 addition & 1 deletion gagu-back-end/src/utils/constant.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (() => {
Expand Down
2 changes: 1 addition & 1 deletion gagu-website/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PUBLIC_VERSION=0.0.56
PUBLIC_VERSION=0.0.57
2 changes: 2 additions & 0 deletions gagu-website/src/pages/docs/development/dev-and-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions gagu-website/src/pages/docs/development/dev-and-build.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

### 依赖项

Expand Down
1 change: 1 addition & 0 deletions gagu-website/src/pages/docs/getting-started/scenarios.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
3 changes: 2 additions & 1 deletion gagu-website/src/pages/docs/getting-started/scenarios.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
11 changes: 10 additions & 1 deletion gagu-website/src/pages/docs/getting-started/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -150,6 +157,7 @@ After the root directory is successfully created, the following subdirectories w
| |- avatar
| |- image
| |- lib
|- secrets
|- thumbnail
|- users
```
Expand All @@ -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

Expand Down
11 changes: 10 additions & 1 deletion gagu-website/src/pages/docs/getting-started/usage.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ $ gagu -o
$ gagu --open
```

使用指定 IP 启动:
使用 HTTPS 打开:

```sh
$ gagu -s
$ gagu --security
```

使用指定 Host 启动:

```sh
$ gagu -H 0.0.0.0
Expand Down Expand Up @@ -150,6 +157,7 @@ GAGU 的根目录 `.io.gagu` 是一个以 `.` 开头命名的隐藏文件夹,
| |- avatar
| |- image
| |- lib
|- secrets
|- thumbnail
|- users
```
Expand All @@ -159,6 +167,7 @@ GAGU 的根目录 `.io.gagu` 是一个以 `.` 开头命名的隐藏文件夹,
- `public/avatar` 用于存放用户头像,文件名即用户名
- `public/image` 用于存放一些配置图片
- `public/lib` 用于存放将来可能会用到的第三方 js 库
- `secrets` 用于存放 HTTPS 配置文件
- `thumbnail` 用于存放使用中生成的缩略图
- `users` 用于存放用户个人文件

Expand Down
7 changes: 7 additions & 0 deletions gagu-website/src/pages/docs/others/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions gagu-website/src/pages/docs/others/changelog.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
- 新增:前往指定路径
- 新增:校验路径访问权限
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 744c40e

Please sign in to comment.