Skip to content

About

FormCompiler - instead of manually releasing across 45 repos: the one place where every FormAI app is built, signed & release distributed to each build & the main site. Push a compile branch, get a draft release on every platform, plus the signed update catalogue. GitHub Actions & Python.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

FormCompiler icon: the Form family app icon

FormCompiler

Build and release; where every Form app is built, signed and shipped.
Push a compile branch, get a draft release on every platform,
plus the signed catalogue FormPortal reads. GitHub Actions and Python.

version v0.26.0 GitHub Actions Python 3.11+ Builds for macOS, Windows and Linux License: GPL-3.0-only Status: in use

FormCompiler on formai.studio · Changelog · Run it from source


Terminal running the registry check, the app list and the catalogue listing of FormCompiler
The registry check passing for every app, and the catalogue listing, as it stood when the screenshot was taken.

Features · In the box · Under the hood · Releases · Run from source


One place

Every Form app is built, signed and released here; the app repositories only run their checks.

Push to release

Push compile_vX.Y.Z from main, or a tag, and get a draft release on every platform the app lists.

Checked first

Branch, commit, version and the app's own checks must pass before anything builds.

Signed in one place

Apple, Windows and updater keys are FormCompiler secrets; no app repository holds one.

Features

  • No secrets in the apps. FormCompiler watches the app repositories itself, so no app holds a token for it.
  • Checked before it builds. The ref name, the commit on main, a version above the highest published one, the version file and the app's check workflows.
  • Drafts, never surprises. A stable release is a draft a person publishes; a published release is never overwritten.
  • Betas publish themselves. A prerelease version becomes a GitHub prerelease once its builds pass.
  • Yank, never delete. A version in yanked.json leaves the catalogue; its files stay in place.
  • Private stays out. A release on a private app repository is left out of the catalogue until the repository is public.
  • Skills in every release. Each release carries form-app.json and a reproducible <app>-skills-v<version>.zip.
  • Pinned actions. Every third-party action is pinned to a full commit SHA.

Everything in the box

39 registered apps, all enabled

One apps/<app>.json each: version source · checks · platforms · toolchain · build commands · extra jobs · assets · update files · catalogue entry

7 workflows

tick · watch · release · desktop-release · binaries · self-check · windows signing check

Platforms

macos-arm64 · macos-x64 · linux-x64 · linux-arm64 · windows-x64 · windows-arm64 · plus phone apps, tarballs, Flatpak, servers and a container image per app

Under the hood

  • Language: 23 Python scripts on the standard library; cryptography only signs the catalogue.
  • Contract: docs/REGISTRY.md defines the registry file every app writes.
  • Flow: watch.yml runs every hour (17 * * * * UTC) and on demand, and tick.yml also starts it every 15 minutes; release.yml gates and builds, and a draft vX.Y.Z opens on the app's own repository.
  • One build per commit: the watch keeps a record of every release run it has seen or started. A commit whose run failed, was cancelled, is running or waits for approval is not started a second time, also after its run is deleted from Actions; a new version or a new commit builds as before. A release started while the app's own checks still run waits for them at the gate, up to 45 minutes; a run that stopped at the gate is not a failed build and does not hold its commit.
  • Channels: X.Y.Z is stable; anything with -beta.N or -rc.N is beta and never touches <app>-updates.
  • Publishing: the download store, update feeds, catalogue signature and yanks run in a private companion pipeline.
  • Worker programs: binaries.yml, started by hand, builds FormCAD's kernel and mesher workers on four runners, signs and notarizes them with the same values as the apps, and can open a draft release in nodemode-dev/formai-binaries, where the app downloads them from.
  • Family spec proposals: adaptor.yml runs every 12 hours at minute 48 (00:48 and 12:48 UTC) and by hand, runs formadaptor's generators for its targets without a secret, and opens a pull request with the release credential in each target that has a change.
  • Tested: 520 tests in 23 files (registry, versions, watch, triggers, tauri config, signing, notary key, app repository releases, GitHub binaries, workflow guards).

Where releases come from

FormCompiler builds and signs every Form app and drafts each release on the app's own repository, tagged vX.Y.Z at the gated commit. It is the factory and the gate and keeps no app release itself. Users install them with FormPortal or from each app's page on formai.studio.

app repo: bump version, push compile_v1.96.5 from main (or tag v1.96.5)
  -> watch.yml: refuse a bad ref or failed check, else start release.yml
  -> release.yml: desktop, extras, image, then draft v1.96.5 on the app's repository
  -> publishing pipeline (private): catalogue, update feeds, download store

Public files are served from https://dl.formai.studio as <app>/<version>/<file>, with the catalogue at catalog/apps.json and catalog/apps.json.sig.

Run it from source

FormCompiler has no UI and no app to install. Run its scripts to check the registry or see what the watch would start.

Requires: Python 3.11+ and git. watch.py --dry-run also needs a GH_TOKEN.

git clone git@github.com:nodemode-dev/formcompiler.git
cd formcompiler
python3 scripts/registry.py check     # validate every registry file
python3 scripts/catalog.py listed     # apps and versions in releases.json
python3 scripts/watch.py --dry-run    # what the watch would start (needs GH_TOKEN)

To release an app, run this in its repository after the version bump is on main, then publish the draft that appears on the app's own Releases page:

git push origin main:refs/heads/compile_v1.96.5

If a release run fails for a runner reason, use Re-run failed jobs in Actions, never Re-run all jobs.

Secrets (FORMCOMPILER_APP_TOKEN, APPLE_*, AZURE_*, TAURI_SIGNING_PRIVATE_KEY, FORMPIPE_DISPATCH_TOKEN) are all optional; without them macOS builds are signed ad hoc and Windows builds are unsigned. The Apple certificate and notary key belong in the signing environment (docs/ACCOUNTS.md).

Important

Status: in use. It builds every enabled app in apps/; the catalogue lists each app once its release is published. See CHANGELOG.md.

Contributing: branch from main, keep changes to the registry and scripts here, and leave app code to the app repositories. Packaging and releases live in FormCompiler. See AGENTS.md.

Repository

Path What it is
apps/ One registry file per app
scripts/ The Python scripts the workflows run
.github/workflows/ tick, watch, release, desktop-release, binaries, self-check, windows signing check
docs/, tests/ Registry contract and accounts notes; the pytest suite
releases.json, yanked.json The catalogue and the versions left out of it

Docs: docs/REGISTRY.md, SECURITY.md · Agents: CLAUDE.md, AGENTS.md


Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

Code owners are set in .github/CODEOWNERS.

License

FormCompiler is licensed under the GNU General Public License v3.0 only (LICENSE, SPDX GPL-3.0-only). Copyright 2026 NodeAgentc, Inc. Third-party notices: NOTICE.

About

FormCompiler - instead of manually releasing across 45 repos: the one place where every FormAI app is built, signed & release distributed to each build & the main site. Push a compile branch, get a draft release on every platform, plus the signed update catalogue. GitHub Actions & Python.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages