Catalog: apps, featured order, validator with tests, submission guide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
15d6408811
13 files changed
+596
No files matched your search
@@ -0,0 +1,65 @@
|
||||
# Ely GPUI Showcases
|
||||
|
||||
Apps built with [Ely GPUI Components](https://github.com/ZacharyZhang-NY/Ely-GPUI-Components). The catalog feeds the Showcase page on the Ely site.
|
||||
|
||||
## Submit an app
|
||||
|
||||
1. Read [CONTRIBUTING.md](CONTRIBUTING.md), screenshots most of all.
|
||||
2. Make `apps/<app-id>/`. The id is lowercase kebab-case: `tally`, `log-view`.
|
||||
3. Put your PNG screenshots in that folder.
|
||||
4. Add `manifest.json` there.
|
||||
5. Add `README.md` there if you want a detail page.
|
||||
6. Run `pnpm install`, `pnpm test` and `pnpm validate`, then open a pull request.
|
||||
|
||||
```
|
||||
apps/
|
||||
tally/
|
||||
manifest.json
|
||||
preview0.png
|
||||
preview1.png
|
||||
README.md
|
||||
```
|
||||
|
||||
## Manifest
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "tally",
|
||||
"name": "Tally",
|
||||
"author": "Ada Lovelace",
|
||||
"description": "Counts what you tell it to, in light and dark.",
|
||||
"category": "work",
|
||||
"platforms": ["macOS", "Linux"],
|
||||
"website": null,
|
||||
"source": "https://github.com/ada/tally",
|
||||
"previews": ["preview0.png", "preview1.png"]
|
||||
}
|
||||
```
|
||||
|
||||
| Field | Rule |
|
||||
|-------|------|
|
||||
| `id` | Lowercase letters, digits, single hyphens. Matches the folder. |
|
||||
| `name` | The app's name, in its own capitals. |
|
||||
| `author` | A person or an organization. |
|
||||
| `description` | At most 280 weighted characters, counted as Twitter counts them. |
|
||||
| `category` | `dev` (Developer Tools), `terminal` (Terminal & Network), `system` (System & Desktop) or `work` (Productivity & Media). |
|
||||
| `platforms` | Some of `macOS`, `Windows`, `Linux`, `Web`. |
|
||||
| `website`, `source` | Canonical `https` addresses, or `null`. One at least. |
|
||||
| `previews` | PNG file names in the folder. The first is the cover. |
|
||||
| `building` | Optional. `true` while the app is not out yet. |
|
||||
| `publishedAt` | Optional. ISO 8601. Maintainers set it. |
|
||||
| `stars`, `starsUpdatedAt` | CI writes them for GitHub sources. Leave them out. |
|
||||
|
||||
Unknown fields fail validation.
|
||||
|
||||
## Featured
|
||||
|
||||
`featured.json` lists app ids in order. Those apps come first. Maintainers choose them. The rest sort newest first, then by stars.
|
||||
|
||||
## How the site uses this
|
||||
|
||||
The Ely site pins a commit of this repo. Its build downloads that commit, runs `scripts/catalog.mjs`, and copies manifests, previews and READMEs. A catalog that fails here fails the site's build.
|
||||
|
||||
## License
|
||||
|
||||
The scripts are MIT OR Apache-2.0. Each app's files belong to its author, who grants the right to show them on the Ely site.
|
||||
Reference in new issue
Block a user