🎮 IGDB Catalog

Enrich your library with covers, descriptions, and catalog search

← Back to MyHomeGames home

MyHomeGames uses the IGDB API (via Twitch Developer Services) for personal catalog enrichment only. You need Twitch application credentials (Client ID and Client Secret). This is not a Twitch user login — no sign-in with a Twitch account is required.

Automatic setup (recommended)

If you use the hosted Cloudflare Tunnel and API gateway, IGDB credentials are injected automatically on /igdb/* requests. You do not register your own Twitch app and you do not enter Client ID or Secret in the web app.

  1. Connect the tunnel from Settings → Cloudflare profile.
  2. Open Settings → IGDB / Twitch and enable IGDB API.
Credentials are stored on the API gateway (Cloudflare Worker), not in your browser or in server settings. See the myhomegames-proxy repository for details.

Manual setup (self-hosted, no proxy)

Choose this path if you run the server locally (or without the Cloudflare IGDB proxy) and want to use your own Twitch application credentials.

1. Register a Twitch application

  1. Sign in to the Twitch Developer Console (create a Twitch account first if needed).
  2. Click Register Your Application.
  3. Use a name such as MyHomeGames, category Application Integration.
  4. OAuth redirect URLs are not used for IGDB catalog search. If the form requires a URL, you can use a placeholder such as http://localhost.
  5. Copy the Client ID, then under Manage → New Secret generate a Client Secret and store it safely.

Open Twitch Developer Console

2. Configure MyHomeGames

Enter the credentials in one of these places:

Method Where
Web UI (recommended) Settings → IGDB / Twitch — enable IGDB API, enter Client ID and Client Secret
Server .env TWITCH_CLIENT_ID and TWITCH_CLIENT_SECRET

The Settings page shows Client ID / Secret fields only when the app is not in Cloudflare Tunnel mode (VITE_CLOUDFLARE_TUNNEL_ENABLED is not set for production builds that rely on the gateway).

3. Enable IGDB in the app

In Settings → IGDB / Twitch, turn on Enable IGDB API (or Enable Client ID / Secret (IGDB) when configuring credentials locally).

Troubleshooting

Full technical reference: IGDB.md in the server repository.