Export and run script

Open
#2,703 3 comments 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Jul 2, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement

Description

I use Proxyman extensively to capture traffic, which then gets analysed by other tools (some I build, some 3rd parties).
Currently, this requires exporting the requests I'm interested in, exporting them to file (just the response body, or the whole request) or as archive (HAR or Proxyman), then running my CLI tools passing those files paths as argument.

I would like to suggest a new feature that makes it possible to have all that done automatically, through

  1. a mechanism to register commands in Proxyman
  2. within which placeholders can define what type of file I want to have
  3. right click > export > script >
  4. Proxyman exports the selected requests in a file in the format defined by the placeholders, and runs the command with it, then displays the STDOUT of that command

This likely requires being able to set an environment for running the command, in particular: working directory, environment variables, etc.

For example:
Name: "analyse MPD"
Working directory "~/Analyses"
Command: "uv run python analyse.py {{response_body}}"

I'm sure there are tons of side cases I'm not considering (eg. what if multiple requests are selected, and placeholder {{response_body}} is used (instead of for example {{har}})? Run the command for each of them? Block?
I'm open to any discussion.

Why this feature/change is important?

Faster ability to run workflows directly from Proxyman

Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ProxymanApp/Proxyman

All issues in ProxymanApp/Proxyman

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.