feat: init commit
This commit is contained in:
48
README.md
Normal file
48
README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# lazyprox
|
||||
Minimal TCP proxy with an exit-on-idle timeout configuration option. Useful for sparing resources on idling devcontainers.
|
||||
|
||||
**⚠️ Warning:** This was built in a night to scratch a personal itch, please remove any expectation of this working for your use-case or support.
|
||||
|
||||
### Usage
|
||||
|
||||
```
|
||||
./target/release/lazyprox --help
|
||||
lazyprox 0.1.0
|
||||
|
||||
USAGE:
|
||||
lazyprox --listen <LISTEN> --dest <DEST> --idle-timeout-secs <IDLE_TIMEOUT_SECS>
|
||||
|
||||
OPTIONS:
|
||||
-d, --dest <DEST>
|
||||
Socket address of TCP destination, eg localhost:22
|
||||
|
||||
-h, --help
|
||||
Print help information
|
||||
|
||||
-i, --idle-timeout-secs <IDLE_TIMEOUT_SECS>
|
||||
Number of seconds of idle time before exiting
|
||||
|
||||
-l, --listen <LISTEN>
|
||||
Bind socket address of TCP listener, eg 0.0.0.0:2222
|
||||
|
||||
-V, --version
|
||||
Print version information
|
||||
|
||||
```
|
||||
|
||||
### Download
|
||||
|
||||
| Targets |
|
||||
|---------|
|
||||
| `x86_64-unknown-linux-gnu` |
|
||||
| `x86_64-unknown-linux-musl` |
|
||||
| `aarch64-unknown-linux-gnu` |
|
||||
| `aarch64-unknown-linux-musl` |
|
||||
|
||||
Example:
|
||||
|
||||
```sh
|
||||
curl https://lazyprox.elliotlevin.dev/lazyprox-x86_64-unknown-linux-musl -o lazyprox
|
||||
chmod +x ./lazyprox
|
||||
./lazyprox --help
|
||||
```
|
||||
Reference in New Issue
Block a user