Skip to content

Commit 925677c

Browse files
committed
feat: add WebRTC P2P file transfer with HTTP fallback
1 parent f68388e commit 925677c

14 files changed

Lines changed: 1040 additions & 262 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ start /b FileFlow.exe > FileFlow.log 2>&1
2525
```
2626

2727
Open your browser and visit `http://server_ip:5000/upload` then you can upload files and follow the instructions to download files.
28+
29+
Note: WebRTC P2P is limited to direct LAN connections only.

server/Cargo.lock

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2024"
55

66
[dependencies]
77
anyhow = "1.0.99"
8-
axum = { version = "0.8.4", features = ["http2", "multipart"] }
8+
axum = { version = "0.8.4", features = ["http2", "multipart", "ws"] }
99
rust-embed = "8.7.2"
1010
tokio = { version = "1.47.1", features = ["full"] }
1111
tracing = "0.1.41"

server/package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

server/pnpm-lock.yaml

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)