Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newpanjing/file_server
a golang simple file server
https://github.com/newpanjing/file_server
file golang golang-http golang-web http-server server static-file static-server
Last synced: 27 days ago
JSON representation
a golang simple file server
- Host: GitHub
- URL: https://github.com/newpanjing/file_server
- Owner: newpanjing
- Created: 2023-02-27T14:38:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-28T06:38:56.000Z (7 months ago)
- Last Synced: 2024-03-28T07:32:26.060Z (7 months ago)
- Topics: file, golang, golang-http, golang-web, http-server, server, static-file, static-server
- Language: Go
- Homepage: https://simpleui.72wo.com
- Size: 342 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File Server
a simple file server
一个简单的文件服务器
会在当前文件夹中创建一个文件服务,可以通过浏览器访问,默认为`1234`端口,可以通过命令行参数修改端口
## Download
[https://github.com/newpanjing/file_server/releases](https://github.com/newpanjing/file_server/releases)
## Preview
![preview](./imgs/preview.gif)
## Usage
### Run
```bash
go run main.go
```### Build
```bash
go build main.go
```### Run with port
```bash
./fs --host=127.0.0.1:1234
```