GithubHelp home page GithubHelp logo

hyperkopite / v2rayn-pac-adder Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 6.51 MB

A tool to conveniently add URLs to PAC list of v2rayN | 帮助你方便地添加网址到v2rayN的PAC列表

License: Apache License 2.0

Python 100.00%
v2ray v2rayn proxy

v2rayn-pac-adder's Introduction

v2rayN-pac-adder

Alt Text

A tool to conveniently add needed URLs to PAC list of v2rayN (For Windows only currently)
一个帮助你方便地添加网址到v2rayN的PAC列表的小工具(暂时只支持Windows系统)

How to use | 如何使用

.exe:
[1] For convenience, I also packed the .py script to .exe executable, you can run this without dependency to Python environment. Usage is same as below, just place the exe file under v2rayN directory and run.
[1] 为了方便起见,也在Release中提供由py文件打包成的exe,可以不依赖Python环境直接在Windows下运行。使用方法同下,放到v2rayN目录下运行即可。

.py:
[1] Place the update_pac.py under v2rayN directory (where the v2rayN.exe is located).
[1] 将update_pac.py放到v2rayN目录下,也就是v2rayN.exe所在的地方。

[2] Enter v2rayN directory in powershell or cmd with administrator role.
[2] 以管理员身份运行powershell或者cmd,进入到该目录。

[3] Execute "python3 update_pac.py" and minimize the window to keep it running in background.
[3] 执行"python3 update_pac.py"命令,最小化窗口让其在后台运行。

[4] When you are browsing any website needs to be added to PAC list, simply copy it from browser address bar and press "shift + ctrl + ins" hotkey, the address will be added to PAC list of v2rayN and service will be automatically restarted. Also you can use "shift + ctrl + del" to remove this site from PAC list.
[4] 当你在PAC模式下使用v2rayN时,如果觉得某个网址需要使用v2rayN访问,只需从浏览器地址栏复制网址,然后按下"shift + ctrl + ins"组合键,即可自动添加到v2rayN访问列表。也可使用"shift + ctrl + del"移除此网站。

[5] Refresh the page to browse via v2rayN.
[5] 刷新页面即可。

IMPORTANT: Run the script as administrator, or it may not be able to respond normally when running in background!
重要提示:请务必以管理员身份运行powershell或者cmd,否则脚本可能无法在后台正常工作!

v2rayn-pac-adder's People

Contributors

hyperkopite avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

strategist922

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.