Share a library
To put a game on ZeroHub, publish it as an app. Library publication remains paused.
Before you share
In Zero’s sidebar, choose Start Page → Sign in to Zero and connect your own public GitHub repository.
The sharing form opens on GitHub. Use the same account as Zero. Browsing and downloads need no sign-in.
- Work in your existing game repository. Keep the library in
libraries/your-library-name/, with its settings inzero-library.json. - Choose Check library in Zero to check its API, behavior and two examples locally.
- Commit and push your source, then choose Share library. Review the exact committed folder and version before opening the GitHub form.
The pilot supports self-contained JavaFX widgets and ordinary Java helpers. Published versions stay unchanged; later changes use a new version.
Tutorial practice: CreditsBadge
Lesson 11 guides you through extracting a small CreditsBadge library in your own tutorial game repository. Keep its reserved folder libraries/tutorial-credits-badge/ and use Check library before preparing Share library. Library publication, including practice, remains paused until managed checking and rollout are accepted. A local passing check does not publish a library.
When publication is enabled, practice requests use the same ownership, source, version and managed checks as other libraries. Copied tutorial libraries appear only in Tutorial practice, where similar copies are expected. Maintainers may remove these libraries from the catalog during periodic cleanup. Source and accepted artifacts are retained, and published versions stay unchanged.
An original library or a proposal for Zero core remains an optional next step after the tutorial.