This repository will contain the code for a cool application that would remove the need to use FoxyProxy and likes.
ProxyHelper is a set of utilities that you can install and forget and it will just work! It will automate all your proxy and tor configuration needs on linux. Meaning, you won't need to configure proxy for firefox, apt, git, etc manually, ever again.
Whether you are in AGH or CC or KBH, or your proxy is 172.16.12.2
or 172.16.20.2
or anything else
, all of the work is done in background and proxy is set for you as soon as you connect to the network, magically (and automatically).
Another cool thing about ProxyHelper is that it always sets the Fastest proxy for you. This is especially relevant if you use networks in CC or EED and you don't know which proxy will be faster -172.16.24.2
or 172.16.24.3
; leave it to ProxyHelper to test both proxies and set the faster proxy automatically.
Also, ProxyHelper keeps your tor alive! No more Tor has been disconnected! messages. For details see torpinger file in the repository.
Currently in Alpha, feel free to test it and report issues and bugs here. However, it is not tested for various platforms (except Kubuntu), so if you don't know how to fix a broken linux, don't install, wait for it to become stable.
===
###Supports:-
- git
- web-browsers: firefox, chrome (Set option "Use System Proxy" in preference of browser)
- gnome proxy module
- kde proxy module
- apt
===
###Requirements:-
Compulsary:-
- Linux
- python3+
- git
sudo apt-get install git
===
Optional:-
- pysocks, pip3 (required only for tor related utilities)
===
###Installation:-
git clone https://github.com/Nithmr/ProxyHelper.git ~/.proxyhelper && cd ~/.proxyhelper &&
chmod +x ./install.sh && ./install.sh
Note: You may need to set proxy in git before using this.
===
###Usage:-
====
####Automatic mode
This is the default behaviour. ProxyHelper automatically judges the best proxy and sets it for you! You don't have to do anything!!
####Manual mode
Allows you to have more control over setting the proxy, using a simple command line tool named "phelp".
To use the manual mode, you need to enable it via:
phelp --manual
To get back to auto mode, type:
phelp --auto
Commands:
- Set best proxy-
phelp -S
- Evaluate best proxy-
phelp -G
- Clear all proxy-
phelp -N
- Set custom proxy-
phelp -C 172.16.24.2:3128
(Replace the proxy by what you require) - Show help-
phelp -h
###Uninstallation
- Run the uninstallation script
cd ~/.proxyhelper && sudo sh ./uninstall.sh