Skip to main content
To publish and distribute your card module, you must place two registry files and an icon at the root of your repositoryโ€™s metadata branch. These files are metadata.json, versioning.json, and icon.png.

metadata.json

The metadata.json file contains the primary identity and descriptive information for your card module.

Structure

The file must follow this structure:
  • id (string): The unique identifier of your module. It must use lowercase alphanumeric characters and hyphens.
  • title (string): The display name of your module shown in the LynxHub registry.
  • description (string): A short sentence describing what your module does.
  • type (string): Must be set to "module".

Example

Here is an example metadata.json file:

versioning.json

The versioning.json file tracks your release history, compatible engine ranges, supported operating systems, and version changelogs. LynxHub reads this file to resolve target versions and download updates.

Structure

The file consists of two root arrays:

versions

An array of release version objects. Each version object contains:
  • version (string): The semantic version of the release (e.g., "14.2.0").
  • commit (string): The exact Git commit hash of the release on your main branch.
  • engines (object):
    • moduleApi (string): The semver compatibility range of the LynxHub module API (e.g., "^2.1.0").
  • stage (string): The release distribution channel. Use "public", "early_access", or "insider".
  • platforms (array): The target operating systems. Supported values are "win32", "linux", and "darwin".

changes

An array of change logs for each release version. Each changelog object contains:
  • version (string): The semantic version this changelog applies to.
  • date (string): The release date formatted as YYYY-MM-DD.
  • items (array): A list of category objects containing change descriptions. Typical categories are ๐Ÿš€ New Features, ๐Ÿ› ๏ธ Improvements, and ๐Ÿ› Bug Fixes.

Example

Here is an example versioning.json file:

icon.png

The icon.png file is the display icon for your card module in the LynxHub registry.

Requirements

  • Filename: Must be named exactly icon.png.
  • Location: Place it at the root of your metadata branch.
  • Format: PNG format.
  • Dimensions: Use a square image (e.g., 512x512 pixels).
Last modified on June 21, 2026