{"id":19430577,"url":"https://github.com/shafiqsadat/hamsterkeygen","last_synced_at":"2025-04-05T17:08:16.637Z","repository":{"id":251898030,"uuid":"838781042","full_name":"ShafiqSadat/HamsterKeyGen","owner":"ShafiqSadat","description":"Hamster Kombat Key Generator Python","archived":false,"fork":false,"pushed_at":"2024-10-01T12:04:12.000Z","size":76,"stargazers_count":98,"open_issues_count":5,"forks_count":47,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-29T16:06:58.033Z","etag":null,"topics":["hamster-bike","hamster-cube","hamster-kombat","hamster-train","hamsterkey","telegram"],"latest_commit_sha":null,"homepage":"https://main--grand-capybara-6c6bac.netlify.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShafiqSadat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-06T10:28:08.000Z","updated_at":"2025-03-16T08:47:58.000Z","dependencies_parsed_at":"2024-11-10T14:32:10.141Z","dependency_job_id":null,"html_url":"https://github.com/ShafiqSadat/HamsterKeyGen","commit_stats":null,"previous_names":["shafiqsadat/hamsterkeygen"],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafiqSadat%2FHamsterKeyGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafiqSadat%2FHamsterKeyGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafiqSadat%2FHamsterKeyGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShafiqSadat%2FHamsterKeyGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShafiqSadat","download_url":"https://codeload.github.com/ShafiqSadat/HamsterKeyGen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hamster-bike","hamster-cube","hamster-kombat","hamster-train","hamsterkey","telegram"],"created_at":"2024-11-10T14:25:36.740Z","updated_at":"2025-04-05T17:08:16.617Z","avatar_url":"https://github.com/ShafiqSadat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HamsterKeyGen\n![image](https://github.com/user-attachments/assets/18ed1781-bd34-45ff-84a8-4c96043bdda7)\n\nThis is an asynchronous Python script to generate Hamster Kombat Keys.\n\n## Web Version\n\n[HamsterKeyGenWeb](https://github.com/ShafiqSadat/HamsterKeyGenWeb)\n![image](https://github.com/user-attachments/assets/3f155319-6b85-4869-91c8-b88d63f38eef)\n\n\n## ⭐ 💹 Need bulk keys? \n- Contact me: [Telegram](https://t.me/Shafiq)\n\n## Features\n- Generate unique client IDs.\n- Authenticate and obtain client tokens.\n- Emulate user progress and register events.\n- Generate and retrieve promo keys.\n- Optional proxy support.\n- Save keys into file.\n\n## Requirements\n- Python 3.7+\n- `httpx`\n- `asyncio`\n- `loguru`\n\n## Installation\n\n1. Clone the repository or download the script.\n    ```sh\n    git clone https://github.com/ShafiqSadat/HamsterKeyGen.git\n    ```\n2. Create a virtual environment (optional but recommended):\n    ```sh\n    python -m venv venv\n    source venv/bin/activate # On Windows use `venv\\Scripts\\activate`\n    ```\n3. Install the required packages:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n1. Open a terminal and navigate to the directory containing the script.\n2. Run the script:\n    ```sh\n    python main.py\n    ```\n3. Follow the prompts to enter the game number and the number of keys you want to generate.\n\n### Using Proxies\n\nYou can optionally use a proxy by specifying a proxy file. If no proxy file is provided, the script will look for `proxy.txt` in the same directory.\n\n1. Create a file named `proxy.txt` in the same directory as the script.\n2. Add your proxy URL to the `proxy.txt` file. For example:\n\n#### HTTP Proxy\n```\nhttp://proxy-server:8080\n```\n\n#### HTTPS Proxy\n```\nhttps://proxy-server:8080\n```\n\n#### SOCKS5 Proxy\n```\nsocks5://proxy-server:1080\n```\n\n#### SOCKS4 Proxy\n```\nsocks4://proxy-server:1080\n```\n\nWhen running the script, you can specify the path to your proxy file:\n\n```sh\npython main.py\n```\n\nIf you do not specify a proxy file, the script will attempt to use `proxy.txt` by default.\n\n### Script Details\n\n- **generate_client_id**: Generates a unique client ID.\n- **login**: Authenticates using the client ID and returns a client token.\n- **emulate_progress**: Simulates user progress and registers an event.\n- **generate_key**: Generates a promo key using the client token.\n- **generate_key_process**: Orchestrates the process of generating a key.\n- **main**: Main function to generate multiple keys concurrently.\n\n## Stargazers over time\n[![Stargazers over time](https://starchart.cc/ShafiqSadat/HamsterKeyGen.svg?variant=adaptive)](https://starchart.cc/ShafiqSadat/HamsterKeyGen)\n\n## License\nThis project is licensed under the GPL-3.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshafiqsadat%2Fhamsterkeygen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshafiqsadat%2Fhamsterkeygen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshafiqsadat%2Fhamsterkeygen/lists"}