Serverless ingest pipeline for the Trove iOS app.
A GitHub Actions cron job pulls LEGO set data from Rebrickable and
retirement status from Brickset, normalizes it to the Trove
CatalogItem JSON schema, and commits data/catalog.json to the data branch daily.
The app fetches this static file over HTTPS — no server, no database.
| File | Purpose |
|---|---|
ingest.py |
Ingest + normalize script (stdlib only, no dependencies) |
catalog.json |
Sample output for local dev / schema reference |
fixtures/ |
Offline fixture data for --sample mode |
SCHEMA.md |
JSON schema documentation |
.github/workflows/ingest.yml |
Daily cron Action |
DEPLOY.md |
Step-by-step setup guide |
python3 ingest.py --sampleSee SCHEMA.md for the full catalog.json field reference.
See DEPLOY.md for the full setup guide (push repo, add secrets, enable Action).