[GH-ISSUE #1546] Feature Request: Copy http_proxy and https_proxy shell command to clipboard #1540

Open
opened 2026-03-03 19:52:17 +03:00 by kerem · 4 comments
Owner

Originally created by @ShaneQi on GitHub (Feb 16, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1546

Originally assigned to: @NghiaTranUIT on GitHub.

Description

I've looked through the menus very hard and didn't find such an option.
I hope I didn't overlook anything. If this feature already exists, I apologize in advance.

The feature description:

  1. there should be a button to copy the shell command, that sets env vars http_proxy and https_proxy, to the clipboard.
  2. the shell command is used in a shell/terminal so that Proxyman would capture the network traffic in the shell/terminal.
  3. for example, the shell command copied to the clipboard would look like this: export https_proxy=http://192.168.1.222:9091 http_proxy=http://192.168.1.222:9091

This feature request was inspired by ClashX.
ClashX has a Copy shell command under its menu item, which I found very useful.

image

Why this feature/change is important?

I'm not aware of any other better way to config the terminal for its traffic to be captured by Proxyman.

For developers that use terminal to develop network-related programs, I assume the shell command that sets http_proxy and https_proxy is used a lot of times every day.

The command can be added to the shell's profile file (e.g. .bashrc, .zshrc) and take effect permanently, but for users that don't always keep Proxyman opened, it doesn't make sense.
Most users would probably only set http_proxy and https_proxy when needed, and copying the whole command directly from Proxyman instead of typing it out would be super convenient.

Originally created by @ShaneQi on GitHub (Feb 16, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1546 Originally assigned to: @NghiaTranUIT on GitHub. ## Description I've looked through the menus very hard and didn't find such an option. I hope I didn't overlook anything. If this feature already exists, I apologize in advance. The feature description: 1. there should be a button to copy the shell command, that sets env vars `http_proxy` and `https_proxy`, to the clipboard. 2. the shell command is used in a shell/terminal so that Proxyman would capture the network traffic in the shell/terminal. 3. for example, the shell command copied to the clipboard would look like this: `export https_proxy=http://192.168.1.222:9091 http_proxy=http://192.168.1.222:9091` This feature request was inspired by ClashX. ClashX has a Copy shell command under its menu item, which I found very useful. <img width="251" alt="image" src="https://user-images.githubusercontent.com/7324708/219258597-49e52056-1900-42ae-bf29-a0b3a44820d9.png"> ## Why this feature/change is important? I'm not aware of any other better way to config the terminal for its traffic to be captured by Proxyman. For developers that use terminal to develop network-related programs, I assume the shell command that sets `http_proxy` and `https_proxy` is used a lot of times every day. The command can be added to the shell's profile file (e.g. `.bashrc`, `.zshrc`) and take effect permanently, but for users that don't always keep Proxyman opened, it doesn't make sense. Most users would probably only set `http_proxy` and `https_proxy` when needed, and copying the whole command directly from Proxyman instead of typing it out would be super convenient.
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 16, 2023):

Thanks. It makes sense, I will add it now 👍

<!-- gh-comment-id:1432470928 --> @NghiaTranUIT commented on GitHub (Feb 16, 2023): Thanks. It makes sense, I will add it now 👍
Author
Owner

@ShaneQi commented on GitHub (Feb 16, 2023):

Thanks. It makes sense, I will add it now 👍

Wow, I didn't expect such a quick response, thank you!

<!-- gh-comment-id:1432475228 --> @ShaneQi commented on GitHub (Feb 16, 2023): > Thanks. It makes sense, I will add it now 👍 Wow, I didn't expect such a quick response, thank you!
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 16, 2023):

@ShaneQi Here is the Beta build: https://download.proxyman.io/beta/Proxyman_4.2.1_Support_Copy_Shell_Command.dmg

Screenshot 2023-02-16 at 11 22 56
<!-- gh-comment-id:1432493988 --> @NghiaTranUIT commented on GitHub (Feb 16, 2023): @ShaneQi Here is the Beta build: https://download.proxyman.io/beta/Proxyman_4.2.1_Support_Copy_Shell_Command.dmg <img width="516" alt="Screenshot 2023-02-16 at 11 22 56" src="https://user-images.githubusercontent.com/5878421/219268069-8d2943e0-26b2-4512-ac1d-7282c1132f91.png">
Author
Owner

@ShaneQi commented on GitHub (Feb 16, 2023):

That was fast!

I installed it and it works perfectly. Even where the button goes is same as what I imagined.

I will keep using this beta build for a while longer and let you know if there is anything wrong (I doubt there will be).

Thanks again!

PS: Please feel free to close this issue whenever works for your workflow.

<!-- gh-comment-id:1432571787 --> @ShaneQi commented on GitHub (Feb 16, 2023): That was fast! I installed it and it works perfectly. Even where the button goes is same as what I imagined. I will keep using this beta build for a while longer and let you know if there is anything wrong (I doubt there will be). Thanks again! PS: Please feel free to close this issue whenever works for your workflow.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1540
No description provided.