
P
Preloop
Open Sourceπ Alt to ActRun GitHub Actions locally inside secure microVMs with SSH & pause
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 82/100β
226 Stars
cargo install preloopPreloop allows developers to execute GitHub Actions workflows locally inside isolated microVMs, eliminating the tedious commit-and-push debugging cycle. It features interactive debugging capabilities like pausing failed pipeline steps and directly SSHing into the execution environment.
Executes workflows inside lightweight, secure microVMs mimicking cloud runners.
Pauses failed workflow runs and lets you SSH straight into the container to troubleshoot.
Runs complex GitHub Actions right on your workstation without modifying remote repositories.
Debugging complex multi-stage GitHub Actions workflows without spamming git commit history
Isolating CI environment bugs locally on macOS or Linux before pushing code
Inspecting runner states and file systems immediately upon a build failure
Unlike standard Docker-based local runners like Act, Preloop uses lightweight microVMs for superior isolation and allows you to pause failures and SSH directly into the active state.
Backend and DevOps engineers who spend significant time writing and debugging GitHub Actions workflows.
Preloop is engineered to eliminate critical operational friction in devtools & cli. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Preloop redefines local continuous integration execution by abandoning brittle Docker-in-Docker containers in favor of hardware-isolated microVMs. At its core, Preloop is written in systems Rust and acts as a binary-compatible drop-in alternative to the official GitHub Actions runner. Rather than relying on fragile shell translation layers, Preloop natively parses `.github/workflows/*.yml` files into an internal execution Directed Acyclic Graph (DAG), fully resolving `${{ }}` expression contexts, matrix strategies, composite steps, and reusable workflows. MicroVM isolation is achieved using `libkrun` and `smolvm`, leveraging Linux KVM or macOS Hypervisor.framework to boot isolated guest kernels in fewer than three hundred milliseconds. The storage engine utilizes Copy-on-Write (CoW) overlays backed by virtio-fs, ensuring that filesystem mutations remain strictly confined to ephemeral guest volumes without polluting host storage. MicroVM networking is mediated via a user-space network stack (such as gVisor netstack or slirp4netns) alongside bidirectional virtio-vsock channels that handle low-overhead control plane communication, step log streaming, and process telemetry. Linux kernel namespaces, cgroups v2 resource controllers, and vsock socket descriptors enforce strict isolation boundaries. This hardware boundary guarantees that privilege escalations, kernel module manipulations, and host daemon bindings within CI jobs cannot escape the sandboxed virtual machine boundary.
The developer ergonomics of Preloop eliminate the infamous commit-push-wait debugging loop that plagues CI/CD development. The single-binary CLI (`preloop run`, `preloop test`) executes directly within local git repositories without requiring daemon background services. Its killer feature is interactive execution pausing: by passing the `--pause-on-failure` or `--step-debug` flags, Preloop intercepts non-zero exit codes and suspends the guest microVM CPU registers. The CLI instantly exposes an ephemeral pseudo-terminal (PTY) or prints an SSH connection string (`ssh -p <port> runner@localhost`), dropping developers directly into the failed execution environment with environment variables, mounted paths, and process states intact. Command flags like `--env-file`, `--matrix`, and `--secret-file` support decrypting project secrets locally with zero cloud leakage. Furthermore, Preloop implements the Debug Adapter Protocol (DAP), enabling IDEs like VS Code and Cursor to set visual breakpoints directly on individual workflow YAML lines. For autonomous coding agents, Preloop exposes a Model Context Protocol (MCP) server that acts as a secure execution firewall. Agents can inspect container logs, query environment variables, and run remediation commands within the frozen microVM context, drastically accelerating autonomous pipeline maintenance. Error output provides clear, syntax-highlighted diagnostics with pinpoint line references for malformed expressions and unsatisfied runner dependencies.
Preloop is licensed under permissive open-source terms (Apache 2.0 / MIT), protecting engineering teams from commercial vendor lock-in, seat-based licensing taxes, or Business Source License (BSL) switch traps. From an infrastructure total cost of ownership standpoint, Preloop delivers immediate, quantifiable return on investment. Standard GitHub Actions cloud runners consume billed minutesβcosting eight-thousandths of a dollar per minute for basic Linux instances and substantially more for macOS or Windows runners, scaling rapidly into four-figure monthly cloud invoices. A mid-sized engineering team running hundreds of daily CI validation loops frequently accumulates thousands of dollars in cloud runner overhead alongside hundreds of wasted developer hours. Preloop shifts this compute burden entirely to local developer workstations or surplus bare-metal staging servers. Resource consumption is exceptionally frugal: each idle microVM allocates zero CPU cycles, while active execution uses only one to two vCPUs and two to four gigabytes of RAM with near-instantaneous reclamation upon process termination. Because Preloop runs locally and contains zero telemetry or phoning-home analytics, proprietary source code, secrets, and environment tokens never traverse external corporate networks, satisfying rigorous air-gapped security, SOC2, and enterprise compliance standards.
Preloop receives an emphatic production recommendation as a local developer pre-flight tool and staging gate for engineering teams maintaining complex GitHub Actions pipelines. It completely supersedes older Docker-based utilities like `nektos/act`, which frequently fail when workflows require root privileges, custom systemd daemons, or nested container sockets. However, production deployment requires careful hardware virtualization considerations. Because Preloop depends on hardware-assisted virtualization (`/dev/kvm` on Linux and Apple Hypervisor framework on macOS), it cannot execute within standard cloud container instances unless nested virtualization is explicitly supported and enabled (such as on AWS bare-metal instances or GCP nested-virt VMs). Teams deploying Preloop as a centralized self-hosted runner cluster in Kubernetes must provision KVM-enabled worker nodes using KubeVirt or specialized virtualization runtimes. Edge-case failure modes center around proprietary GitHub marketplace actions that depend on closed undocumented GitHub API endpoints (such as `actions/cache` v2 or internal artifact services), which require configuring mock API endpoints, OIDC token emulators, or fallback credentials. For local developer workstations and pre-merge validation gates, Preloop is rock-solid, significantly boosting developer velocity and terminating the painful cycle of speculative CI commits. For engineering teams seeking rapid deterministic local test feedback, Preloop is a game-changing modernization of the continuous integration lifecycle.
Preloop is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike standard Docker-based local runners like Act, Preloop uses lightweight microVMs for superior isolation and allows you to pause failures and SSH directly into the active state.
Yes. Preloop is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Preloop. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Preloop quickly using the following command: cargo install preloop Visit the official portal at https://github.com/preloopdev/preloop for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Preloop was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Preloop and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/preloop)<a href="https://lordorange.top/tool/preloop" target="_blank"><img src="https://lordorange.top/badge/preloop.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Preloop.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.