26 lines
1.1 KiB
JavaScript
26 lines
1.1 KiB
JavaScript
// Local (non-versioned) config for API keys and secrets.
|
|
// Copy this file to `assets/config.local.js` and fill in your keys.
|
|
// IMPORTANT: Restrict keys in their provider consoles (HTTP referrers, APIs enabled).
|
|
|
|
// YouTube Data API v3 key (browser-safe only if properly restricted by HTTP referrer)
|
|
window.YOUTUBE_API_KEY = 'AIzaSyCumEzXNPJuQjpPpxhP2PYdExqRBDVJqRY';
|
|
|
|
// Optional: Gemini (for comment summarization)
|
|
// window.GEMINI_API_KEY = 'PUT_YOUR_GEMINI_API_KEY_HERE';
|
|
|
|
// Vimeo API Access Token (must have 'public' scope)
|
|
window.VIMEO_ACCESS_TOKEN = 'PUT_YOUR_VIMEO_ACCESS_TOKEN_HERE';
|
|
|
|
// Twitch API Credentials
|
|
window.TWITCH_CLIENT_ID = 'PUT_YOUR_TWITCH_CLIENT_ID_HERE';
|
|
window.TWITCH_CLIENT_SECRET = 'PUT_YOUR_TWITCH_CLIENT_SECRET_HERE';
|
|
|
|
// Rumble API key (required for Rumble integration in this app)
|
|
// Some Rumble endpoints are not public. This app expects a key surfaced as window.RUMBLE_API_KEY.
|
|
// If you don't have one, select another provider in the header.
|
|
window.RUMBLE_API_KEY = 'PUT_YOUR_RUMBLE_API_KEY_HERE';
|
|
|
|
// Odysee: no API key is required when using the built-in proxy.
|
|
|
|
// You can add other provider keys/tokens here if needed in the future.
|