mitmproxy/web
DNEGEL3125 f51edd5cba
Fix TypeScript build (#7988)
* Fix TypeScript build

- Add package `@types/react`
- Remove `@ts-expect-error no popover support yet` in `Popover.tsx`

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-02 01:39:38 +01:00
..
gen Ensure syntax highlighting is consistent between Rust and mitmweb (#7741) 2025-05-30 23:21:40 +02:00
public/static Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
src Fix TypeScript build (#7988) 2026-01-02 01:39:38 +01:00
.editorconfig
.prettierignore
eslint.config.mjs Web: Show Local timezone in the Timing tab (#7804) 2025-08-08 08:08:30 +02:00
index.html Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
jest.config.js Web: Show Local timezone in the Timing tab (#7804) 2025-08-08 08:08:30 +02:00
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 Web: Show Local timezone in the Timing tab (#7804) 2025-08-08 08:08:30 +02:00
setup-jest.js Web: Show Local timezone in the Timing tab (#7804) 2025-08-08 08:08:30 +02:00
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