waybetter-for-x/.forgejo/issue_template/plugin.yaml
2026-10-01 06:01:13 +07:00

59 lines
2.1 KiB
YAML

name: Submit a plugin to the Store
about: No git needed. Attach your .plugin.js and a maintainer adds it to the wayBetter Store.
title: "Store plugin: "
body:
- type: markdown
attributes:
value: |
Attach the file and answer the questions. A maintainer puts it in a folder under `store/x/plugins/`, runs the checks (`bun run check:store`), reads the code, then builds and signs the catalog. The Store's signing key is offline by design, so publishing takes that extra step.
Before you send: drop the file on the wayBetter window and see that it installs and works.
- type: textarea
id: file
attributes:
label: The plugin file
description: Drag your `name.plugin.js` here (and a 640×400 preview `.svg` or `.png`, if you made one). The header needs `@name`, `@version`, `@description` (50 characters or more), `@author` and `@permissions`.
validations:
required: true
- type: input
id: id
attributes:
label: Store id
description: Lower-case letters, digits and hyphens, up to 40. It becomes the address /store/plugins/<id>/.
placeholder: hide-trends
validations:
required: true
- type: dropdown
id: category
attributes:
label: Category
options:
- reading
- writing
- filters
- focus
- tools
validations:
required: true
- type: input
id: tags
attributes:
label: Tags
description: Up to 12 words people would search for, separated by commas.
placeholder: trends, sidebar
- type: textarea
id: what
attributes:
label: What it does and what it uses
description: What a user sees, which permissions it declares and why. If it declares `network`, name the server and what is sent.
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Confirm
options:
- label: I wrote this, or I may publish it under GPL-3.0-or-later.
required: true
- label: The code is readable (not minified) and loads or evaluates nothing at run time.
required: true