Skip to content

indrajithc/go-upload-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Fast File Upload Server (Go)

A blazing fast, zero-dependency local file upload server written in Go.

Use it to transfer large files (like 400MB videos) from your phone to your laptop over local Wi-Fi β€” with real-time upload progress.


πŸš€ Features

  • ⚑ Extremely fast (streams files directly to disk)
  • βœ… Real-time upload progress bar
  • πŸ“± Mobile-friendly upload UI
  • πŸ“‚ Choose target upload folder at startup
  • πŸ” Upload multiple files (uploaded sequentially)
  • πŸ’» Works on Linux, macOS, Windows

πŸ“Έ Screenshot

(Upload interface with progress bars)

screenshot


πŸ› οΈ Requirements

  • Go (v1.18+)

πŸ§‘β€πŸ’» How to Run

git clone https://github.com/indrajithc/go-upload-server.git
cd go-upload-server
go run main.go

You’ll be prompted to select the folder where uploaded files should be saved:

Enter target upload directory (default: ./uploads):

Then open the shown URL (e.g., http://192.168.1.5:3000) in your browser or mobile phone.


πŸ“¦ Build a Binary (optional)

go build -o uploader
./uploader

πŸ“² Upload from Your Phone

  1. Make sure your phone and laptop are on the same Wi-Fi network.
  2. Open the shown local IP (e.g., http://192.168.1.5:3000) in your phone's browser.
  3. Upload files!

πŸ“ Folder Structure

.
β”œβ”€β”€ main.go        # The main server code
└── README.md      # You're here!

πŸ” Security Note

This server is designed for local use only.

  • Do not expose this to the public internet without adding authentication.

πŸ§ͺ Roadmap / Ideas

  • Drag-and-drop support
  • Parallel upload queue
  • File rename handling
  • Optional password/token protection

πŸ“ License

MIT License β€” feel free to use, fork, and improve!


✨ Credits

Created by Indrajith C β€” built for speed and simplicity.

About

A blazing fast, zero-dependency local file upload server written in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages