soulteary/runner-fleet
关于
Web UI for managing GitHub Actions self-hosted runners on a Linux host, with YAML configuration, Docker lifecycle management, and Prometheus metrics.
系统与基础设施可以做什么
- Zero database: YAML-only config, no external deps; the config is your backup and is easy to version.
- Web one-stop: add, register, start/stop, edit and inspect runners in the UI — no SSH, no hand-run config.sh. Paste GitHub's ./config.sh --url … --token … and the form fills itself; name and directory conflicts surface while you type, with a suggested name.
- Container-first: Docker / docker-compose out of the box; DinD and host-socket for in-job Docker; optional container mode (one runner per container) with the Manager owning lifecycle and status.
- Hosted-CLI baseline + custom images: stock images align the CLI layer with GitHub-hosted ubuntu-24.04; extend with Android / Node and friends via examples/runner-images/ and per-runner container_image.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Runner Fleet - GitHub Actions Runner Manager
文档 (Docs): 中文 · Français · Deutsch · 한국어 · 日本語

HTTP management UI built with Golang Echo to view and manage multiple self-hosted GitHub Actions Runners on one machine. YAML-based config, no database required.
Linux only (linux/amd64, linux/arm64): runner liveness is read from /proc. The UI and its messages follow six languages; logs are fixed to English — see the User Guide.

Highlights
- Zero database: YAML-only config, no external deps; the config is your backup and is easy to version.
- Web one-stop: add, register, start/stop, edit and inspect runners in the UI — no SSH, no hand-run
config.sh. Paste GitHub's./config.sh --url … --token …and the form fills itself; name and directory conflicts surface while you type, with a suggested name. - Container-first: Docker / docker-compose out of the box; DinD and host-socket for in-job Docker; optional container mode (one runner per container) with the Manager owning lifecycle and status.
- Config drift is repaired, not just reported: image, network, mount directory, in-job Docker backend and the agent token are all fixed at
docker createtime, so editing the config never reached an existing container. The Manager compares each container against the current config — a stopped runner is rebuilt on its next start, a running one is flagged with the exact difference and rebuilt when you say so. - Hosted-CLI baseline + custom images: stock images align the CLI layer with GitHub-hosted
ubuntu-24.04; extend with Android / Node and friends viaexamples/runner-images/and per-runnercontainer_image. - Self-heals, and says why when it can't: registered-but-stopped runners start ~15s after boot and are re-checked every 5 minutes; in container mode a failed probe returns a structured diagnosis — error type, a check command and a fix command — instead of a bare "unknown".
- Observable:
/readyand Prometheus/metricsfor the deployment, the registration result per runner, and an optional PAT that keeps the UI in sync with what GitHub actually lists.
Quick start
mkdir -p config runners && cp config.yaml.example config/config.yaml
# Edit config/config.yaml: set runners.base_path to /app/runners
sudo chown -R 1001:1001 config runners
docker network create runner-net 2>/dev/null || true
docker compose up -d
Self-hosted runners should serve private repositories only — a pull request to a public repository can run code on this machine. See SECURITY.md.
Open http://localhost:8080. The default image tag is the stable release (e.g. v1.9.8). For more options (docker run, DinD, container mode, using main or other tags) see the User Guide. Probes, Prometheus metrics and logging: Operations — GET /health (liveness), GET /ready (readiness), GET /metrics, GET /version.
Two copy-and-go deployments live in examples/deploy/: standalone/ (single container, runner processes inside the Manager — docker run or Compose) and fleet/ (one container per runner, image and toolchain caches shared, build caches isolated).
Documentation
- User Guide — deployment, configuration, adding runners, operations, security & troubleshooting
- Deployment examples (中文) — single-container and multi-container setups, which caches are shared and which isolated, deployment pitfalls
- Development & Build — Go build, local debug, HTTP API, Makefile
- Changelog — release history and upgrade notes
Other
CI / images / releases: .github/workflows.
MIT License — see LICENSE.
探索相关项目
加载中…