Skip to content
Mmx233Public

About

A LAN file sharing tool built with Go and React

Resources

Stars

13 stars

Watchers

0 watching

Forks

Latest commit

 

History

130 Commits

Folders and files

Repository files navigation

HeyFileGo

License Release Dockerhub

📦 Install

Scoop

scoop bucket add mmx233 https://github.com/Mmx233/ScoopBucket
scoop install mmx233/hey

Homebrew

brew install mmx233/tap/heyfile-go

Docker

Run the image with the current directory mounted for receiving or serving files:

docker run --rm -it -p 8080:8080 -v "${PWD}:/data" -w /data mmx233/hey-file-go:latest --port 8080

From Binary

Download the archive for your OS and architecture from the latest release. Extract it and place hey (hey.exe on Windows) in a directory on your PATH.

💻 Usage

Serve File/Folder

Drag and drop a file or folder onto the program, or use the command line:

hey ./path_to_file_want_to_serve

Receive Files

Simply start the program

Uploads start when files are selected. The server accepts up to three uploads at once across all clients; additional uploads wait for a slot. Set --upload-concurrency to change that limit. The web page supports cancellation, retry, and clearing completed transfers.

📝 Notes

  • The file receiving URL opens a web page for uploading files, which will be saved in the program's working directory
  • Multiple instances can run simultaneously without conflicts

⚙️ Flags

Flag Value Description
-p / --port uint16 Specify port
-s / --ssl - Use HTTPS with auto-generated certificate
--bind IP Listen on a specific IP address (default: all interfaces)
--upload-concurrency integer Maximum simultaneous uploads across all clients (default: 3, minimum: 1)

About

A LAN file sharing tool built with Go and React

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages