Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maulingmonkey/mmuhttpd

0 deps 100% monkey HTTP server
https://github.com/maulingmonkey/mmuhttpd

http httpd rust server

Last synced: about 2 months ago
JSON representation

0 deps 100% monkey HTTP server

Awesome Lists containing this project

README

        

# mmuhttpd

| πŸ¦€ | Meanings |
| ------| ---------|
| MM | [MaulingMonkey](https://github.com/MaulingMonkey)'s
| U | [Micro (Β΅)](https://en.wikipedia.org/wiki/Micro-)
| HTTP | [HyperText Transfer Protocol](https://en.wikipedia.org/wiki/HTTP)
| D | [Daemon](https://en.wikipedia.org/wiki/Daemon_(computing))

## Raison d'Γͺtre

* 0 dependencies
* 100% monkey
* don't actually use this

## Usage

Install cargo/rust via e.g. [rustup](https://rustup.rs/)
```sh
rustup update # IDK how old your rust install is but you should probably update it
cargo install --git https://github.com/MaulingMonkey/mmuhttpd
mmuhttpd # use CWD as your webroot
mmuhttpd --open some/other/dir # use another dir as your webroot + open your browser
mmuhttpd --allow-all-ipv4 # allow non-localhost traffic (bind to any/all IPv4 addresses)
mmuhttpd --allow-all-ipv6 # allow non-localhost traffic (bind to any/all IPv6 addresses)
```

License

Licensed under either of

* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or )
* MIT license ([LICENSE-MIT](LICENSE-MIT) or )

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.