https://github.com/rocket049/fileserver
这个程序用于在局域网中的几台电脑、手机之间互相下载上传文件。this is a standalone server to share and upload files.
https://github.com/rocket049/fileserver
download go server upload
Last synced: 15 days ago
JSON representation
这个程序用于在局域网中的几台电脑、手机之间互相下载上传文件。this is a standalone server to share and upload files.
- Host: GitHub
- URL: https://github.com/rocket049/fileserver
- Owner: rocket049
- License: apache-2.0
- Created: 2019-04-10T04:20:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T12:12:25.000Z (about 2 years ago)
- Last Synced: 2024-06-19T03:02:20.225Z (over 1 year ago)
- Topics: download, go, server, upload
- Language: Go
- Homepage:
- Size: 12.7 MB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### 这个程序用于解决局域网中的几台电脑、手机之间临时性互相传送文件问题
编译安装:
使用`go`编译:
`go get github.com/rocket049/fileserver`
直接下载可执行程序:
[https://github.com/rocket049/fileserver/releases](https://github.com/rocket049/fileserver/releases)
下载解压后,把可执行程序移动到 `PATH` 中使用。
参数:
```
-share string
Share files in this DIR (default ".")。分享这个目录中的文件。
-upload string
Upload files to this DIR (default ".")。上传文件到这个目录。
```
运行后会显示访问 URL ,输入浏览器就可以下载上传。
同时也会显示一个二维码,可以用手机浏览器扫描访问。
建议:使用另一个小工具 `tray-controller` 控制本程序,方便随时打开和关闭。
`tray-controller` 的主页:[https://github.com/rocket049/tray-controller](https://github.com/rocket049/tray-controller)
#### 专用图片显示程序
目录中的`showImg`程序是专用图片显示程序,编译后随便软链接到到某个包含在`PATH`中的目录就可以被`fileserver`调用。