Skip to content

Commit

Permalink
README++
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Dec 4, 2023
1 parent 8e77502 commit 935997c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,29 @@
This repository contains mitmproxy's Rust bits, most notably:

- WireGuard Mode: The ability to proxy any device that can be configured as a WireGuard client.
- Windows OS Proxy Mode: The ability to proxy arbitrary Windows applications by name or pid.
- Local Redirect Mode: The ability to proxy arbitrary macOS or Windows applications by name or pid.


## Contributing

[![dev documentation](https://shields.mitmproxy.org/badge/docs-python%20api-blue.svg)](https://mitmproxy.github.io/mitmproxy_rs/)

[![Dev Guide](https://shields.mitmproxy.org/badge/docs-CONTRIBUTING.md-blue)](https://github.com/mitmproxy/mitmproxy_rs/blob/main/CONTRIBUTING.md)


## Architecture
[![dev documentation](https://shields.mitmproxy.org/badge/docs-Python%20API-blue.svg)](https://mitmproxy.github.io/mitmproxy_rs/)

### Structure

- [`src/`](./src): The `mitmproxy` crate containing most of the "meat".
- [`mitmproxy-rs/`](./mitmproxy-rs): The `mitmproxy-rs` Python package,
which provides PyO3 bindings for the Rust crate.
Source and binary distributions are available [on PyPI](https://pypi.org/project/mitmproxy-rs/).
- [`mitmproxy-macos/`](./mitmproxy-macos): The `mitmproxy-macos` Python package, which
contains a macOS Network Extension to transparently intercept macOS traffic.
Only a binary distribution is available [on PyPI](https://pypi.org/project/mitmproxy-macos/)
due to code signing and notarization requirements.
- [`mitmproxy-windows/`](./mitmproxy-windows): The `mitmproxy-windows` Python package, which
contains the Windows traffic redirector based on WinDivert.
Only a binary distribution is available [on PyPI](https://pypi.org/project/mitmproxy-windows/)
due to build complexity.

### Architecture

![library architecture](architecture.png)
12 changes: 3 additions & 9 deletions mitmproxy-rs/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# mitmproxy_rs

[![autofix.ci: enabled](https://shields.mitmproxy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CAtMjAgLTUuNSAtNjB0LTEwLjUgLTc5dC01IC01OHEwIC00MCAzMCAtNTMuNXQxMDQgLTEzLjV6TTEyNjIgNjE2cS0xMTkgMCAtMjI5LjUgMzQuNXQtMTkzLjUgOTYuNWw0OCA2NCBxNzMgLTU1IDE3MC41IC04NXQyMDQuNSAtMzBxMTM3IDAgMjQ5IDQ1LjV0MTc5IDEyMXQ2NyAxNjUuNWg4MHEwIC0xMTQgLTc3LjUgLTIwNy41dC0yMDggLTE0OXQtMjg5LjUgLTU1LjV6TTgwMyA1OTVxODAgMCAxNDkgMjkuNXQxMDggNzIuNWwyMjEgLTY3bDMwOSA4NnE0NyAtMzIgMTA0LjUgLTUwdDExNy41IC0xOHE5MSAwIDE2NSAzOHQxMTguNSAxMDMuNXQ0NC41IDE0Ni41cTAgNzYgLTM0LjUgMTQ5dC05NS41IDEzNHQtMTQzIDk5IHEtMzcgMTA3IC0xMTUuNSAxODMuNXQtMTg2IDExNy41dC0yMzAuNSA0MXEtMTAzIDAgLTE5Ny41IC0yNnQtMTY5IC03Mi41dC0xMTcuNSAtMTA4dC00MyAtMTMxLjVxMCAtMzQgMTQuNSAtNjIuNXQ0MC41IC01MC41bC01NSAtNTlxLTM0IDI5IC01NCA2NS41dC0yNSA4MS41cS04MSAtMTggLTE0NSAtNzB0LTEwMSAtMTI1LjV0LTM3IC0xNTguNXEwIC0xMDIgNDguNSAtMTgwLjV0MTI5LjUgLTEyM3QxNzkgLTQ0LjV6Ii8+PC9zdmc+)](https://autofix.ci)
[![Continuous Integration Status](https://github.com/mitmproxy/mitmproxy_rs/workflows/CI/badge.svg?branch=main)](https://github.com/mitmproxy/mitmproxy_rs/actions?query=branch%3Amain)
[![Latest Version](https://shields.mitmproxy.org/pypi/v/mitmproxy-rs.svg)](https://pypi.python.org/pypi/mitmproxy-wireguard)
[![Supported Python versions](https://shields.mitmproxy.org/pypi/pyversions/mitmproxy.svg)](https://pypi.python.org/pypi/mitmproxy)
![PyPI - Wheel](https://shields.mitmproxy.org/pypi/wheel/mitmproxy-rs)
[![dev documentation](https://shields.mitmproxy.org/badge/docs-dev-brightgreen.svg)](https://mitmproxy.github.io/mitmproxy_rs/)
This package contains mitmproxy's Rust bits.

This package contains mitmproxy's Rust bits, most notably:
[![dev documentation](https://shields.mitmproxy.org/badge/docs-Python%20API-blue.svg)](https://mitmproxy.github.io/mitmproxy_rs/)

- WireGuard Mode: Transparently proxy any device that can be configured as a WireGuard client.
- Windows Proxy Mode: Transparently proxy Windows applications by name or pid.
https://github.com/mitmproxy/mitmproxy_rs

0 comments on commit 935997c

Please sign in to comment.