33 lines
702 B
Markdown
33 lines
702 B
Markdown
# hyp
|
|
### hyperminimal https server
|
|
Also pyh(ttps) backward.
|
|
|
|
Perfect for sharing files on the fly.
|
|
## Usage
|
|
|
|
hyp
|
|
|
|
Will load tls certificates inside `/etc/ssl/certs` and start serving
|
|
the working directory on every interface, on port 443.
|
|
|
|
hyp localhost 8080
|
|
|
|
Use custom address and port.
|
|
|
|
hyp -t .local/share/certs
|
|
|
|
Use another directory.
|
|
|
|
Without any key/certificate hyp will fallback to http.
|
|
|
|
hyp -u
|
|
|
|
Will save in the current working directory any file uploaded with a POST request.
|
|
Go to the bind address for a handy html form.
|
|
|
|
## License
|
|
|
|
Dual licensed under the MIT and GPL licenses:
|
|
http://www.opensource.org/licenses/mit-license.php
|
|
http://www.gnu.org/licenses/gpl.html
|