Repository navigation
Add IGDB as the second catalogue - #3
Merged
Merged
Conversation
RAWG going down left console games unfindable, and the measurements in DATA-SOURCES showed why nothing keyless could rescue them: cover art is copyrighted, so the free sources have the titles and not the pictures. IGDB has both, at the cost of a second credential. The proxy gains an igdb branch. It authenticates through Twitch with a client-credentials token cached in module scope, and translates the client's ordinary GET into the POST-with-a-text-body that IGDB's query language requires — so none of that protocol reaches the browser. The search term is quoted into a string literal and the only two query shapes are search and the discover orderings, so a client cannot inject clauses. Missing credentials answer 503, the same contract RAWG already had: 'not configured here', not an outage. In the client IGDB sits between RAWG and Steam, and the order is the whole point — Steam returns nothing at all for 'zelda' or 'mario'. Not yet verified against the live API: that needs the preview deploy, where the credentials live. Numbers to follow. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Preview deploy is behind Vercel's deployment protection (302 to SSO), so the live IGDB check has to happen either locally with credentials in |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RAWG's outage left console games unfindable, and no keyless source can replace it: cover art is copyrighted, so the free catalogues have the titles and not the pictures (measurements in
docs/DATA-SOURCES.md). IGDB has both.igdbbranch — Twitch client-credentials token cached per warm instance, GET translated to IGDB's POST-with-text-bodyzeldaormario, which is the pointVerification against the live API happens on this preview deploy, where the credentials are.
🤖 Generated with Claude Code