Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jefersonsv/proxy-my-system

Configure proxy settings such as: environment variables, windows registry and configuration files easilly
https://github.com/jefersonsv/proxy-my-system

Last synced: 3 days ago
JSON representation

Configure proxy settings such as: environment variables, windows registry and configuration files easilly

Awesome Lists containing this project

README

        

# Proxy my System

Configure proxy settings for GIT, npm, chocolatey, yarn, nuget, bower and manny other.
You can write your proxy data settings like host:port username, password using most common sources.

## Features
Configure easily a big list of applications
* GIT - https://git-scm.com
* NPM - https://www.npmjs.com
* Chocolatey - https://chocolatey.org
* Yarn - https://yarnpkg.com
* Nuget - https://www.nuget.org
* Bower - https://bower.io
* Ruby gen - https://rubygems.org
* Gradle - https://gradle.org/
* Ionic - https://ionicframework.com
* Cordova - https://cordova.apache.org
* Android SDK - https://developer.android.com/studio
* Visual Studio - https://www.visualstudio.com
* Angular CLI - https://cli.angular.io
* Yoeman - http://yeoman.io
* All browsers - https://en.wikipedia.org/wiki/List_of_web_browsers
* And much more...

## Others features

* Clear all settings options
* Refresh environment variables to apply new settings running sessions
* Add Windows and Generic credentials at control panel
* Configure proxy and exceptions at Internet Settings on control panel
* Optionally install an cntlm windows service to relay NTLMv2 authentication on 127.0.0.1:3128 (localhost)

> You can use special characters in your password that the application will encode automatically when being necessary.
> Only the variable **PROXY_HOST** and **PROXY_PORT** are required the others varibles are optional.

## Future implementation
* Add Visual studio code user settings
* Cntlm

## Sources available

* Command line arguments
* Environment Variables
* INI files
* Json files
* XML configuration files

### Use with command line argument
```bash
proxy-my-system.exe PROXY_DOMAIN= PROXY_USERNAME=[type-proxy-username] PROXY_PASSWORD=[type-proxy-password] PROXY_HOST= PROXY_EXCEPTIONS=[type-proxy-url-exceptions]
```

To clear all proxy settings
```bash
proxy-my-system.exe -c
```

Use the example **run.cmd** file to run the application and also create copy of this for differents profiles.
```bash
run.cmd
```

### Use with environment variable
1. Access control panel
2. System and Security
3. System
4. Advanced system settings
5. Environment variables
6. Add follow the variables
* PROXY_DOMAIN
* PROXY_USERNAME
* PROXY_PASSWORD
* PROXY_HOST
* PROXY_PORT
* PROXY_EXCEPTIONS
7. Ok (twice)
8. Run the application `proxy-my-system.exe`

### INI file
1. Open the file settings.ini
2. Fill the follow the variables
* PROXY_DOMAIN
* PROXY_USERNAME
* PROXY_PASSWORD
* PROXY_HOST
* PROXY_PORT
* PROXY_EXCEPTIONS
3. Run the application `proxy-my-system.exe`

### Json file
1. Open the file settings.json
2. Fill the follow the variables
* PROXY_DOMAIN
* PROXY_USERNAME
* PROXY_PASSWORD
* PROXY_HOST
* PROXY_PORT
* PROXY_EXCEPTIONS
3. Run the application `proxy-my-system.exe`

### XML configuration file
1. Open the file proxy-my-system.exe.config
2. Fill the follow the variables at appSettings section
* PROXY_DOMAIN
* PROXY_USERNAME
* PROXY_PASSWORD
* PROXY_HOST
* PROXY_PORT
* PROXY_EXCEPTIONS
3. Run the application `proxy-my-system.exe`

## Releases

Get the portable version
* Version 1.5.59 - https://github.com/jefersonsv/proxy-my-system/releases/tag/1.5.59

## What's cntlm?
Cntlm is an NTLM / NTLMv2 authenticating HTTP/1.1 proxy. It caches auth'd connections for reuse, offers TCP/IP tunneling (port forwarding) thru parent proxy and much much more. It's in C, very fast and resource-efficient. Go to http://cntlm.sf.net/

## Who I am?
* http://linkedin.com/in/jefersontenorio

## License

Apache-2.0 https://github.com/jefersonsv/proxy-my-system/blob/master/LICENSE

## Thanks to
* https://github.com/aloneguid/config
* https://github.com/Tyrrrz/CliWrap
* https://github.com/NLog/
* http://credentialmanagement.codeplex.com/
* http://cntlm.sf.net/