Skip to content

PAC file generator, provides access to simple REST API for managing proxy profiles and routing rules

License

Notifications You must be signed in to change notification settings

nnemirovsky/pacgen

Repository files navigation

PacGen

Build and publish docker image Test and lint code License: MIT

Simple PAC file generator with REST API for managing proxy profiles and routing rules. The API reference is described in swagger spec. Application uses sqlite3 as config storage.

Usage

At this point the best way to try this tool is to use the prebuilt docker image. Simplified example (if possible, use docker-compose instead):

$ docker pull ghcr.io/nnemirovsky/pacgen:latest
$ docker run -d \
    -v $(pwd)/data:/app/data \
    ghcr.io/nnemirovsky/pacgen:latest migrate up
$ docker run -d \
    -p 8080:8080 \
    -v $(pwd)/data:/app/data \
    ghcr.io/nnemirovsky/pacgen:latest

Next you can specify http(s)://{host:port}/proxy.pac as a PAC file address.