doesitarm/static
ThatGuySam 3d19c60670 Keep YouTube fallbacks small enough to review
The first baseline committed the raw YouTube API dump, which fixed clean builds but carried unused API metadata. The route fallback only needs prebuilt listing objects, so this replaces the raw seed with slug-keyed listing fallbacks and adds a refresh script that fetches the latest source data before projecting it.

Constraint: helpers/site-listings.js must work in a fresh checkout before generated static/api output exists

Rejected: Commit the full raw YouTube JSON | unnecessarily large and mostly unused by the fallback path

Rejected: Drop descriptions only | smaller but would weaken app-link and tag matching semantics

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Refresh static/api/youtube-video-listings.json via scripts/update-youtube-video-listing-fallbacks.js, not by committing static/api/youtube-videos.json

Tested: pnpm run with-env vite-node scripts/update-youtube-video-listing-fallbacks.js

Tested: pnpm run with-env vitest test/prebuild/site-listings.test.js

Tested: pnpm run netlify-prebuild:test-prebuild-functions

Tested: pnpm run netlify-prebuild
2026-04-25 15:13:29 -05:00
..
api Keep YouTube fallbacks small enough to review 2026-04-25 15:13:29 -05:00
images Use square mark as twitter image 2020-11-28 17:11:59 -06:00
3215494.html Create 3215494.html 2021-03-25 15:37:19 -05:00
favicon.ico Update favicon 2020-09-19 18:54:08 -05:00
fo-verify.html Add fo-verify file 2022-07-15 15:00:31 -05:00
README.md Initialize Nuxt 2020-09-15 19:02:15 -05:00
robots.txt Add robots.txt 2022-07-07 12:02:18 -05:00

STATIC

This directory is not required, you can delete it if you don't want to use it.

This directory contains your static files. Each file inside this directory is mapped to /.

Example: /static/robots.txt is mapped as /robots.txt.

More information about the usage of this directory in the documentation.