https://github.com/joshcap20/rhoxy
Simple HTTP/HTTPS proxy in rust
https://github.com/joshcap20/rhoxy
http-proxy https-proxy proxy rust
Last synced: 7 months ago
JSON representation
Simple HTTP/HTTPS proxy in rust
- Host: GitHub
- URL: https://github.com/joshcap20/rhoxy
- Owner: JoshCap20
- Created: 2025-08-20T06:02:10.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-08-20T07:53:57.000Z (7 months ago)
- Last Synced: 2025-08-20T08:36:40.848Z (7 months ago)
- Topics: http-proxy, https-proxy, proxy, rust
- Language: Rust
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rhoxy - Rust HTTP/HTTPS Proxy
[](https://github.com/JoshCap20/rhoxy/actions/workflows/test.yml)
[](https://github.com/JoshCap20/rhoxy/actions/workflows/deploy.yml)
An async HTTP/HTTPS proxy in Rust
## Running
Arguments:
```
#[arg(long, default_value = "127.0.0.1", help = "Host to listen on")]
host: String,
#[arg(short, long, default_value = "8080", help = "Port to listen on")]
port: u16, // allows values 0...65535
#[arg(long, help = "Enable debug logging")]
verbose: bool,
```
## Install
```bash
cargo install rhoxy
```
**Running the above command will globally install the rhoxy binary.**
### Install as library
Run the following Cargo command in your project directory:
```bash
cargo add rhoxy
```
Or add the following line to your Cargo.toml:
```
rhoxy = "0.2.6"
```
### Source Install
### Development
```bash
# listen on port 8081 on host 127.0.0.1 with debug logging
cargo run -- --port 8081 --verbose
```
### Build
```bash
cargo build --release
cargo install --path .
rhoxy --port 8080
```
### TODO
- Authentication
- Access logging
- Rate limiting