SkillAgentSearch skills...

Pacproxy

A no-frills local HTTP proxy server powered by a proxy auto-config (PAC) file

Install / Use

/learn @williambailey/Pacproxy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

pacproxy

Build Status

A no-frills local HTTP proxy server powered by a proxy auto-config (PAC) file. Especially handy when you are working in an environment with many different proxy servers and your applications don't support proxy auto-configuration.

$ ./pacproxy -h
pacproxy v2.0.7

A no-frills local HTTP proxy server powered by a proxy auto-config (PAC) file
https://github.com/williambailey/pacproxy

Usage:
  -c string
        PAC file name, url or javascript to use (required)
  -l string
        Interface and port to listen on (default "127.0.0.1:8080")
  -r string
        Resolve the proxies for the provided url to STDOUT and exit
  -v    send verbose output to STDERR
# shell 1
pacproxy -c 'function FindProxyForURL(url, host){ console.log("hello pac world!"); return "PROXY random.example.com:8080"; }'
# shell 2
export http_proxy="127.0.0.1:8080"
export https_proxy="127.0.0.1:8080"
curl -I "http://www.example.com"
pacproxy -c 'function FindProxyForURL(url, host){ return "PROXY random.example.com:8080"; }' -r "http://www.example.com"

License

Copyright 2026 William Bailey

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

View on GitHub
GitHub Stars137
CategoryDevelopment
Updated15d ago
Forks24

Languages

Go

Security Score

95/100

Audited on Mar 23, 2026

No findings