Giter Site home page Giter Site logo

xcodebuild / iproxy Goto Github PK

View Code? Open in Web Editor NEW
150.0 4.0 23.0 41.4 MB

💎 Cross platform Web debugging proxy(fork of LightProxy、Linux & 多网卡支持)

Home Page: https://www.yuque.com/iproxy

License: Apache License 2.0

JavaScript 5.61% HTML 1.71% EJS 0.15% TypeScript 85.35% Less 7.19%
windows macos linux

iproxy's Introduction

CI GitHub issues GitHub closed issues Hits

Download | Document


📦 Out-of-box, fully automation with certificate install & system proxy setting

🔋 Battery include, powerful hosts/proxy/capture based on whistle, what u need is just input /

🔌 Hackable, you could write even Node.js for your proxy rule


Preview GIF

Download

macOS/Windows/Linux

About Linux Version

iProxy supports Linux now! It is contributed by the Deepin Beijing Develop Team.

Supported desktop environment: Gnome and DDE.

Supported linux distribution: Debian, Ubuntu, deepin, etc.

Unsupported desktop environment: KDE.

Fedora and Arch Linux: please replace libnss3-tools with the package name of your distribution.

Quick Start

Take a quick start at: https://yuque.com/iproxy

How to contribute

env

  • nodejs > 12 (important)
  • npm install -g electron-builder if you need bundle application

dev

git clone https://github.com/xcodebuild/iproxy
cd iproxy
yarn run install-deps
yarn run dev

For new contributors you can try to fix a 🏅send-a-PR

入群讨论

钉钉群 微信群
image image

Contributors ✨

Commit History

Commit History Chart

iproxy's People

Contributors

94mashiro avatar ahonn avatar alibaba-oss avatar allcontributors[bot] avatar dependabot[bot] avatar gamtiq avatar hi-otto avatar katz avatar kenve avatar kevinchen073 avatar luckyyyyy avatar musistudio avatar njzydark avatar richardo2016 avatar runly avatar shejinxin avatar shouhuanxiaoji avatar xcodebuild avatar yfdyh000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iproxy's Issues

win11,启动卡在loading界面

系统:Microsoft Windows11 专业版
版本: 10.0.22000 版本22000
系统类型 64位
操作系统版本: 22000.2295
软件版本:iProxy Setup 1.2.1-nightly-2023-08-15.exe (已尝试卸载重装,问题依旧)
node版本:C:\Users\xxx>nvm list

  • 16.20.0 (Currently using 64-bit executable)

问题现象:
通过快捷方式,或者安装文件夹双击 iProxy.exe 会卡在启动 loading 界面。。任务管理器有 4个 iProxy 进程。
通过命令行,输入 iProxy.exe 大概率能启动。
命令行输入iProxy,小概率也会卡在loading 界面, 此时命令行输出为:
15:26:36.221 > env null
(node:8584) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use iProxy --trace-deprecation ... to show where the warning was created)
a ai an ang ao a
in b
ao c
ai d
e ei en eng er e
en f
eng g
ang h
ch i
an j
uai ing k
iang uang l
ian m
iao n
uo o ou o
ie p
iu q
uan van r
ong iong s
ue ve t
sh u
zh ui v
ei w
ia ua x
un vn y
ou z

[14624:0816/152636.848:ERROR:crashpad_client_win.cc(844)] not connected


命令行成功启动时,会输出:
C:\Users\xxx\AppData\Local\Programs\iProxy>iProxy.exe

C:\Users\xxx\AppData\Local\Programs\iProxy>
15:40:33.665 > env null
(node:2876) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use iProxy --trace-deprecation ... to show where the warning was created)
a ai an ang ao a
in b
ao c
ai d
e ei en eng er e
en f
eng g
ang h
ch i
an j
uai ing k
iang uang l
ian m
iao n
uo o ou o
ie p
iu q
uan van r
ong iong s
ue ve t
sh u
zh ui v
ei w
ia ua x
un vn y
ou z

15:40:34.577 > {
ctimeMs: 1689238341917.823,
certKeyExist: true,
expireTime: 1717750341917.823,
currentTime: 1692171634577
}
15:40:34.643 > spawn module whistle-start
15:40:34.644 > boardcast port 10533
15:40:34.741 > [pid 18520]stdout:
const cp = require('child_process');
const originSpwan = cp.spawn;

// @ts-ignore
cp.spawn = function(cmd, argv, options) {
if (cmd === 'node' || cmd === 'node.exe') {
cmd = process.execPath;
options = options || {};
options.env = options.env || {};
options.env.ELECTRON_RUN_AS_NODE = '1';
}

return originSpwan.call(this, cmd, argv, options);

};
require(decodeURIComponent('C%3A%5CUsers%5Cxxx%5CAppData%5CRoaming%5CiProxy%5Cfiles%5Cnode%5Cnode_modules%5Cwhistle-start%5Cindex.js'));

15:40:34.808 > [pid 18520]stdout: pluginPaths [
'C:/Users/xxx/AppData/Roaming/npm/node_modules',
'C:/Users/xxx/AppData/Roaming/npm/node_modules',
'C:/Users/xxx/AppData/Roaming/iProxy/files/node/node_modules/whistle-start/node_modules',
'C:/Users/xxx/AppData/Roaming/iProxy/files/node/node_modules'
]
Whistle get boardcast port 10533

15:40:34.809 > [pid 18520]stdout: use custom cert: C:\Users\xxx\AppData\Roaming\iProxy\cert

15:40:34.826 > [pid 18520]stdout: Use port: { port: 12888, socksPort: 12889 }

15:40:34.827 > [pid 18520]stdout: opts {
host: '127.0.0.1',
port: 12888,
socksPort: 12889,
storage: 'C:\Users\xxx\AppData\Roaming\iProxy\whistle',
certDir: 'C:\Users\xxx\AppData\Roaming\iProxy\cert',
pluginPaths: [
'C:/Users/xxx/AppData/Roaming/npm/node_modules',
'C:/Users/xxx/AppData/Roaming/npm/node_modules',
'C:/Users/xxx/AppData/Roaming/iProxy/files/node/node_modules/whistle-start/node_modules',
'C:/Users/xxx/AppData/Roaming/iProxy/files/node/node_modules'
],
mode: 'classic|buildIn',
username: 'nT9U17xR',
password: 'ynqsHeD9'
}

15:40:35.096 > [pid 18520]stdout: Whistle for iProxy start: http://127.0.0.1:12888
Whistle start for socks port:12889

win10代理未启动

请问系统代理未启动,重新安装证书和helper之后,仍然显示代理未启动,应该如何解决?

[RFC]建议增加主题换肤功能

功能提议:界面支持换肤功能,包括主题颜色、字号、界面背景图等内容。
意义:不同的企业或者部门或者说人,对于主题的喜好都有差别,如果能够提供符合大家意愿的主题,会对个人心情以及开发效率有极大的提升,同时也能够彰显特色。

体验问题汇总

这是个非常棒的代理工具,产品化到这个程度肯定花费了很多功夫,给研发大大们点赞。
我已经推广给团队的小伙伴使用,希望能提高团队的研发效率
下面是一些体验过程中发现的问题😄,希望一起让这个工具更好用,让更多人用起来
前3条是比较麻烦的,后面的是一些体验建议

1、多网卡情况下显示ip有误
windows电脑装了vmware后会装虚拟网卡,会有个局域网ip,iproxy会默认代理这个ip的端口,而不是真实设备的ip,其他局域网设备访问不了
image
image

2、在第一个tab的规则里编写规则保存后,不会立刻生效,需要进入到whistle里的规则tab再reload一下,这个比较麻烦

3、建议可以打开软件后自动打开手机代理,charles是打开后默认进行代理的(或者有个开关设置),现在需要打开软件后再打开那个tab才可以,这个操作也是隐性的,容易遗忘

4、现在双击规则后会开启关闭,但这个提示只有禁用的时候有,这个交互不明显,建议开启的时候也有对应提示
image

5、iproxy里的whistle怎么自行装其他插件?

6、是否可能让用户自行升级whistle版本?

7、“手机代理”的设置比较麻烦,建议可以附个教程链接到这个页面

8、设置这里的三个开关不太明白作用,能否说明一下?操作这里的2个按钮建议更新下
image

Windows11 无法托盘运行

系统: Windows11
关闭窗口后, 托盘图标还在, 但是无法进行操作, 右键菜单也不生效, 只能重新打开iProxy

Feature Request: 增加自动配置 Android 网络代理服务器的功能

场景:

在做真机调试时,往往会拿一台测试机进行抓包,此时需要进行配置:

  1. 配置代理
  2. 安装根证书

整个流程可能要花费 5~10 分钟

网上搜了下,如果能够在命令行工具中进行网络代理配置和证书安装,就能减少这一步骤的耗时

命令:

adb shell settings put global http_proxy <host>:<port>

https://poetengineer.postach.io/post/toggle-charles-proxy-on-android-from-command-line

Feature request: 支持格式化代码

iproxy 真好用
但是临场写的代码太长之后,不太好格式化,需要复制出去再粘贴回来。其实主要就是 JSON 和 js,如果支持原地格式化代码就好了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.