https://github.com/c2nes/httpf
Simple HTTP single-file server
https://github.com/c2nes/httpf
Last synced: 10 months ago
JSON representation
Simple HTTP single-file server
- Host: GitHub
- URL: https://github.com/c2nes/httpf
- Owner: c2nes
- License: mit
- Created: 2015-01-19T13:59:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T14:25:58.000Z (over 4 years ago)
- Last Synced: 2025-01-17T01:48:06.381Z (12 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httpf
Serves a file over HTTP.
## Installation
```
go get github.com/c2nes/httpf
```
## Usage
```
$ cat test-file.txt
Hello, world!
$ httpf test-file.txt
http://192.168.119.44:59269/test-file.txt
```
```
$ curl -s http://192.168.119.44:59269/test-file.txt
Hello, world!
$
```