https://github.com/codenoid/portable-http-server
Simple HTTP Server with Dir Listing, Explore & File Upload support
https://github.com/codenoid/portable-http-server
Last synced: 10 months ago
JSON representation
Simple HTTP Server with Dir Listing, Explore & File Upload support
- Host: GitHub
- URL: https://github.com/codenoid/portable-http-server
- Owner: codenoid
- Created: 2020-06-05T07:22:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-18T11:13:03.000Z (over 4 years ago)
- Last Synced: 2025-03-29T17:11:12.264Z (11 months ago)
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Portable HTTP Server
## Features
- [x] Directory Listing
- [x] Directory Explore
- [x] Upload file `/upload`
## Installation
If you already have Go installed on your computer, use :
```sh
go get github.com/codenoid/portable-http-server
```
## Usage
```sh
$ portable-http-server -help
-port string
-port (default "3000")
# upload a file
$ curl -F "file=@path/to/file.jpg" 127.0.0.1:3000/upload
```