Skip to content

Commit ab1bc53

Browse files
TMHSDigitalclaude
andcommitted
Incremental build, SEO titles and descriptions, print stylesheet, "Did you mean", pinned actions, CITATION.cff, dx items
- build: no dist wipe; one writer creates each directory once, writes a file only when its bytes changed, and prunes what an earlier build left, so the output equals a clean build's. --clean wipes first. Entry errors stop the build before stacks load. Measured on this drive: clean 25.0 s, no-change rebuild 1.6 s, 432-page rebuild 8.3 s (#80) - entry pages: <title> is "name · licence" (name alone when over 60), the description leads with licence, commercial stance and credit and clips at a sentence under 155; og:title/og:description keep the full text; stack pages clip too; the page check fails a title over 60 or a description over 160 (#103) - styles: @media print block for a clean licence record, light tokens, source URLs spelled out, chrome hidden (#105) - app: an empty search shows "Did you mean" buttons from closestEntries, which now also matches a one-word query against each word of a name (#109) - ci: actions pinned to commit SHAs with the version as a comment (#88) - CITATION.cff so GitHub offers "Cite this repository" (#114) - check-links: no retry after a full timeout; one Node statement (22+, CI and .nvmrc use 24); CONTRIBUTING says ungrouped formats are not filterable; new-entry's last step names the file (#86) Closes #80, #86, #88, #103, #105, #109, #114 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 9b10302 commit ab1bc53

18 files changed

Lines changed: 377 additions & 79 deletions

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v7
19+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2020

2121
- name: Setup Node
22-
uses: actions/setup-node@v7
22+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2323
with:
2424
node-version-file: .nvmrc
2525

‎.github/workflows/links.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v7
20+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2121

2222
- name: Setup Node
23-
uses: actions/setup-node@v7
23+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2424
with:
2525
node-version-file: .nvmrc
2626

‎.github/workflows/pages.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v7
31+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3232

3333
- name: Setup Node
34-
uses: actions/setup-node@v7
34+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
3535
with:
3636
node-version-file: .nvmrc
3737

3838
- name: Build site
3939
run: node site/build.mjs
4040

4141
- name: Upload Pages artifact
42-
uses: actions/upload-pages-artifact@v5
42+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
4343
with:
4444
path: site/dist
4545

@@ -52,4 +52,4 @@ jobs:
5252
steps:
5353
- name: Deploy to GitHub Pages
5454
id: deployment
55-
uses: actions/deploy-pages@v5
55+
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1

‎CITATION.cff‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
cff-version: 1.2.0
2+
message: "If you use this catalog in research or teaching, please cite it as a dataset."
3+
type: dataset
4+
title: "Free Game Dev Assets: a dated, sourced catalog of free game assets and tools with licence metadata"
5+
authors:
6+
- name: "TMHSDigital"
7+
website: "https://github.com/TMHSDigital"
8+
repository-code: "https://github.com/TMHSDigital/Free-Game-Dev-Assets"
9+
url: "https://tmhsdigital.github.io/Free-Game-Dev-Assets/"
10+
license: CC0-1.0
11+
date-released: "2026-10-22"
12+
keywords:
13+
- game-development
14+
- game-assets
15+
- licensing
16+
- open-data
17+
- catalog
18+
abstract: >-
19+
A curated catalog of free, commercially usable game assets and tools. Every
20+
entry records the licence as read at the source on a stated date, the
21+
commercial stance, the credit requirement and dated evidence quotes. The
22+
catalog metadata is CC0; the linked assets keep their own licences.

‎CONTRIBUTING.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Please follow the [Code of Conduct](CODE_OF_CONDUCT.md).
2727

2828
## Adding an entry
2929

30-
The website rebuilds from frontmatter on deploy. Node 22 or newer is all you need; there
31-
are no dependencies to install.
30+
The website rebuilds from frontmatter on deploy. Node 22 or newer is all you need (CI and
31+
`.nvmrc` use 24); there are no dependencies to install.
3232

3333
1. Run `node site/new-entry.mjs <category> <id>` (or `npm run new-entry -- <category> <id>`). It copies [`catalog/TEMPLATE.md`](catalog/TEMPLATE.md) to `catalog/<category>/<id>.md` with the id, category and today's date filled in, and refuses an id already used anywhere in the catalog. Use a short kebab-case `id`; a mixed kit already listed in another category is a duplicate, not a second entry.
3434
2. Verify the license on the live source page the day you submit, and fill every frontmatter field from it (rules below). Prefer primary URLs over mirror/aggregator pages.
@@ -49,7 +49,7 @@ To add a starter stack (one pick per need for a kind of game), follow [`stacks/R
4949
- `attribution_string`: the copy-paste credit line. Required when `attribution_required` is `true`; optional otherwise.
5050
- `publisher`: optional. Name the **rights-holding publisher**, never the host. Set it whenever that publisher has more than one catalog entry, so the entries group; setting it on a publisher that currently has only one entry is also fine and saves a backfill later. Do not set it to a generic host or distributor (GitHub, Hugging Face, itch.io, OpenGameArt, the Internet Archive, Google Fonts) or to a distributor that does not hold the rights. Distinguish sibling organisations that are genuinely different rights holders: `blender.md` (the application, Blender Foundation) carries no `publisher`, while the asset bundles under `studio.blender.org` carry `Blender Studio`. Kenney, Quaternius, KayKit, LuizMelo, 0x72, Blender Studio, Material Maker, Alif Type, GGBotNet and 3dmodelscc0 are the largest groups in use today; treat that as illustrative, not as the permitted set.
5151
- `subcategories`: lower-case kebab-case (`base-meshes`, `field-recordings`). Reuse a value already in the catalog before inventing one, and do not add a variant of an existing value that differs only in plural or spelling. Where both forms were in use, the more common one was kept (`characters`, `environment`, `interior`, `tileset`, `vectors`, `pixel`, `impulse-responses`, `base-meshes`). Retired spellings are listed in [`site/value-aliases.json`](site/value-aliases.json), which the validator enforces (V19); add a line there when you merge two values.
52-
- `formats`: what you actually get, in one of four kinds. **File formats**, as commonly written: usually upper case (`PNG`, `FBX`, `JSON`, `VOX`), tool-specific ones as the tool writes them (`gdshader`, `tmx`, `ktx2`). **Engine or language targets**, as the product writes them (`glTF`, `Godot`, `Unity`, `Python`, `React`). **Delivery types** for software with no file format of its own, lower-case kebab-case (`godot-addon`, `blender-extension`, `npm`, `cli`, `library`, `desktop-app`, `mobile-app`, `middleware`, `model`). And `various` for an aggregator whose files come in too many formats to list. Platforms (`windows`, `macos`, `ios`) and descriptions (`heightfield`, `examples`) are `tags`, not formats. The allowed values are the closed list in [`site/format-vocabulary.json`](site/format-vocabulary.json), which the validator enforces (V20): reuse a listed spelling, and add a genuinely new format there in the same change that first uses it. Its `groups` drive the site's Format filter, so a new format that belongs to a group (another glTF or font container) goes into that group too.
52+
- `formats`: what you actually get, in one of four kinds. **File formats**, as commonly written: usually upper case (`PNG`, `FBX`, `JSON`, `VOX`), tool-specific ones as the tool writes them (`gdshader`, `tmx`, `ktx2`). **Engine or language targets**, as the product writes them (`glTF`, `Godot`, `Unity`, `Python`, `React`). **Delivery types** for software with no file format of its own, lower-case kebab-case (`godot-addon`, `blender-extension`, `npm`, `cli`, `library`, `desktop-app`, `mobile-app`, `middleware`, `model`). And `various` for an aggregator whose files come in too many formats to list. Platforms (`windows`, `macos`, `ios`) and descriptions (`heightfield`, `examples`) are `tags`, not formats. The allowed values are the closed list in [`site/format-vocabulary.json`](site/format-vocabulary.json), which the validator enforces (V20): reuse a listed spelling, and add a genuinely new format there in the same change that first uses it. Its `groups` drive the site's Format filter, so a new format that belongs to a group (another glTF or font container) goes into that group too. A format outside every group is still searchable and shown on the card, but the Format filter cannot select it.
5353
- `tags`: lower-case kebab-case words describing the content (`low-poly`, `modular`, `platformer`). Do not restate another field: the licence (`cc0`, `mit`, `ofl`, `open-source`, `royalty-free`), the credit requirement (`no-attribution`) or the entry's own `publisher` (`kenney`) are rejected (V19 via `site/value-aliases.json`, V21), because search and the filters read those fields directly and a copied tag drifts. A `varies` entry lists its licence mix in the body, not in tags.
5454
- Frontmatter is one `key: value` per line; lists are `[a, b]` or indented `- item` lines. A key given twice is an error. Entry files may not contain emoji.
5555
- `grid_dimensions` / `camera_perspective` / `hardware_tags`: optional metadata for 2D and UI entries. `3d` and `characters` entries leave `camera_perspective` out: it describes a 2D camera, and those entries have none.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Please follow the [Code of Conduct](CODE_OF_CONDUCT.md).
337337
<details>
338338
<summary>Run the checks and preview the site locally</summary>
339339

340-
Node 22 or newer; there is nothing to install.
340+
Node 22 or newer (CI and `.nvmrc` use 24); there is nothing to install.
341341

342342
```bash
343343
npm run check # all of the below, in the order CI runs them

0 commit comments

Comments
 (0)