Skip to content

SpringStudent/HttpFileShare

Repository files navigation

English | 中文

Purpose

This project was born out of the need for convenient file sharing within local networks.

  • Convenient:Share a local file instantly via an HTTP address with just one click!
  • Safe:No need to transfer files via FTP or WeChat servers.
  • Collaboration:Support downloading files via QR code.
  • CommandLine:Support cmd to share/cancel/list files,Compatible with headless systems.

Compare

Compared to Nginx and Python's http.server, the key differences are:While those can only serve files from predefined directories, HttpFileShare allows sharing files from any directory without configuration changes or server restarts. It provides a graphical interface for easily sharing/unsharing files.

Parameters Explanation

Parameter Explanation
-DhttpFileShare.port=11111 Specify the HTTP server port. If not specified, the system will randomly select an available unused port.
-DhttpFileShare.ip=172.16.1.37 Specify the IP address for the HTTP server, typically used for computers with multiple network interfaces.

Demonstration Video

Bilibili Video

Q&A

  • 1.windows modify ip port

HttpFileShare

  1. Modify Startup IP and Port on macOS

Locate the HttpFileShare.app package and edit the Contents/app/HttpFileShare.cfg file (create it if it doesn’t exist). Add the following JVM parameters to the file:

[JavaOptions]
java-options=-Djpackage.app-version=1.0.0
java-options=-DhttpFileShare.port=11111
java-options=-DhttpFileShare.ip=172.16.1.37

Screenshots

HttpFileShare HttpFileShare HttpFileShare HttpFileShare HttpFileShare

About

Share Your File Using Http Protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages