Skip to content

Commit

Permalink
Merge pull request #4 from thep0y/main
Browse files Browse the repository at this point in the history
支持设置保存目录
  • Loading branch information
thep0y authored Jan 14, 2024
2 parents 3b67d1a + f9dd165 commit b276038
Show file tree
Hide file tree
Showing 17 changed files with 512 additions and 180 deletions.
40 changes: 36 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,39 @@
# Tauri + React + Typescript
<p align="center"><img height="128" width="128" src="./src-tauri/icons/icon.png" /></p>

This template should help get you started developing with Tauri, React and Typescript in Vite.
# ALLEY

## Recommended IDE Setup
在局域网中使用手机快速向 PC 传递文件的工具,适配 Windows、macOS 和 Linux 桌面发行版。

## 特点

本软件可能有别于其他同功能软件的特点有:

- 开源

- 体积小

| 平台及格式 | 体积 |
| --------------------------------------- | ------- |
| macOS aarch64 - dmg | 4.06 MB |
| Linux(Debian/Ubuntu/Deepin) amd64 - deb | 5.94 MB |
| Windows amd64 - msi | 3.85 MB |
| Windows amd64 - exe | 3.17 MB |

- 页面丑(缺少设计天份)

## 使用

打开 PC 端后有一个二维码,使用手机扫描二维码会通过默认浏览器打开一个页面,同时 PC 端的页面也会变化。

| PC 端扫描前 | 手机端 | PC 端扫描后 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ---------------------------------- |
| ![output](https://raw.githubusercontent.com/thep0y/image-bed/main/up2b/%E6%88%AA%E5%B1%8F2024-01-13%2015.15.56_1705130245959.png) | ![output](https://raw.githubusercontent.com/thep0y/image-bed/main/up2b/192.168.31.222_5800_(iPhone%20SE)_1705130440970.png) | ![output](./docs/images/empty.png) |

在手机上点击页面中间的`upload`按钮即可上传多个文件,同时 PC 端也能看到收取文件的进度。

| 手机端上传 | PC端接收 |
| ------------------------------------------------------------ | ----------------------------------------- |
| ![output](https://raw.githubusercontent.com/thep0y/image-bed/main/up2b/output_1705130649364.png) | ![output](./docs/images/pc-uploading.png) |

所有平台的 PC 端接收到的文件默认保存路径均为`~/Downloads/alley`,你可以自行修改保存目录。

- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
Binary file added docs/images/empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pc-uploading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"cross-env": "^7.0.3",
"sass": "^1.69.7",
"typescript": "^5.3.3",
"vite": "^5.0.11"
}
Expand Down
121 changes: 118 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b276038

Please sign in to comment.