sailfish_create_project
Create a new SailfishOS application project with proper structure, RPM spec, and QML scaffolding to start development.
Instructions
Bootstrap a new SailfishOS application project with correct structure, RPM spec, and QML scaffolding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Application name, e.g. harbour-myapp | |
| displayName | Yes | Human-readable display name | |
| description | Yes | Short description of the app | |
| outputDir | Yes | Directory where the project will be created | |
| template | No | Project template to use | basic |
| organization | No | Reverse-domain organization prefix | org.example |
| authorName | No | Your full name for the RPM spec and changelog, e.g. Jane Dev. Auto-detected from `git config user.name` or the USER environment variable if omitted. | |
| authorEmail | No | Author email for the spec file | |
| license | No | SPDX license identifier used in the RPM spec License: field, e.g. MIT, GPL-3.0-or-later, BSD-3-Clause. Defaults to the placeholder 'LICENSE' — set a real identifier for open-source projects. | LICENSE |
| openSource | No | When true, embed SailfishOS:Chum metadata in the RPM spec %%description so the app can be submitted to the Chum community repository (https://github.com/sailfishos-chum/main). | |
| repoUrl | No | Source-code repository URL, e.g. https://github.com/user/harbour-myapp. Auto-detected from `git remote get-url origin` in the output directory if omitted. Used as the RPM spec URL: field and as the Chum Repo / Homepage / Bugtracker base URL. | |
| chumCategories | No | AppStream categories for the Chum listing. See https://specifications.freedesktop.org/menu-spec/latest/category-registry.html. Examples: ["Network"], ["Multimedia", "Audio"]. Defaults to ["Other"] when empty. | |
| packageIconUrl | No | URL to a package icon image (SVG preferred, 172×172 px PNG as fallback) shown in the Chum GUI application. Leave empty to omit. | |
| donationUrl | No | URL to a donation page shown in the Chum GUI. Leave empty to omit. |