[!WARNING]
SofCat is pre-beta. The config keys, catalog format and service protocol can
change between releases without a migration path. Only the Windows agent
ships today.
SofCat is a catalog for anything you can put on disk or run: installers,
packages, scripts, AI skills. You publish manifests and catalogs on any web
server. An agent on each machine keeps the required items in place, and a
self-service app, branded as your own, lets people add the optional ones
without admin rights.
It started as a fork of Gorilla and
keeps the Munki model: a manifest says what a
machine gets, catalogs say what exists, and both are plain YAML.
Files and scripts on any platform, AI skills, native packages
Self-service app
Windows
macOS and Linux
makecatalogs
Linux, macOS, Windows
What already works:
Self-service for standard users. Browse, install, remove and cancel,
with per-item progress and an Activity log. The app talks to the agent over
a local named pipe, so nobody needs to elevate.
Your branding. Set the app's title, logo, accent colour and help link
with policy registry values or config.yaml. See
ui/README.md.
Inventory for osquery. Every run writes a Munki-compatible
inventory.json. See docs/osquery-inventory.md.
makecatalogs anywhere. Build catalogs on any OS, so your repo's CI
never needs a Windows runner.
examples/ has an annotated config, catalog, manifest and
package-info file. docs/data-directory.md explains
what lives in C:\ProgramData\SofCat and who can write to it.
Nothing is code signed yet.
Build catalogs with makecatalogs
makecatalogs compiles a repo's packages-info/*.yaml into
catalogs/<catalog>.yaml, like Munki's tool of the same name. It is a
standalone pure-Go binary and reads no SofCat config.
makecatalogs [--check] <repo_path>
Without --check it replaces <repo_path>/catalogs/. It skips a
package-info file with no catalog, a catalog name containing a path, or
one that differs from another only by case, and warns. A duplicate item
name within a catalog warns, and the later file wins. If nothing is left to
write it fails and leaves catalogs/ alone. It ignores dotfiles such as
._foo.yaml.
--check validates the repo, prints what it would write, and writes
nothing. It fails on those warnings too, which makes it a good pull-request
gate for a package repo.
Exit codes are 0 for success, 1 for any error (or any problem under
--check) and 2 for a usage error.
Releases publish makecatalogs-<os>-<arch>[.exe] for Linux, macOS and Windows
on amd64 and arm64. See
examples/example_package-info.yaml.
sofcat -build/-b and -import/-i are gone, along with the repo_path
config key. Configs that still set it keep loading.
Build from source
You need Go 1.26, Node 22 and just.
mise installs all three plus the lint and format tools:
mise install
just setup # frontend deps and the pre-commit hook
just build # build/sofcat.exe and build/sofcat-ui.exe
just msi # build/sofcat-<version>-x86_64.msi
Both executables are pure Go with no cgo, so they cross-compile from Linux or
macOS. just msi uses embala, so
WiX isn't needed either. More in docs/dev.md and
ui/README.md.
Contributing
Pull requests are welcome. Before you open one, run:
just fmt-check
just lint
just test
just ui-lint ui-test # if you touched ui/
Package branding resolves the organisation branding SofCat UI shows: policy registry values first, then the config.yaml `branding:` block, field by field.
Package branding resolves the organisation branding SofCat UI shows: policy registry values first, then the config.yaml `branding:` block, field by field.