Skip to content

Commit ea0df28

Browse files
committed
feat: add landing page and harden direct transfer flow (configurable limits, remove WebRTC signaling)
1 parent 0df55e2 commit ea0df28

19 files changed

Lines changed: 1032 additions & 1279 deletions

File tree

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FILEFLOW_HOST=0.0.0.0
2+
FILEFLOW_PORT=5000
3+
RUST_LOG=info
4+
5+
# File upload limits (defaults: block size 1MB, up to 1024 blocks -> ~1GB)
6+
# MAX_BLOCK_SIZE=1048576
7+
# MAX_BLOCKS_PER_FILE=1024

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ coverage
5757
*.tsbuildinfo
5858

5959
build/
60+
61+
# Local environment files
62+
.env

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ 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.

0 commit comments

Comments
 (0)