Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Proxy Manager for Windows

License

NotificationsYou must be signed in to change notification settings

JDeepD/SetProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set proxy configs for tools like git, npm with just a single command.

Installation:

Pre-requisites:

1. Manual Installation

Clone the repository

git clone https://github.com/JDeepD/SetProxy.git

Runinstall.ps1

pwsh .\install.ps1

To update the tool, pull all the changes and run:

pwsh .\install.ps1 -update

Commands:

Create a profile

setproxy create

Show all profiles

setproxy list

Switch to a profile by nickname

setproxy <nickname>

Interactive Proxy switching

setproxy

Unset all proxies

setproxy unset

Plus Tip: Use setproxy withfzf for an even smoother experience.

Put this in your$PROFILE (Powershell 7)

functionfpx{$selection=$(setproxy fzflist| fzf--height40%--pointer=''--border--info=inline--prompt=''--color=fg+:#FFFFFF,bg+:#FF0000,gutter:-1 --exact) -split '\s+' | Select-Object -First 1;    setproxy$selection}

And runfpx to witness sorcery.

PowerShell.2023-03-12.00-55-05_Trim.mp4

Inspired fromproxyman andnits-proxy


TODO

  • Make installation procedure smoother (preferably through package managers like winget or scoop)
  • Convert to Powershell module which allows easy installation an updates
  • Support for proxy bypasses
  • Eliminate some dependencies(gsudo for example)
  • (maybe) Integrate tightly with fzf so that it does not have 2 different interfaces
  • (maybe) An cross-platform Proxy manager which works for both Windows and Unix based systems
  • (maybe) A GUI tool for managing proxy configurations

Feedback

  • Integrate tightly with fzf so that it does not have 2 different interfaces
  • An cross-platform Proxy manager which works for both Windows and Unix based systems
  • A GUI tool for managing proxy configurations
  • update pulled from git by itself
  • there was some ability to make a new shell with the proxy settings applied so that it doesnt interfere with globals (probs wouldnt work for windows networking but for the other two it would be nice)
  • could specify the commands to run in the config (could add more apps etc)

[8]ページ先頭

©2009-2025 Movatter.jp