Skip to content

Add configurable sources, multi-user support, and enhanced error handling - #3

Open
Majawat wants to merge 19 commits into
ugoogalizer:doco-updatefrom
Majawat:doco-update
Open

Add configurable sources, multi-user support, and enhanced error handling#3
Majawat wants to merge 19 commits into
ugoogalizer:doco-updatefrom
Majawat:doco-update

Conversation

@Majawat

@Majawat Majawat commented Jun 26, 2025

Copy link
Copy Markdown

New Features

Configurable Sources

  • JSON config file system (config.json) for managing multiple code sources
  • Support for local files and custom URLs beyond the hardcoded GitHub repo
  • CLI overrides: --add-source, --sources, --config
  • Cross-source duplicate detection

Multi-User Support

  • User-specific cookie files and databases
  • Prevents code redemption conflicts between different accounts
  • Automatic email-based file naming (e.g., .cookies_user_at_gmail_com.save)

Manual Code Management

  • --add-code flag for manually adding codes
  • Validation for games and platforms

UI Improvements

  • Reorganized --help with logical grouping
  • Clearer argument descriptions with usage examples
  • Consistent formatting

Backwards Compatibility

All changes are fully backward compatible. Existing usage patterns continue to work unchanged.

Majawat and others added 19 commits June 26, 2025 13:27
Add bl4 to the known_games dictionary to enable SHiFT code redemption for Borderlands 4.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add missing datetime import in auto.py to fix --add-code feature
- Replace bare except clause with specific exception handling for safety
- Add network request timeouts (30s) to prevent indefinite hangs
- Document Borderlands 4 (bl4) support in README
- Create config.json.example template for user reference

These changes improve error handling, prevent hanging on network issues,
and provide better documentation for users.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Universal codes are now expanded into platform-specific rows at insert
time, so redeeming on steam does not block a later psn run. Also marks
codes with "does not exist" responses as invalid so they are not retried.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant