Skip to content

About

Async Python MITM proxy with a self-signed CA — HTTP/1.1 & HTTP/2, pluggable middleware for inspecting and rewriting traffic in flight.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mitm-proxy

CI Release Image

Async Python MITM proxy with a self-signed CA — HTTP/1.1 & HTTP/2, pluggable middleware for inspecting and rewriting traffic in flight.

Quick Start

docker run -d --name mitm-proxy -p 127.0.0.1:8080:8080 ghcr.io/metalayerlab/mitm-proxy:latest
curl http://127.0.0.1:8080/healthz

The full walk-through is in the wiki's Quick Start.

Documentation

Everything is in the wiki. Its source is docs/wiki/, in this repository, reviewed with the code.

For AI assistants

Built with AI assistants; every change gets human review. AGENTS.md and .agents/stack.md are the only instruction files (stack, commands, rules, definition of done, docs map). Read them instead of this README.

Assistant Entry point
Claude Code CLAUDE.md (imports both) + .claude/settings.json
Codex, Cursor, Copilot coding agent AGENTS.md, natively (Copilot, Cursor pointers)
Gemini CLI GEMINI.md (imports both)
Chat without repo access docs/ai/prompts.md, "Context for a chat assistant"

Humans: kick-off prompts are in docs/ai/prompts.md, and the review checklist in docs/ai/review-checklist.md.

Development

uv sync                           # Python >= 3.13, dev tools included
uv run pytest                     # tests (80% coverage floor)
uv run ruff check && uv run mypy  # lint and type check

New project? Fill in .github/repository.toml (the description, homepage = the wiki, topics), then run python3 scripts/repo-metadata.py to set GitHub's About box from it; CI warns when the two drift.

The workflow is: a branch, Conventional Commit PR titles, squash merge. Releases are automated by release-please. See Contributing.

This project was generated from template-base and template-python (and template-container for the image). Template fixes arrive as a weekly Template update PR per template.

License

Released into the public domain under the Unlicense.

About

Async Python MITM proxy with a self-signed CA — HTTP/1.1 & HTTP/2, pluggable middleware for inspecting and rewriting traffic in flight.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages