https://github.com/ejunjsh/httpdir
a commandline to make your directory become a static file server
https://github.com/ejunjsh/httpdir
command-line-tool go http-server static-server
Last synced: 3 months ago
JSON representation
a commandline to make your directory become a static file server
- Host: GitHub
- URL: https://github.com/ejunjsh/httpdir
- Owner: ejunjsh
- License: mit
- Created: 2018-09-05T12:53:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T06:50:24.000Z (over 6 years ago)
- Last Synced: 2024-12-29T08:41:59.214Z (4 months ago)
- Topics: command-line-tool, go, http-server, static-server
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httpdir
[](https://travis-ci.org/ejunjsh/httpdir)
a commandline to make your directory become a static file server
## install
# go get github.com/ejunjsh/httpdir
## usage
# httpdir -help
Usage of httpdir:
-addr string
listen address (default ":6789")
-dir string
directory (default ".")
-help
usage## example
# httpdir
then open browser and navigate to `http://localhost:6789`, you will see your files in the page.