https://github.com/c2nes/httpf
Simple HTTP single-file server
https://github.com/c2nes/httpf
Last synced: 3 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T20:55:02.000Z (over 1 year ago)
- Last Synced: 2025-04-01T21:34:55.274Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- 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!
$
```