Skip to content
geekMusPublic

About

A self-hosted PAC generation and management service with a web-based admin interface, custom rules, remote domain lists, scheduled updates, and Docker support.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,839 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PacPilot

English | 简体中文

PacPilot is a PAC generation and management service with a web-based admin interface. It generates /pac from custom rules or a remote domain list, and provides workflow history, scheduled updates, webhook notifications, request monitoring, and data maintenance.

The project uses Bun, TypeScript, Vue 3, and SQLite. For deployment, use the prebuilt Docker image; you do not need to clone the source code or install build tools on the server.

Features

  • Two generation modes: custom rules and remote domain lists.
  • Manual generation, instant-apply settings with automatic PAC regeneration, scheduled generation, and compressed output.
  • Workflow queues, stages, error details, and execution history.
  • Success/failure webhook notifications, with support for custom HTTP webhooks and DingTalk bots.
  • Request monitoring, log and storage usage inspection, log cleanup, and factory reset.
  • Chinese and English UI, with system, light, and dark themes.

Quick Start

Docker Engine is required. Pull and start the image:

docker run -d \
  --name pacpilot \
  --restart unless-stopped \
  -p 17321:17321 \
  -v pacpilot-data:/data \
  ghcr.io/geekmus/pacpilot:latest

Open http://<server-address>:17321/. On first startup, a randomly generated administrator password is printed to the container logs:

docker logs pacpilot

A fresh database starts in custom mode with a default proxy string, so /pac serves a usable script immediately. Sign in to the admin interface to adjust the mode, proxy string, and rules; saving any PAC-affecting setting regenerates the response right away. Remote mode needs a rule list URL and fetches the rules the first time you save it.

Data note: /data stores the database, settings, workflow history, and the remote rule snapshot. PAC responses are rendered in memory and are not written to disk. Do not delete the data volume if you need to keep your data; backing it up before upgrades is recommended.

Documentation

The documentation index is available in English and Chinese. The detailed deployment, configuration, development, operations, and troubleshooting guides are currently maintained in Chinese.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

AGPL-3.0 is a strong copyleft open-source license. In addition to the requirements for copying, modifying, and distributing the software, Section 13 generally requires modified versions that offer remote network interaction to provide those users with an opportunity to obtain the corresponding source code. Read the full license and assess the obligations for your specific use. Third-party components remain subject to their respective licenses.

Community and Contributions

Please read the contributing guide before submitting code. Do not disclose security vulnerabilities in public issues or discussions.

Project Information

  • Image: ghcr.io/geekmus/pacpilot
  • Default tag: latest
  • The current automated release workflow builds the linux/arm64 image.
  • The version is defined by version in package.json.

Source code, issue tracking, and releases: geekMus/PacPilot.

About

A self-hosted PAC generation and management service with a web-based admin interface, custom rules, remote domain lists, scheduled updates, and Docker support.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages