@@ -40,7 +40,7 @@ Uploading... ██████████████████████
4040📄 File: largefile.zip
4141📏 Size: 2.5 GB
4242🆔 ID: a1b2c3d4e5f6g7h8
43- 🔗 Download URL: http://localhost:3000 /d/a1b2c3d4e5f6g7h8.zip
43+ 🔗 Download URL: http://localhost:8000 /d/a1b2c3d4e5f6g7h8.zip
4444```
4545
4646## 🚀 Quick Start
@@ -76,13 +76,13 @@ make build
7676make run
7777```
7878
79- The server will start on ` http://localhost:3000 `
79+ The server will start on ` http://localhost:8000 `
8080
8181## 📖 Usage
8282
8383### Web Interface
8484
85- 1 . Open ` http://localhost:3000 ` in your browser
85+ 1 . Open ` http://localhost:8000 ` in your browser
86862 . Drag and drop files or click to select
87873 . Upload files up to 10GB
88884 . Get instant shareable download links
@@ -127,16 +127,16 @@ POST /api/upload
127127Content-Type: multipart/form-data
128128X-API-Key: your_secret_key (if required)
129129
130- curl -X POST -F
" [email protected] " -H
" X-API-Key: your_key" http://localhost:
3000 /api/upload
130+ curl -X POST -F
" [email protected] " -H
" X-API-Key: your_key" http://localhost:
8000 /api/upload
131131```
132132
133133#### Upload via cURL (bashupload style)
134134``` bash
135135# Public instance
136- curl http://localhost:3000 -T your_file.txt
136+ curl http://localhost:8000 -T your_file.txt
137137
138138# Private instance
139- curl -H " X-API-Key: your_key" http://localhost:3000 -T your_file.txt
139+ curl -H " X-API-Key: your_key" http://localhost:8000 -T your_file.txt
140140```
141141
142142#### Download File
@@ -216,7 +216,7 @@ services:
216216 fileuploader :
217217 build : .
218218 ports :
219- - " 3000:3000 "
219+ - " 8000:8000 "
220220 volumes :
221221 - ./uploads:/app/uploads
222222 - ./fileuploader.db:/app/fileuploader.db
@@ -243,7 +243,7 @@ docker build -t fileuploader .
243243# Run container
244244docker run -d \
245245 --name fileuploader \
246- -p 3000:3000 \
246+ -p 8000:8000 \
247247 -v $( pwd) /uploads:/app/uploads \
248248 -v $( pwd) /fileuploader.db:/app/fileuploader.db \
249249 fileuploader
@@ -255,7 +255,7 @@ docker run -d \
255255
256256| Variable | Default | Description |
257257| ----------| ---------| -------------|
258- | ` PORT ` | ` 3000 ` | Server port |
258+ | ` PORT ` | ` 8000 ` | Server port |
259259| ` API_KEY ` | ` "" ` | API key for authentication (optional) |
260260| ` GIN_MODE ` | ` debug ` | Gin mode (debug/release) |
261261
@@ -311,7 +311,7 @@ fileuploader/
311311 "success" : true ,
312312 "message" : " File uploaded successfully" ,
313313 "unique_id" : " a1b2c3d4e5f6g7h8" ,
314- "download_url" : " http://localhost:3000 /d/a1b2c3d4e5f6g7h8" ,
314+ "download_url" : " http://localhost:8000 /d/a1b2c3d4e5f6g7h8" ,
315315 "file_size" : 1048576
316316}
317317```
@@ -368,7 +368,7 @@ fileuploader/
368368#### CLI connection errors
369369``` bash
370370# Check server URL
371- ./uploader upload file.txt --server http://correct-url:3000 --verbose
371+ ./uploader upload file.txt --server http://correct-url:8000 --verbose
372372```
373373
374374#### Database locked errors
@@ -394,7 +394,7 @@ Enable verbose logging:
394394./uploader upload file.txt --verbose
395395
396396# Server
397- PORT=3000 GIN_MODE=debug ./server
397+ PORT=8000 GIN_MODE=debug ./server
398398```
399399
400400## 🤝 Contributing
0 commit comments