mitmproxy/web
Copilot 6bc7f0a4f2
Rename mitmweb XSRF cookie to _mitmproxy_xsrf to recover broken Firefox sessions (#8224)
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2026-05-12 12:30:47 +00:00
..
gen eslint: consistent-type-imports (#7975) 2026-01-02 01:44:09 +01:00
public/static Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
src Rename mitmweb XSRF cookie to _mitmproxy_xsrf to recover broken Firefox sessions (#8224) 2026-05-12 12:30:47 +00:00
.editorconfig
.prettierignore
eslint.config.mjs eslint: consistent-type-imports (#7975) 2026-01-02 01:44:09 +01:00
index.html Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
jest.config.js
package-lock.json Fix TypeScript build (#7988) 2026-01-02 01:39:38 +01:00
package.json Fix TypeScript build (#7988) 2026-01-02 01:39:38 +01:00
README.md Update node.js version (#7992) 2025-11-24 18:46:06 +00:00
setup-global-jest.js
setup-jest.js
tsconfig.json Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
vite.config.ts Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00

Quick Start

  • Install mitmproxy as described in ../CONTRIBUTING.md
  • Run node --version to make sure that you have at least Node.js 24 or above.
  • Run cd ./web to change to the directory with package.json.
  • Run npm install to install dependencies.
  • Run uv run mitmweb
  • Run npm start in a separate window to start the Vite development server for the web interface.

Testing

  • Run npm test to run the test suite.

Code formatting

Architecture

There are two components:

Contributing

We very much appreciate any (small) improvements to mitmweb. Please do not include the compiled assets in mitmproxy/tools/web/static in your pull request. Refreshing them on every commit would massively increase repository size. We will update these files before every release.

Developer Tools