diff --git a/.agents/skills/umbrel-develop-app/SKILL.md b/.agents/skills/umbrel-develop-app/SKILL.md index 17e9f428b..9f2d31cfd 100644 --- a/.agents/skills/umbrel-develop-app/SKILL.md +++ b/.agents/skills/umbrel-develop-app/SKILL.md @@ -123,6 +123,12 @@ Design storage so data survives container recreation and upgrades do not require - Never log secrets, tokens, cookies, private URLs, or personal data. - Document runtime data directories, required ports, environment variables or secret files, optional integrations, and destructive maintenance tasks. +## Getting It To Users + +Most new apps start out in a community app store (https://github.com/getumbrel/umbrel-community-app-store), where they can find users and build a release history. Do not assume a new app can launch with an official App Store pull request. There are exceptions, such as a new app from a team that already has a track record. When that might apply, suggest opening an app request to ask before packaging. + +Use `umbrel-package-app` to package for either. "Getting an App on Umbrel" in the umbrel-apps `README.md` says how apps get into the App Store. + ## Good App Shapes Use these as common shapes, not as the only acceptable categories: diff --git a/.agents/skills/umbrel-package-app/SKILL.md b/.agents/skills/umbrel-package-app/SKILL.md index 24111e40a..2d412cffa 100644 --- a/.agents/skills/umbrel-package-app/SKILL.md +++ b/.agents/skills/umbrel-package-app/SKILL.md @@ -1,6 +1,6 @@ --- name: umbrel-package-app -description: Use when packaging a new app for the Umbrel App Store, including upstream discovery, manifest and compose authoring, Umbrel runtime rules, persistence, and readiness for testing. +description: Use when packaging a new app for the Umbrel App Store or a community app store, including upstream discovery, manifest and compose authoring, Umbrel runtime rules, persistence, and readiness for testing. --- # Umbrel Package App @@ -9,6 +9,28 @@ Create an Umbrel App Store package for a self-hosted app. Keep changes scoped to the requested app unless the task explicitly requires shared changes. +## Who Submits Apps + +"Getting an App on Umbrel" in the repo `README.md` says which apps the App Store takes and who submits them. Read it before writing files if the goal is a pull request to the official App Store. This section is how to apply it. + +- Ask the user whether they develop or maintain the app, when it is not clear. +- Check whether the app is established: how long the project has existed, its release history, and whether people other than its authors use it (issues and discussions from other users, forks, stars, mentions elsewhere, packages on other self-hosting platforms). No single number decides it, and a small app can qualify if the people it is for rely on it. +- If the user does not develop the app, do not prepare a pull request. Help them search the existing app requests and add a 👍, or open a new app request with the "App request" issue form. +- If the app is not established yet, tell the user plainly and kindly, and offer to package it for a community app store instead (https://github.com/getumbrel/umbrel-community-app-store). Do not open a pull request here in the meantime. +- If the user develops an established app, they can submit it themselves with this skill, or open an app request and let Umbrel package it. Mention both options. +- If it is unclear which case applies, for example a new app from a team that already has a track record, suggest opening an app request that describes the app and asks. + +These checks are only for pull requests to the official App Store. They do not apply when packaging for a community app store or for the user's own device. + +## Community App Stores + +When packaging for a community app store instead of the official App Store, follow this skill with these differences: + +- Start from the template at https://github.com/getumbrel/umbrel-community-app-store and set the store's `id` and `name` in `umbrel-app-store.yml`. +- The app ID and its folder name must start with the store ID and a dash, for example `sparkles-hello-world` in a store with the ID `sparkles`. Use the prefixed ID wherever the app ID appears, such as container names in `APP_HOST`. +- Set `icon` and `gallery` in the manifest to full URLs of images the developer hosts. The official App Store rules to omit `icon` and use `gallery: []` do not apply. +- Set `submission` to the app's own repository, since there is no pull request to this repository. The developer publishes by pushing to their own store repository, and users add that repository's URL in umbrelOS. + ## App Store Gates - The package must open to a useful web UI, setup page, or status/connection page. If upstream is headless or CLI-only, add a browser page that shows service state, connection details, QR codes, or next steps. Users must not need SSH or CLI access for normal use. @@ -423,6 +445,7 @@ Use `umbrel-test-app`. A package is not ready until it installs through Umbrel, ## PR Readiness +- In the PR body, state what the "Who Submits Apps" checks found: the user's role in the project, how long the project has existed, its release history, and the evidence that people beyond its authors use it. - Keep the diff scoped to one app unless the task explicitly requires shared changes. - Do not include generated secrets, rendered templates, runtime data, screenshots, or unrelated files. - In the PR body, include the app/version, upstream project URL, image source, testing performed, and any host access, permissions, default credentials, or notable setup behavior. diff --git a/.agents/skills/umbrel-update-app/SKILL.md b/.agents/skills/umbrel-update-app/SKILL.md index 34d621a2d..99c889d08 100644 --- a/.agents/skills/umbrel-update-app/SKILL.md +++ b/.agents/skills/umbrel-update-app/SKILL.md @@ -11,6 +11,10 @@ This skill contains the normal update workflow. Consult `umbrel-package-app` onl Keep changes scoped to the requested app unless the task explicitly requires shared changes. +## Who Opens Update PRs + +Umbrel updates most App Store apps itself, and some are updated by their own developers; see "Keeping apps up to date" in the repo `README.md`. Before preparing an update pull request, ask whether the user develops or maintains the app, when it is not clear. If they do not, help them open an "App package issue" instead. + ## What Umbrel Sees - Umbrel shows an available app update when the app-store manifest `version` for an installed `id` differs from the installed app's `version`. diff --git a/.github/ISSUE_TEMPLATE/app-request.yml b/.github/ISSUE_TEMPLATE/app-request.yml index b25e76135..688e3a458 100644 --- a/.github/ISSUE_TEMPLATE/app-request.yml +++ b/.github/ISSUE_TEMPLATE/app-request.yml @@ -1,15 +1,15 @@ name: App request -description: Suggest an app for the Umbrel App Store +description: Request an app for the Umbrel App Store title: "App request: " body: - type: markdown attributes: value: | - Want to see an app on Umbrel? Open a request here so Umbrel, the community, and the app's developers can see the demand. + Want an app on Umbrel? [Search the open app requests](https://github.com/getumbrel/umbrel-apps/issues?q=is%3Aissue+is%3Aopen+%22App+request%22+sort%3Areactions-%2B1-desc) first, and add a 👍 if it's already there. The 👍s tell us what to package next. - The best path is for the app's official developers to submit or help maintain the Umbrel package. Popular requests may also be picked up by Umbrel or community contributors. + We look at every app request. When an app is a good fit, we package and test it ourselves, so this form is all it takes from you. Not every app will be a fit, and we start with the ones the most people are asking for. - If you want to help, share this request with the app's developers or open an issue in their project asking if they'd like to submit an Umbrel package. + Built something new? A [community app store](https://github.com/getumbrel/umbrel-community-app-store) is the place to start. - type: input id: app attributes: @@ -17,45 +17,30 @@ body: validations: required: true - type: input - id: upstream + id: link attributes: - label: Upstream project - description: Website, GitHub repo, or official docs. - validations: - required: true - - type: input - id: docker - attributes: - label: Official Docker image - description: Leave blank if unknown. - - type: dropdown - id: web-ui - attributes: - label: Does it have a browser UI or status page? - options: - - "Yes" - - "No" - - "I don't know" + label: Link to the app + description: Its website or GitHub repository. validations: required: true - type: textarea - id: fit + id: why attributes: - label: Why does it fit Umbrel? + label: What would you use it for? + description: A sentence or two is plenty. validations: required: true - type: dropdown - id: packaging-help + id: developer attributes: - label: Who can help package or maintain this app? + label: Are you a developer or maintainer of this app? options: - - I can submit a PR - - The app's developers may be able to help - - I am only suggesting the app + - "No, I'd just like it on Umbrel" + - "Yes" validations: required: true - type: textarea id: notes attributes: - label: Packaging notes - description: Known ports, persisted data, dependencies, special permissions, or architecture support. + label: Anything else we should know? + description: Optional. For example, who else uses the app, or anything you know about running it in Docker. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7e87fe719..876dbfd15 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,8 @@ blank_issues_enabled: false contact_links: + - name: Community App Stores + url: https://github.com/getumbrel/umbrel-community-app-store + about: Built something new? Publish it for Umbrel users in an app store of your own. - name: Umbrel Support url: https://umbrel.com/support about: Get official help from Umbrel. diff --git a/.github/ISSUE_TEMPLATE/package-issue.yml b/.github/ISSUE_TEMPLATE/package-issue.yml index 7b45f382c..79194f68d 100644 --- a/.github/ISSUE_TEMPLATE/package-issue.yml +++ b/.github/ISSUE_TEMPLATE/package-issue.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Use this for problems with how an app installs, updates, starts, opens from Umbrel, persists data, or connects to Umbrel dependencies. + Use this when an app in the App Store is out of date, or for problems with how an app installs, updates, starts, opens from Umbrel, persists data, or connects to Umbrel dependencies. If you are using a coding agent, it can help inspect Umbrel app logs, config, and package files before opening the issue. @@ -15,8 +15,8 @@ body: - type: input id: app-id attributes: - label: App ID - description: The app folder name, if known. + label: App + description: The app's name, or its folder name in this repository. validations: required: true - type: input @@ -51,6 +51,7 @@ body: attributes: label: What failed? options: + - App is out of date - Install - Update - Start diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 57419a5e4..b2902e8c6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,15 @@