mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #224] Remap response from File #222
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NghiaTranUIT on GitHub (Jul 17, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/224
Originally assigned to: @NghiaTranUIT on GitHub.
🐶 Brief
It's better to support simple version of entire remap feature, which remap response from
file.👑 Criteria
@factotvm commented on GitHub (Jul 18, 2019):
I want to say that when this is complete, I will have the features I need to evaluate Proxyman for my day-to-day work. 👍
@NghiaTranUIT commented on GitHub (Jul 19, 2019):
Thank @factotvm, it's guarantee that this remap from file will release in next version. Stay tuned :D
If you're encountering any problem during using Proxyman for your day-to-day work. Pls shot me an issues 👍
@fishcharlie commented on GitHub (Jul 26, 2019):
@NghiaTranUIT I appreciate your hard work on this. But please refrain from making promises that won't be kept. It's much better to under promise and over deliver.
This feature is turning into Apple's AirPower product. Except I'm very confident this feature will happen.
Really excited for this, but due to the fact that it was requested SO long ago and still hasn't been implemented, the least you can do is not get everyone's hopes up without delivering. This feature is fundamental to a lot of people's day to day work as @factotvm mentioned.
@NghiaTranUIT commented on GitHub (Jul 27, 2019):
@fishcharlie I promise since I've worked on this feature for couples weeks. It sounds easy but not strait-forward in term of the complexity of implementation and i'm trying my best.
Sorry for being later since I had another features to make Proxyman to be stable. And now, it's perfect time to continue doing the Remap 🌮 🎉
@NghiaTranUIT commented on GitHub (Aug 1, 2019):
Hey @fishcharlie and @factotvm
Here is the BETA for this Remap Local https://www.dropbox.com/s/ftmzhw2pf29x08m/Proxyman_1.4.6-map-local-feature.dmg?dl=0
Let me know if you're happy with it, since I spent a lot of effort to redesign the UIUX and refactor the Core too.
Let give it a try 👍 I will rollout officially in this weekend 🌮 🎉
Matching Rule
Basically, I understand the complexity of Charles Proxy in order to setup the Rule for Remap when there are a lot of textfields to fills, such as: HTTP/HTTPS, Domain, Path, Query, ... and many different rules in their documents.
Therefore, I would minimize the number of steps by introducing the URL (wildcard support) and the check "Include subdirectories". From what I'm testing, it could cover 90% all cases, and the UX could become better.
For instances:
Therefore, if we know how Wildcard works, it will works :D
How to use
How it works
Include subdirectoriesis ON. All sub-paths of the URL will be matched, but it must match the Rule first.Screenshots
@Jazper commented on GitHub (Aug 4, 2019):
Thank you NghiaTranUIT for a great work!

But. Is it possible to remap to local folder?
Like
@NghiaTranUIT commented on GitHub (Aug 4, 2019):
Hey @Jazper It's cool idea to be able map an entire local folder, but there is a situation.
For example:
Another scenario is that if we have 10 files in this folder, but we have 3 matched URLs (wildcard). Which file is for which URL?
The general question is: What specific file should we use 🤔 ?
@NghiaTranUIT commented on GitHub (Aug 4, 2019):
It'd be great if you can elaborate what your current workflow is, then I could come up an idea to help you 😄
@Jazper commented on GitHub (Aug 4, 2019):
You can see how it is implemented in Charles or Fiddler. For example:
Map:
http://domain/app/*to localapp/*Local folder has:
app/image.jpg,app/js/script.jsAnd responses:
http://domain/app/image.jpgto localapp/image.jpghttp://domain/app/js/script.jsto localapp/js/script.jsIf no matches
http://domain/app/file.extto remotehttp://domain/app/file.extI have many files in my project. More than 1000. And it would be great if I could replace all with one rule.
You can prioritize rules from top to bottom in the list.
@NghiaTranUIT commented on GitHub (Aug 5, 2019):
Thank for the detail answer @Jazper, I just created this ticket https://github.com/ProxymanApp/Proxyman/issues/239 and it is going to ship in Proxyman 1.8.0 👍
@Jazper commented on GitHub (Aug 5, 2019):
Thank you @NghiaTranUIT for your work! :)
@NghiaTranUIT commented on GitHub (Feb 3, 2020):
Hey there @Jazper and @armiakrajowa, here is the BETA for this "Map Local from local directory"
https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.15.0_Map_Local_From_Local_Directory.dmg
Sorry for being late since there are other high priority tasks too 😄
Basically, you can select a local directly and it will map like you mention in https://github.com/ProxymanApp/Proxyman/issues/224#issuecomment-517981601
Quick Look
New Map Local v2 UI
Guidline
Debug header key