cmpose

v3.0.8
io.github.Keremturker/cmpose Checked 3 hours ago Published 1 day ago

Generate Compose Multiplatform apps, Unity games and Ktor backends locally from tested templates.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cmp_describe

Describe the cmpose generator: template types, featuresConfig flags and defaults, dependency rules, validation limits and the pinned template.

cmp_generate

Generate a Compose Multiplatform (Android + iOS) project on this machine. Call cmp_describe first for the options, defaults and validation rules. Writes <outputDir>/<projectName>; never overwrites an existing non-empty folder.

ParameterTypeDescription
appName *stringDisplay name (e.g. My App)
outputDir *stringAbsolute path of the folder to create the project in
packageName *stringReverse-domain package (e.g. com.example.myapp)
projectName *stringLetters only, no spaces (e.g. MyApp)
backendTemplateRefstringOverride the pinned backend template tag (blank with backend only)
ciboolean
featuresarrayExtra feature modules (lower case names)
featuresConfigobjectblank only: flags from cmp_describe (unknown keys are refused; ignored for showcase)
iosVersionstring | numberiOS deployment target, e.g. "15.0"
minSdkstring | numberAndroid min SDK, e.g. "24" or 24
templateRefstringOverride the pinned template tag
templateTypestring

game_describe

Describe the Unity game generator: engine and editor version, template types, renders, flags and their dependencies, ID groups, defaults, validation limits, the pinned game template and its theme families (themes: default, and each family's id, title, suits and fontPairs).

game_generate

Generate a Unity 6 (Android + iOS) mobile game project on this machine. Call game_describe first for the flags, defaults and validation rules. showcase has every flag on; flags and features apply to blank only. theme picks one of the style families game_describe lists under themes (palette, shapes, motion, fonts; match the family whose suits fits the game) and optionally a fontPair of that family. primary and accent (#RRGGBB) recolour the family: their lightness is shifted until text and buttons keep their contrast, and a colour that still cannot pass falls back to the family default with a wa…

ParameterTypeDescription
appName *stringDisplay name (e.g. Sky Hopper)
outputDir *stringAbsolute path of the folder to create the project in
packageName *stringReverse-domain application identifier (e.g. com.example.skyhopper)
projectName *stringLetters or digits, starting with a letter, no spaces (e.g. SkyHopper)
companyNamestringCompany name (defaults to the second packageName segment, capitalized)
featuresarrayblank only: extra feature modules (lower case names)
flagsarrayblank only: flags from game_describe (required flags are added); showcase has every flag on
idsobjectReal IDs by group (admob, revenueCat, gameServices; fields in game_describe), each needing its flag. A group left out keeps the test IDs / placeholders, reported as a warning
iosVersionstring | numberiOS deployment target, e.g. "15.0"
minSdkstring | numberAndroid min SDK, e.g. "25" or 25
renderstringRender setup (default 2d)
templateRefstringOverride the pinned game template tag
templateTypestringshowcase (default): the sample games with every flag on; blank: an empty game with the flags and features you pick
themeobjectStyle family and optional colour shifts; without it the template default family is used

backend_describe

Describe the Kotlin/Ktor backend generator: options, appName rules, the project anatomy, the pinned backend template and the conventions to follow when writing code in a generated backend.

backend_generate

Generate a standalone Kotlin/Ktor backend (Docker-ready) on this machine. Call backend_describe first. Writes <outputDir>/<projectName>; never overwrites an existing non-empty folder.

ParameterTypeDescription
appName *stringService name: 2-31 lowercase letters, digits or -, starting with a letter (e.g. notes-api)
outputDir *stringAbsolute path of the folder to create the project in
packageName *stringReverse-domain Kotlin package (e.g. com.example.notes)
projectName *stringLetters only, no spaces (e.g. NotesBackend)
samplebooleanInclude the sample items feature (default true)
sharingbooleanSpaces shared between users with roles and invitations (default false)
templateRefstringOverride the pinned backend template tag