Skip to content
tentmakerGitHub

Free and open source self-hosted CI

Your machines have a day job. Tentmaker gives them a second one.

Tentmaker runs your CI jobs on your own Linux, macOS and Windows machines, in throwaway sandboxes, using only the memory and CPU you give it. Machines on one Tailscale network share the work.

Linux, macOS on Apple silicon, and Windows · amd64 and arm64 · MIT

A terminal runs tentmaker status, tentmaker budget and tentmaker pool. The device workbench is on boost because it is plugged in, with 2 of 12 GiB of memory and 2 of 4 CPUs in use, and one check job running in one of its two slots.
tentmaker status, budget and pool on a real machine, recorded in CI from a release build. One check job is running in one of its two slots.

The idea

Why I made it

I have a Mac, a Linux desktop and a Windows PC, and most of the day they sit idle while hosted CI minutes cost money, and macOS minutes cost the most. So I built Tentmaker. It runs CI jobs on my own machines in throwaway sandboxes, it uses only the memory and CPU I give it, and it gives a machine more room when it is plugged in.

Paul made tents so his preaching cost no one anything: "he stayed with them and worked, for they were tentmakers by trade" (Acts 18:3). My machines keep their day job, and in the hours they would sit idle they run my CI. The logo is a goat-hair tent like the ones from his home province, woven in strips and sewn edge to edge.

Budget

A budget, not a takeover.

Each machine has two profiles. The everyday one is reserved for CI and keeps running while you play a game or take a call. The boost one opens up when the machine is plugged in, and it is the only one that gives way when you need the machine.

everyday
A quarter of the memory and CPUs, always given over to CI
boost
Half once the machine is plugged in, or after you have been away for a while if you ask for that
on battery
Stops taking jobs below 40% and stops running ones below 15%
safety
Pauses on its own when disk or memory runs low

What it does

CI that waits its turn.

Two commands to set up

One command installs it and one more sets it up. The installers check every download against the release's sha256 and refuse to install if they differ.

A fresh sandbox every job

Every job starts clean and leaves nothing behind. Linux and Windows jobs run as a separate runner user, never as you, with hard memory and CPU limits. macOS jobs run in their own virtual machine.

Off your network

Jobs reach the internet but not your tailnet, your home network or this machine's own services. When those rules are missing, the machine takes no jobs and tentmaker doctor says why.

One pool over Tailscale

Every machine on your tailnet with the same pool name shares the work. tentmaker devices add desktop sets up another machine over Tailscale SSH, and tentmaker pool shows them all.

GitHub and the rest

GitHub Actions jobs run on one-job runners that are deleted when the job ends. tentmaker migrate moves a repo's workflows over. Forgejo, Gitea and GitLab get commit statuses in checks mode.

Your agents can run it

Every command takes --json and --yes and never waits on a prompt, and an MCP server and a setup skill let Claude Code or Codex install it across your machines.

Safety

Built so a job can't do harm.

Forks never run

A fork can edit the workflow it runs, so Tentmaker refuses fork jobs itself instead of trusting the workflow file.

Secrets stay put

Forge tokens live in the operating system's secret store. A runner gets a single-use grant, and no token ever reaches a job, an argument list or a log.

Attacked on every change

Attacks run inside real CI jobs on Linux and Windows and try to get out, reach the network or starve the machine. They run against every change to the main branch.

Updates roll back

Stable and dev channels only. An update installs between jobs and rolls back if the service doesn't come up healthy.

Known limits

Version 0.1 is the first release. Jobs that run at the same time on one Linux or Windows machine share the runner user, so they can see each other. Windows jobs can't reach servers they start on 127.0.0.1, and tentmaker doctor says so. macOS needs Apple silicon, and its network filter needs macOS 26.

Install

Up in two commands.

Linux and macOS

Terminal
curl -fsSL https://raw.githubusercontent.com/baney75/tentmaker/main/scripts/install.sh | sh
sudo tentmaker setup

Windows

PowerShell
irm https://raw.githubusercontent.com/baney75/tentmaker/main/scripts/install.ps1 | iex
tentmaker setup

Run PowerShell as Administrator.

Then point a job at it. Use macos or windows for the others.

workflow.yml
jobs:
  test:
    runs-on: [self-hosted, tentmaker, linux]

Every step, every setting and how to add more machines are in the documentation.

Questions

Answers before you install.

Can a CI job reach my other computers?

No. Jobs reach the internet and DNS, but not your tailnet, your home network or cloud metadata, and never the port the machines use to talk to each other. When those rules are missing or out of date, the machine takes no jobs and tentmaker doctor says why.

Will it slow my computer down while I'm using it?

It uses only the everyday budget you set while you're at the machine. The bigger boost budget gives way as soon as you are busy, and tentmaker pause stops CI entirely for a while.

Does Tentmaker run pull requests from forks?

No. Fork jobs are refused by Tentmaker itself, whatever the workflow says.

What does it cost?

Nothing. It is free and open source under the MIT license, and it runs on machines you already own.

Give your machines a second job.

Free, open source and yours to run.