Skip to main content

Yard

Push a repo to GitHub or Cursor Origin. Yard builds the container and serves the app over HTTPS.

Yard runs on one Ubuntu VM. It watches the forge, builds each push with Podman, and points Caddy at the new container. A git push is the whole deploy. There is no pipeline file and no dashboard.

Docs: stario.dev/yard

Quick start

On a fresh Ubuntu 26.04 LTS VM, as root, from a clone of this repo:

./install.sh --domain yard.example.com

The script prints an admin token. Then, on your laptop:

uv tool install staryard
yard login --url https://yard.example.com --token <token>
yard forge setup github          # or: yard forge setup origin

cd my-app
yard app new --public app.example.com
git push

The command is yard. The PyPI name is staryard, because yard is taken. Python 3.14 or newer is required.

What an app needs

  • Something Yard can build. That is a compose.yml with a service app on the network yard, or a Containerfile or Dockerfile at the repo root or in ops/. Or it is code that Yard knows, and Yard writes the Containerfile itself: Stario, Python (uv.lock or requirements.txt), Go, Node (npm), or http-nu.
  • A web process on port 8000.
  • Settings from the environment. yard env set KEY=VALUE writes them.
  • Persistent files in /data. That directory survives every deploy.

Yard runs any app in a container. A Stario app needs the least setup: no Containerfile. Yard sees stario in pyproject.toml, installs from uv.lock, starts python -m app.main, and sets STARIO_HOST=0.0.0.0. The deploy log names what Yard chose and why. When Yard is not sure, it stops and says what to add. How Yard reads a repo lists each file it reads. Any other app in a container works too, and so does software that someone else publishes: Self-host a service runs Vaultwarden from an image and Umami from a compose file, with no repo and no forge.

Docs

The docs at stario.dev/yard read as a short book:

  • The whole idea — Yard in one page: what each tool does and what Yard leaves out.
  • One push, start to finish — follow a single commit from your laptop to a live container.
  • Set up a host — a fresh VM to a working Yard in one script and a few commands.
  • Your first app — the four rules an app follows, then one push.
  • Self-host a service — run someone else's software from an image or a compose file, and what Yard does not do.
  • What an app runs — how Yard reads a repo, the Containerfile it writes for a Stario app, what it refuses, and how an app runs an image or a compose URL instead.
  • Day to day — logs, settings, domains, rollbacks, and cleanup.
  • Your own compose file — workers, sidecars, healthchecks, and apps in any language.
  • How it works — the internals: files, the check loop, the deploy container, Caddy, journald.
  • CLI, API, Glossary — the lookup pages.

Develop

uv run pytest
uv run python -m app.server.main
just check                       # ruff, format, pyright, pytest

The code layout is in AGENTS.md. Changes are in CHANGELOG.md.

Metadata

Release files for staryard 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for staryard 0.11.0
File Size Uploaded Provenance Actions
staryard-0.11.0.tar.gz 88.1 kB With provenance Details for staryard-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for staryard 0.11.0
File Interpreter ABI Platform Actions
staryard-0.11.0-py3-none-any.whl Python 3 none any Details for staryard-0.11.0-py3-none-any.whl

Total release size: 191.3 kB

Release files / staryard-0.11.0.tar.gz

Download URL staryard-0.11.0.tar.gz
Size 88.1 kB
Tags Source
SHA-256 checksum
How to use checksums
58fb3aeab2d55998e416a5710a5c41619e2097a55420e12aa954d67e3c936a66
BLAKE2b-256 checksum
How to use checksums
581380b8c3e6d4f553cc9d2e6bdc8ae10d7a3620d7063e287b1ee42bf33aa675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / staryard-0.11.0-py3-none-any.whl

Download URL staryard-0.11.0-py3-none-any.whl
Size 103.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0286bc3ae3b1151d6400080e6a13740c530a3b22a668d8fa289c10a555fb8237
BLAKE2b-256 checksum
How to use checksums
d1ca9aaa02b08d048f68b311abede01d7a5c74d56f60e2158c81676ac7c850c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for staryard 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for staryard-0.11.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page