https://github.com/hellojukay/httpfs
Go 编写的静态文件服务器,支持文件拖拽上传,纯标准库实现,可以运行在群晖上, 支持 Windows, Linux , Darwin。
https://github.com/hellojukay/httpfs
fileserver golang http-server simple upload
Last synced: over 1 year ago
JSON representation
Go 编写的静态文件服务器,支持文件拖拽上传,纯标准库实现,可以运行在群晖上, 支持 Windows, Linux , Darwin。
- Host: GitHub
- URL: https://github.com/hellojukay/httpfs
- Owner: hellojukay
- License: bsd-3-clause
- Created: 2020-05-25T07:01:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T02:58:23.000Z (over 1 year ago)
- Last Synced: 2025-03-17T14:14:08.640Z (over 1 year ago)
- Topics: fileserver, golang, http-server, simple, upload
- Language: Go
- Homepage:
- Size: 2.76 MB
- Stars: 47
- Watchers: 1
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# httpfs
一个简单的静态文件服务器,支持拖拽上传文件,目的在于解决内网共享文件的问题。
[English](README_en.md)
[](https://github.com/hellojukay/httpfs/actions/workflows/go-build.yml)
# 安装
```shell
// 需要 golang 1.16 以及以上版本
go install github.com/hellojukay/httpfs@latest
httpfs --version
v0.5.0 h1:tgPLWu1eBpYuH9dSOl1xdODpbYBbS9CeMp84BfcCOcw=
```
命令行上传文件
```shell
curl -T filename http://127.0.0.1:8080/direcotry/
```
浏览器上传文件

# 特性
* 单文件,免安装,静态编译无依赖
* 支持Linux,Windows,Mac OSX 等
* 拖拽上传