The catalog README table had 286 rows and docs/template-repository.md said 286 published templates, but catalog.json registers 287 entries. The missing row was motion-orbit-launch, the original contribution example that the same README already highlights as the entry point for new contributors, so the one template omitted from the index was the one the guide points at. Add the row, state the current count as 287, and keep the historical note about the initial 286-entry comparison accurate rather than rewriting it. A new test requires the catalog table to list exactly the registered IDs, which prevents both a silent omission and the count drifting again. Verified red-green.
Motion template catalog
Browse imported motion guidance and original community examples. Guides, HTML examples and small images are here. Images over 100 KB load from existing public CMS links. Imported reference videos and original ZIP downloads stay at their existing CMS URLs. New contribution media can use Git LFS without a CMS account; see media contribution and download instructions.
Try one template
Open the first template's guide in a browser and play its authored examples. No build step is needed. Templates with large reference images need an internet connection to load their CMS renditions; small images stay local. Read its motion.md for the motion specification; TEMPLATE.md links the separate reference video.
Entries without project-file manifests remain reference guidance with authored HTML examples. Nine entries now include editable project candidates, identified by their root index.html file and usage notes in TEMPLATE.md; human visual acceptance is still pending. The four bundled Studio examples remain in template-library/.
For an original contribution example, open Orbit Launch: a six-second launch-title recipe with offline HTML playback, motion rules, a small local poster and a separately stored preview video. Its metadata includes all eleven locale slots; the motion guide and example use English.
Change a template
Each stable ID has one directory:
template.json Shared metadata, locale overrides and original CMS archive identity and remote assets
TEMPLATE.md Usage, status and acknowledgements
source/ Markdown, HTML, CSS, JavaScript, measurements and small local images
manifest.json Local/remote original paths, sizes, hashes and provenance
assets/ Images used by the guide and examples
Edit files directly. After source changes, refresh the manifest, then stage and check:
npm run templates:manifest -- <template-id>
git add library/templates/catalog
npm run templates:check -- <full-base-commit-sha>
npm run storage:check -- <full-base-commit-sha>
node --test tests/template-library.test.ts
The checkers read staged contents. The base SHA also enables checks of new Git history: deleting a mistakenly committed large file or video in a later commit does not remove it from history. storage:check reports the repository-wide ordinary Git total and warns when it exceeds the advisory target; that total does not block contributions. New entries need a stable ID registered in catalog.json, all locale slots, required guide files and actual source/rights notes in TEMPLATE.md.
| Files | Storage and limit |
|---|---|
| Code, documentation and measurements | Ordinary Git, at most 1 MiB per file |
| Small images/fonts | Ordinary Git under source/assets/, at most 100 KB (100,000 bytes) per asset |
| Images/fonts over 100 KB | Git LFS under source/assets/lfs/; existing imported CMS links retain their recorded identities |
| Complete catalog in ordinary Git | Included in the repository-wide 128 MiB advisory target; larger totals warn without blocking contributions |
| Video and audio | Git LFS under source/assets/lfs/; existing imported references retain CMS links |
| LFS media budgets | At most 50 MiB per file and 150 MiB total local media per template |
| Original ZIP downloads | Existing links only; archives are not contribution source |
| Exports, dependencies and generated output | Outside catalog source; use ignored .artifacts/ for local output |
The import keeps 1,419 small reference images locally, optimized from 65.2 MB of JPEGs to WebP at their original dimensions. Local guides and manifest hashes use the optimized files; each template records the encoding in its provenance. Original JPGs remain in the unchanged published packages. Another 236 larger originals (32.5 MB) use existing CMS WebP renditions, which total 12.6 MB and load when viewing affected guides. New LFS media needs Git LFS and a scoped pull before preview; contributors do not need a CMS account. See the download and contribution steps.
Submit PRs against main. CI runs Template library policy without CMS publishing credentials or media downloads. Repository branch protection must separately require the job to prevent merging a failed check.
Publishing boundary
Source Studio and MCP load this directory directly. See local startup and plugin paths. For editable projects, commit unpacked source and keep template.json.entry.files paths, byte lengths and SHA-256 hashes aligned with source/manifest.json. Project-file URLs and a ZIP download are optional for repository/hosted entries; contributors do not need to upload files to the old CMS service. See the editable-project checklist.
After final review, a maintainer runs Prepare and merge PR to transfer eligible media and merge the prepared change. Merging to main automatically publishes source objects and hosted metadata, then updates https://releases.open-design.ai/open-motion/templates/main/catalog.json for hosted NPM consumers. The website and explicit CMS-mode clients continue to consume CMS publications; updating them is a separate internal task. A merged source change does not publish CMS content.
To export CMS-compatible metadata for review:
npm run templates:export -- .artifacts/catalog-candidate.json
This writes a file with all locale overrides and collection facets; it does not upload or publish. The imported publication identity is retained for comparison. Only an explicitly requested website CMS publication requires packaging/uploading source and updating CMS archive identities and download links. Repository PRs use the automatic hosted workflow above. Existing translated CMS downloads do not silently change with local source edits.
See the contribution and publication workflow. The catalog and developer tools are excluded from application/npm packages.
Catalog
Acknowledgements
The import records the existing public production publication and its content hash in catalog.json. Each template links its original reference in TEMPLATE.md and preserves measured/inferred provenance in source/manifest.json. Reference footage, screenshots, trademarks and fonts retain their original rights. This import does not claim ownership, a new media license, complete reconstruction or visual acceptance of those references.