[GH-ISSUE #1611] Feature: Automatic and Manual Setup for NodeJS, Ruby or Python #1605

Open
opened 2026-03-03 19:52:50 +03:00 by kerem · 5 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Apr 25, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1611

Originally assigned to: @NghiaTranUIT on GitHub.

Description

Pain point: Proxyman could not capture HTTP traffic from:

  • curl
  • NodeJS (axios, got, fetch, superagent, node-fetch).
  • Ruby: http, net/http, net/https, httparty, faraday
  • Python: request, aiohttp, http.client, urllib3

unless we have to manually set it up, which is error-prone and time-consuming.

Why this feature/change is important?

  • Zero setup, less error-prone
  • Work with many development environments, NodeJS, Ruby, Python
Originally created by @NghiaTranUIT on GitHub (Apr 25, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1611 Originally assigned to: @NghiaTranUIT on GitHub. ## Description ❌ Pain point: Proxyman could not capture HTTP traffic from: - `curl` - NodeJS (axios, got, fetch, superagent, node-fetch). - Ruby: http, net/http, net/https, httparty, faraday - Python: request, aiohttp, http.client, urllib3 unless we have to manually set it up, which is error-prone and time-consuming. ## Why this feature/change is important? - Zero setup, less error-prone - Work with many development environments, NodeJS, Ruby, Python
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 25, 2023):

<!-- gh-comment-id:1521044841 --> @NghiaTranUIT commented on GitHub (Apr 25, 2023): - Beta: https://download.proxyman.io/beta/Proxyman_4.6.1_Support_Automatic_and_Manual_Setup.dmg - Automatic Setup ![Proxyman automatic setup](https://user-images.githubusercontent.com/5878421/234155191-8a75ac9b-b8b1-4043-a778-ec29a48a2579.jpg) - Manual Work: ![Proxyman with manual work](https://user-images.githubusercontent.com/5878421/234155206-17b14974-1291-4bd9-a89e-88da2ea107e5.jpg) - Document: https://docs.proxyman.io/automatic-setup/automatic-setup
Author
Owner

@rogerluan commented on GitHub (Apr 26, 2023):

It works! 🎉 Tested in Ruby (irb):

image

I think the documentation is good and easy to read. Some feedback you might wanna address here is that you accidentally included the full path of your local machine:

set -a && source "/Users/nghia/.proxyman/proxyman_env_automatic_setup.sh" && set +a

In my local machine the command was (obv) my own path, and not yours. Maybe in the docs you could use $HOME instead of /Users/nghia/ 😊

Also, since you added so many env vars for so many diff languages/frameworks, perhaps you might wanna include the one from fastlane/spaceship? https://github.com/fastlane/fastlane/blob/master/spaceship/docs/Debugging.md

That is SPACESHIP_PROXY (set to e.g. http://localhost:9090) and SPACESHIP_PROXY_SSL_VERIFY_NONE=1 :) I have to add that every time I need to debug something with fastlane, but perhaps that's too much of an advanced use. Very few people need to debug fastlane, unless they're helping develop fastlane or need to debug information to help with a bug report that is affecting them.

Anyways, thanks for this new feature!! Super useful ❤️

<!-- gh-comment-id:1522638197 --> @rogerluan commented on GitHub (Apr 26, 2023): It works! 🎉 Tested in Ruby (irb): <img width="1174" alt="image" src="https://user-images.githubusercontent.com/8419048/234443362-40683f1f-b86c-4563-9fa0-42524f77cdab.png"> I think the documentation is good and easy to read. Some feedback you might wanna address [here](https://docs.proxyman.io/automatic-setup/automatic-setup) is that you accidentally included the full path of your local machine: ```sh set -a && source "/Users/nghia/.proxyman/proxyman_env_automatic_setup.sh" && set +a ``` In my local machine the command was (obv) my own path, and not yours. Maybe in the docs you could use `$HOME` instead of `/Users/nghia/` 😊 Also, since you added so many env vars for so many diff languages/frameworks, perhaps you might wanna include the one from fastlane/spaceship? https://github.com/fastlane/fastlane/blob/master/spaceship/docs/Debugging.md That is `SPACESHIP_PROXY` (set to e.g. `http://localhost:9090`) and `SPACESHIP_PROXY_SSL_VERIFY_NONE=1` :) I have to add that every time I need to debug something with fastlane, but perhaps that's too much of an advanced use. Very few people need to debug fastlane, unless they're helping develop fastlane or need to debug information to help with a bug report that is affecting them. Anyways, thanks for this new feature!! Super useful ❤️
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 26, 2023):

Thanks for your valuable feedback @rogerluan 👍

I'm going to add SPACESHIP_PROXY and SPACESHIP_PROXY_SSL_VERIFY_NONE in the next beta build. The doc is fixed too 👍

<!-- gh-comment-id:1522645883 --> @NghiaTranUIT commented on GitHub (Apr 26, 2023): Thanks for your valuable feedback @rogerluan 👍 I'm going to add `SPACESHIP_PROXY ` and `SPACESHIP_PROXY_SSL_VERIFY_NONE` in the next beta build. The doc is fixed too 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 26, 2023):

Update v2:

Changelog

  • Support Fastlane
  • Fixed: The app is unresponsive as soon as opening the Manual Setup Windows
<!-- gh-comment-id:1522693489 --> @NghiaTranUIT commented on GitHub (Apr 26, 2023): ### Update v2: - Beta: https://download.proxyman.io/beta/Proxyman_4.6.1_Automatic_Setup_v2.dmg ### Changelog - Support Fastlane - Fixed: The app is unresponsive as soon as opening the Manual Setup Windows
Author
Owner

@rogerluan commented on GitHub (May 26, 2023):

Thanks for your valuable feedback @rogerluan 👍

I'm going to add SPACESHIP_PROXY and SPACESHIP_PROXY_SSL_VERIFY_NONE in the next beta build. The doc is fixed too 👍

I can confirm the fastlane integration is working 😁!! Awesome work! Thank you @NghiaTranUIT ! (and sorry for the delay to report back 🙈 )

<!-- gh-comment-id:1563679029 --> @rogerluan commented on GitHub (May 26, 2023): > Thanks for your valuable feedback @rogerluan 👍 > > I'm going to add `SPACESHIP_PROXY ` and `SPACESHIP_PROXY_SSL_VERIFY_NONE` in the next beta build. The doc is fixed too 👍 I can confirm the fastlane integration is working 😁!! Awesome work! Thank you @NghiaTranUIT ! (and sorry for the delay to report back 🙈 )
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#1605
No description provided.