Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hellojukay/httpfs
Go 编写的静态文件服务器,支持文件拖拽上传,无第三方包依赖, 支持 Windows, Linux , Darwin。
https://github.com/hellojukay/httpfs
fileserver golang http-server simple upload
Last synced: 17 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T09:28:22.000Z (about 1 month ago)
- Last Synced: 2024-10-21T23:28:40.367Z (22 days ago)
- Topics: fileserver, golang, http-server, simple, upload
- Language: Go
- Homepage:
- Size: 2.75 MB
- Stars: 43
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# httpfs
一个简单的静态文件服务器,支持拖拽上传文件,目的在于解决内网共享文件的问题。[English](README_en.md)
[![build](https://github.com/hellojukay/httpfs/actions/workflows/go-build.yml/badge.svg?event=push)](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/
```浏览器上传文件
![demo](demo.gif)# 特性
* 单文件,免安装,静态编译无依赖
* 支持Linux,Windows,Mac OSX 等
* 拖拽上传