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.
- 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.
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:latestOpen http://<server-address>:17321/. On first startup, a randomly generated administrator password is printed to the container logs:
docker logs pacpilotA 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:
/datastores 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.
The documentation index is available in English and Chinese. The detailed deployment, configuration, development, operations, and troubleshooting guides are currently maintained in Chinese.
- Documentation index · 中文文档目录
- Deployment guide (methods & environment-parameter reference)
- Configuration (in-app rules, scheduled generation, data files, admin password)
- Webhook notifications (events, rules, delivery semantics)
- Development guide (environment, commands, checks)
- Operations and releases (workflows, logs, versions, upgrades)
- Troubleshooting
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.
- Contributing guide: development setup, tests, and pull request practices.
- Security policy: privately report security vulnerabilities.
- Code of conduct: community and collaboration expectations.
- Support: usage questions, feature requests, and licensing inquiries.
- Open a usage question: ask about configuration, deployment, and general usage.
Please read the contributing guide before submitting code. Do not disclose security vulnerabilities in public issues or discussions.
- Image:
ghcr.io/geekmus/pacpilot - Default tag:
latest - The current automated release workflow builds the
linux/arm64image. - The version is defined by
versioninpackage.json.
Source code, issue tracking, and releases: geekMus/PacPilot.