Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Jason12306/intranet-file-transfer-assistant
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: Jason12306/intranet-file-transfer-assistant
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 8 commits
  • 10 files changed
  • 1 contributor

Commits on Aug 17, 2024

  1. update: readme&config

    Jason12306 committed Aug 17, 2024
    Copy the full SHA
    74c9cd5 View commit details
  2. .nvmrc & readme

    Jason12306 committed Aug 17, 2024
    Copy the full SHA
    e25375c View commit details
  3. Copy the full SHA
    eabe025 View commit details
  4. fix: api config

    Jason12306 committed Aug 17, 2024
    Copy the full SHA
    345e9f9 View commit details
  5. Copy the full SHA
    b64fd76 View commit details
  6. feat: refresh

    Jason12306 committed Aug 17, 2024
    Copy the full SHA
    f388c9e View commit details
  7. update: readme

    Jason12306 committed Aug 17, 2024
    Copy the full SHA
    25d1513 View commit details

Commits on Dec 6, 2024

  1. update

    Jason12306 committed Dec 6, 2024
    Copy the full SHA
    3df7a2f View commit details
Showing with 1,036 additions and 1,610 deletions.
  1. +1 −0 .nvmrc
  2. +13 −4 README-zh.md
  3. +24 −11 README.md
  4. +9 −5 package.json
  5. +946 −1,580 pnpm-lock.yaml
  6. +14 −2 src/main/inner-server.ts
  7. +3 −4 src/main/main.ts
  8. +15 −0 src/main/ws-server.ts
  9. +8 −3 src/renderer/App.vue
  10. +3 −1 src/renderer/api/http.ts
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
17 changes: 13 additions & 4 deletions README-zh.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# 内网文件传输助手

<img src="src/renderer/assets/imgs/local-network.svg" width="30%"/>

## 介绍

一款简单、轻量、高传输速率的内网(大)文件传输助手

## 为什么

跨平台传输文件麻烦速度慢,尤其是大文件
经过外网不安全,速度慢
- 跨平台传输文件麻烦速度慢,尤其是大文件
- 经过外网不安全,速度慢

## 原理
## 思路

使当前设备作为资源服务器,实现资源互通

## 使用

1. 确保设备处于同一局域网下
1. 确保所有设备处于同一局域网下
2. 安装客户端并运行,其他设备通过浏览器打开资源服务器网址,即可实现文件传输

## Todo

- [ ] 国际化
- [ ] UI 优化

欢迎 PR 👏🏻👏🏻
35 changes: 24 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
# 内网文件传输助手
# Intranet File Transfer Assistant

## 介绍
<img src="src/renderer/assets/imgs/local-network.svg" width="30%"/>

一款简单、轻量、高传输速率的文件传输助手客户端
[简体中文](./README-zh.md)

## 为什么
## Introduction

跨平台传输文件麻烦
经过外网不安全 速度慢
A simple, lightweight, high-speed intranet (large) file transfer assistant

## 原理
## Why

使当前设备作为资源服务器,实现资源互通
- Cross-platform file transfer is troublesome and slow, especially for large files

## 使用
- Transferring files through the external network is unsafe and slow

1. 确保设备处于同一局域网下
2. 安装客户端并运行,其他设备通过浏览器打开资源服务器网址,即可实现文件传输
## Idea

Use the current device as a resource server to achieve resource interoperability

## Usage

1. Make sure all devices are in the same LAN

2. Install the client and run it. Other devices can open the resource server URL through the browser to achieve file transfer

## Todo

- [ ] Internationalization
- [ ] UI optimization

Welcome to PR 👏🏻👏🏻
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
"@koa/cors": "^5.0.0",
"@koa/multer": "^3.0.2",
"@koa/router": "^12.0.1",
"@types/ws": "^8.5.13",
"ant-design-vue": "4.x",
"axios": "^1.7.4",
"ip": "^2.0.1",
@@ -31,7 +32,8 @@
"pinia": "^2.0.17",
"portfinder": "^1.0.32",
"vue": "^3.2.37",
"vue-router": "4"
"vue-router": "4",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/ip": "^1.1.3",
@@ -75,15 +77,17 @@
}
],
"mac": {
"category": "public.app-category.productivity"
"category": "public.app-category.productivity",
"artifactName": "${productName}-macOS-setup-${version}.${ext}"
},
"win": {
"target": "nsis",
"artifactName": "${productName}-windows-setup-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"win": {
"target": "nsis"
},
"copyright": "Copyright © 2024 jason12306",
"files": [
"output"
Loading