This document describes the GitHub secrets that need to be configured for the CI/CD workflows to build and release the Flake Wire Electron app.
Navigate to your GitHub repository → Settings → Secrets and variables → Actions → New repository secret
- Required: Yes
- Purpose: Trakt API client ID for OAuth authentication
- How to obtain:
- Go to https://trakt.tv/oauth/applications
- Sign in or create a Trakt account
- Click "New Application"
- Fill in the application details:
- Name: Flake Wire
- Description: Media streaming application
- Redirect URI:
http://127.0.0.1:3001/auth/callback
- Copy the "Client ID" value
- Required: Yes
- Purpose: Trakt API client secret for OAuth authentication
- How to obtain:
- From the same Trakt application page as above
- Copy the "Client Secret" value
Important: Keep this secret secure and never commit it to the repository.
- Required: Automatically provided
- Purpose: Used for creating GitHub releases
- How to obtain: This is automatically provided by GitHub Actions - you don't need to create this secret manually.
To add these secrets to your repository:
- Go to your GitHub repository
- Click on "Settings" (you need admin access)
- In the left sidebar, click "Secrets and variables" → "Actions"
- Click "New repository secret"
- Enter the name exactly as shown above (e.g.,
TRAKT_CLIENT_ID) - Paste the corresponding value
- Click "Add secret"
- Repeat for all required secrets
After adding the secrets, you can test them by:
- Pushing a commit to the
mainordevelopbranch - The workflow will run and create a
.envfile with your secrets - Check the workflow logs (but note that secret values are masked in logs)
- The built Electron app will include these credentials embedded in the
.envfile
- Never commit actual secret values to the repository
- The
.envfile is in.gitignoreto prevent accidental commits - GitHub Actions masks secret values in logs automatically
- The secrets are only embedded in the built Electron app, not in the source code
- Users downloading the built app will have these credentials pre-configured
The following environment variables from .env.example are NOT required as GitHub secrets because they are configured by users through the app's onboarding flow or have suitable defaults:
- TMDB_API_KEY: Users can configure their own TMDB API key through the app if needed
- OMDB_API_KEY: Has a default public key (
be62d2ad) - FANARTTV_API_KEY: Optional - only needed if you want enhanced artwork
- Debrid API Keys (REAL_DEBRID_API_KEY, PREMIUMIZE_API_KEY, ALLDEBRID_API_KEY): Configured by users through the app's onboarding flow
If you want to include any of these as defaults in the built app, you can add them as GitHub secrets using the same process.