mirror of
https://github.com/ProxymanApp/proxyman-windows-linux.git
synced 2026-04-27 00:45:55 +03:00
Labels
No labels
Linux
bug
enhancement
enhancement
pull-request
question
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxyman-windows-linux#346
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 (Jan 16, 2024).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/348
Originally assigned to: @kics223w1 on GitHub.
Description
It's time to implement the Map Remote features.
✅ It's okay to duplicate or subclass. Similar to what we've done for Map Local, Breakpoint and Scripting
1. Main UI
Implement and reuse the Main Table View + Logic

Right Menu Context

Make sure the logic of the menu context is working as Map Local, Breakpoint. For example, I can delete, duplicate, edit or create new Rule by using the Menu Context or Shortcut
Implement the Filter, similar to Map Local (Please note that Proxyman macOS doesn't support the Filter on Map Remote yet.)
Map Remote on Toolbar
@NghiaTranUIT commented on GitHub (Jan 16, 2024):
2. Map Remote Edit screen
Reuse the Match Rule View from other Tools. Don't implement the new one.

After editing the Protocol, it automatically fills the port number to 443 if the port is empty and protocol = https
https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/985bf7e7-5173-4f8d-8646-eb4bca9118ec
@NghiaTranUIT commented on GitHub (Jan 16, 2024):
3. Port classes to Proxyman Windows
MapRemoteEntry,MapRemoteServiceandURLEntryComponentclasses. Ping @NghiaTranUIT to get these fileMapRemoteEntryto implement the Map Remote List + Map Remote Edit screen -> Verify we can save, duplicate, create new, edit -> Work fine.HTTPHandler.swiftand a demo, to understand how Map Remote works under hood.For example:
Additional Logic
Notesrow might change, depending on the Map Remote Entry config. See theflow.serveFromRemoteURLinMapRemoteService@NghiaTranUIT commented on GitHub (Jan 16, 2024):
4. Map Remote Logic
4.1 How to test manually (Localhost to Production)
http://localhost:3000/post?action=map_remote-> Verify the connection is failed because we don't have any localhost:3000 serverhttps://httpbin.proxyman.appPreserve the original URLVideo Demo
https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/aa510e72-ea26-47ef-821a-b2d0b1b8130e
4.2 How to test manually (Production to Localhost)
Install docker and start a local httpbin:
$ docker run -p 80:80 kennethreitz/httpbinVerify we can call:
http://127.0.0.1/get?id=123in cURL or postmanUse Postman and send:
https://httpbin.proxyman.app/get?id=123Right Click on the request on Proxyman -> Tool -> Map Remote
Enter the following setting:

Repeat the request
✅ Verify we get the response from the
httpbin.orgdocker