Skip to content

template catalog api + navidrome form cleanup - #29

Merged
DevMatei merged 4 commits into
mainfrom
develop
Oct 7, 2026
Merged

DevMatei merged 4 commits into
mainfrom
develop

Conversation

@DevMatei

@DevMatei DevMatei commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • added GET /api/v1/templates so other sites can pull the template catalog, with cursor paging, sort (popular, newest, name), filters and search
  • added GET /api/v1/templates/<slug> for the full definition and GET /api/v1/templates/<slug>/preview.png for cached sm/md/lg previews
  • ETag/304 + cache headers on catalog responses, CORS for embedding, separate rate limits for catalog and previews
  • documented all of it in docs/API.md
  • navidrome username now sits in the same grid as url/password/method, dropped the boxed look
  • trimmed the test suite (about 1000 to 650 lines, same coverage) and fixed the broken last.fm period test
  • added the license field to package.json

Verification

  • pytest wrapped_fm/tests: 28 passed, 51 subtests

the username sat up top while url, password and method were in a separate
box further down, which was confusing. all the navidrome fields are now
together in the form and use the same labels as the rest of the page.
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

PR preview image is ready for testing: ghcr.io/devmatei/make-a-wrapped:pr-29

docker pull ghcr.io/devmatei/make-a-wrapped:pr-29
docker run --rm -p 8000:8000 --env-file .env ghcr.io/devmatei/make-a-wrapped:pr-29

then open http://localhost:8000

@DevMatei
DevMatei merged commit 16c902b into main Oct 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant