Conversation
mxpv
reviewed
Jul 22, 2025
- Move environment variable logic from main.go to config.go as requested - Support multiple API keys separated by spaces for API key rotation - Add comprehensive unit tests for environment variable functionality - Update documentation with examples for multiple key support - Ensure all tests pass and code is properly formatted
- YOUTUBE_API_KEY -> PODSYNC_YOUTUBE_API_KEY - VIMEO_API_KEY -> PODSYNC_VIMEO_API_KEY - SOUNDCLOUD_API_KEY -> PODSYNC_SOUNDCLOUD_API_KEY - TWITCH_API_KEY -> PODSYNC_TWITCH_API_KEY - Update tests and documentation accordingly
Owner
|
Thanks! |
|
Hi there! are this changes going to be integrated in a new version release? I found v2.8.0 doesn't have them and if I want them I need to pin to Thanks |
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.
Allows users to set API keys through environment variables. This would be helpful to allow checking in config files to git or to simply provide more flexibility.
Closes #504
Closes #225