Skip to content

Add API-key-protected local Roblox backup copier - #1

Open
ReedonMenu wants to merge 3 commits into
mainfrom
codex/create-roblox-game-copier-with-api-key
Open

Add API-key-protected local Roblox backup copier#1
ReedonMenu wants to merge 3 commits into
mainfrom
codex/create-roblox-game-copier-with-api-key

Conversation

@ReedonMenu

Copy link
Copy Markdown
Owner

Motivation

  • Provide a safe, local CLI for backing up Roblox place files (.rbxl / .rbxlx) that the user already exported, with simple access control.
  • Avoid storing plaintext secrets by using a generated API key and hashed-on-disk storage for authentication.
  • Make the workflow reproducible and testable with a small unit test suite.

Description

  • Add roblox_game_copier.py, a CLI that implements init-key to generate a key, hashed storage (.gamecopier_api_key by default), copy to validate an API key, and a timestamped backup of a local .rbxl/.rbxlx file.
  • Implement helper functions generate_api_key, hash_key, save_key, load_key_hash, validate_api_key, and copy_game_file and a parse_args-driven command-line interface.
  • Update README.md with quick-start usage for init-key and copy, and add test instructions.
  • Add test_roblox_game_copier.py with unit tests for key generation/validation and the backup copy behavior.

Testing

  • Ran the unit test suite with python3 -m unittest -v, which executed test_generate_and_validate_key and test_copy_game_file.
  • Both tests passed and the test run completed with OK.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant