Skip to content

feat(Melon): Implement Melon provider - #234

Merged
kellnerd merged 3 commits into
kellnerd:mainfrom
Maxr1998:melon-provider
Aug 9, 2026
Merged

feat(Melon): Implement Melon provider#234
kellnerd merged 3 commits into
kellnerd:mainfrom
Maxr1998:melon-provider

Conversation

@Maxr1998

Copy link
Copy Markdown
Contributor

Melon is a South Korean digital streaming service. This provider uses the mobile app's API, which is publicly accessible without authentication. The API returns album metadata and track listings via separate endpoints. The brand color and icon have been taken from the website.

To implement this change, I used the help of an AI tool (namely Claude Code using the Sonnet 4.6 model), which created the Melon API types from HTTP responses caputured with curl using the endpoints described in #203, and wrote the initial provider implementation (using the previous Bugs! provider as a reference). Regardless, all code changes have been personally reviewed by me, and I take full responsibility for them. I also selected and wrote the test cases myself.

Assisted-by: Claude:claude-sonnet-4.6

Closes #203.

@Maxr1998

Copy link
Copy Markdown
Contributor Author

Still plan to do some fine-tuning on the provider implementation and fix the ToDo I left there, but I think it is mostly ready to review already.

@kellnerd kellnerd added feature New feature or request provider Metadata provider labels Jul 20, 2026

@kellnerd kellnerd left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for giving this a shot. Sorry that it took quite a while till I came back to reviewing it, I needed a short break after your last PR and then it got too hot and my motivation was melting like ice in the sun.

Without having tried the provider so far, here is some initial feedback.

Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/api_types.ts
Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/mod.ts
Comment thread providers/Melon/mod.ts Outdated
Comment thread server/icons/BrandMelon.tsx Outdated
Comment thread providers/Melon/mod.test.ts Outdated
@Maxr1998
Maxr1998 requested a review from kellnerd August 9, 2026 01:19

@kellnerd kellnerd left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, you can now rearrange the commits while you do the last minor changes.
Especially the test data changes should be squashed to remove them from history.

Comment thread server/static/harmony.css
Comment thread providers/Melon/mod.test.ts Outdated
Comment thread providers/Melon/mod.ts Outdated
Comment thread providers/Melon/mod.ts Outdated
Melon is a South Korean digital streaming service.
This provider uses the mobile app's API, which is publicly accessible without authentication. The API returns album metadata and track listings via separate endpoints.
The brand color and icon have been taken from the website.

To implement this change, I used the help of an AI tool (namely Claude Code using the Sonnet 4.6 model), which created the Melon API types from HTTP responses captured with curl using the endpoints described in kellnerd#203, and wrote the initial provider implementation (using the previous Bugs! provider as a reference). Regardless, all code changes have been personally reviewed by me, and I take full responsibility for them. I also selected and wrote the test cases myself.

Assisted-by: Claude:claude-sonnet-4.6
Assisted-by: Claude:claude-fable-5
@Maxr1998

Maxr1998 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Done. I applied your suggestions as well as a few minor fixes from another review pass with Claude (Fable 5, added to the commit message). I also moved the CSS formatting change to a separate commit, and added support for mobile URLs and live albums.

See here.

@kellnerd
kellnerd merged commit 7ff8df8 into kellnerd:main Aug 9, 2026
2 checks passed
@Maxr1998
Maxr1998 deleted the melon-provider branch August 9, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request provider Metadata provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Melon

3 participants