{"id":22012829,"url":"https://github.com/sterbweise/plutonium-key-generator-api","last_synced_at":"2026-05-01T21:04:42.542Z","repository":{"id":254375941,"uuid":"846342857","full_name":"Sterbweise/plutonium-key-generator-api","owner":"Sterbweise","description":"A containerized Flask-based API for automated generation of Plutonium server keys.","archived":false,"fork":false,"pushed_at":"2024-08-29T02:06:06.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T08:17:10.418Z","etag":null,"topics":["api","docker","flask","key-generator","plutonium","python","restful-api","t6"],"latest_commit_sha":null,"homepage":"https://github.com/Sterbweise/plutonium-key-generator-api","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sterbweise.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-23T02:24:21.000Z","updated_at":"2024-08-29T02:58:31.000Z","dependencies_parsed_at":"2024-11-09T12:02:22.316Z","dependency_job_id":null,"html_url":"https://github.com/Sterbweise/plutonium-key-generator-api","commit_stats":null,"previous_names":["sterbweise/plutonium-key-generator-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Sterbweise/plutonium-key-generator-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sterbweise%2Fplutonium-key-generator-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sterbweise%2Fplutonium-key-generator-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sterbweise%2Fplutonium-key-generator-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sterbweise%2Fplutonium-key-generator-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sterbweise","download_url":"https://codeload.github.com/Sterbweise/plutonium-key-generator-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sterbweise%2Fplutonium-key-generator-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","docker","flask","key-generator","plutonium","python","restful-api","t6"],"created_at":"2024-11-30T03:14:39.712Z","updated_at":"2026-05-01T21:04:42.524Z","avatar_url":"https://github.com/Sterbweise.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plutonium Key Generator API\n\n[![Docker](https://img.shields.io/docker/v/yourusername/plutonium-key-generator-api?label=Docker\u0026logo=docker)](https://hub.docker.com/r/Sterbweise/plutonium-key-generator-api)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python](https://img.shields.io/badge/Python-3.9%2B-blue?logo=python)](https://www.python.org/)\n[![Flask](https://img.shields.io/badge/Flask-2.3.2-000000?logo=flask)](https://flask.palletsprojects.com/)\n![GitHub repo size](https://img.shields.io/github/repo-size/Sterbweise/plutonium-key-generator-api)\n![GitHub stars](https://img.shields.io/github/stars/Sterbweise/plutonium-key-generator-api)\n![GitHub forks](https://img.shields.io/github/forks/Sterbweise/plutonium-key-generator-api)\n![GitHub issues](https://img.shields.io/github/issues/Sterbweise/plutonium-key-generator-api)\n![GitHub last commit](https://img.shields.io/github/last-commit/Sterbweise/plutonium-key-generator-api)\n\n\u003cimg src=\"https://imgur.com/bBrx8Hf.png\" alt=\"Plutonium Logo\" width=\"350\"/\u003e\n\nAPI for generating server keys for Plutonium. This API automates the process of creating and retrieving server keys required to host Plutonium game servers, streamlining server setup and management for game administrators. It interfaces directly with the Plutonium platform, handling authentication and key lifecycle management.\n\n## Overview\n\nThis API is designed to work in tandem with the `plutonium-key-generator` client project developed in Rust. The combined system is used to bypass game ownership verification for Call of Duty titles on the Plutonium platform, enabling server hosting without traditional game ownership requirements.\n\nKey features of the integrated system:\n\n- Automated key generation for Plutonium servers\n- Seamless integration between the API and Rust client\n- Bypasses standard game ownership checks for Call of Duty titles\n- Facilitates easier setup and management of Plutonium game servers\n\n**Note:** This project is intended for educational and development purposes only. Users should comply with all applicable laws and terms of service for the games and platforms involved.\n\n\n## Table of Contents\n\n- [Plutonium Key Generator API](#plutonium-key-generator-api)\n  - [Overview](#overview)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n    - [Docker Installation](#docker-installation)\n      - [Using Docker](#using-docker)\n      - [Using Docker Compose](#using-docker-compose)\n    - [Local Development](#local-development)\n  - [Configuration](#configuration)\n  - [Security](#security)\n  - [License](#license)\n  - [Support](#support)\n\n## Features\n\n- Generate unique keys\n- Manage key lifecycle (activation, deactivation, expiration)\n- Easy integration with existing game systems via RESTful API\n\n## Prerequisites\n\n- Docker 20.10.x or higher\n- Docker Compose 1.29.x or higher (optional, for easy deployment)\n\n## Installation\n\n### Docker Installation\n\nThis project supports both Docker and Docker Compose for easy deployment and management.\n\n#### Using Docker\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/sterbweise/plutonium-key-generator-api.git\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd plutonium-key-generator-api\n   ```\n\n3. Build the Docker image:\n   ```bash\n   docker build -t plutonium-key-generator-api .\n   ```\n\n4. Run the container:\n   ```bash\n   docker run -d \\\n     --name plutonium-key-generator \\\n     -p 5000:5000 \\\n     -e BASE_URL=https://platform.plutonium.pw/serverkeys/ \\\n     -e COOKIE=your_cookie_value \\\n     -v $(pwd)/data:/data \\\n     plutonium-key-generator-api\n   ```\n\n   Replace `your_cookie_value` with your actual Plutonium platform cookie.\n\n#### Using Docker Compose\n\n1. Clone the repository (if you haven't already):\n   ```bash\n   git clone https://github.com/sterbweise/plutonium-key-generator-api.git\n   cd plutonium-key-generator-api\n   ```\n\n2. Create a `.env` file in the project root and add your Plutonium platform cookie:\n   ```\n   PLUTONIUM_COOKIE=your_cookie_value\n   ```\n\n3. Ensure your `docker-compose.yml` file is correctly configured:\n   ```yaml\n   version: '3.8'\n   services:\n     plutonium-key-generator:\n       build: .\n       environment:\n         - BASE_URL=https://platform.plutonium.pw/serverkeys/\n         - COOKIE=${PLUTONIUM_COOKIE}\n       volumes:\n         - ./data:/data\n       ports:\n         - \"5000:5000\"\n   ```\n\n4. Run the service using Docker Compose:\n   ```bash\n   docker-compose up -d\n   ```\n\n   This command will build the image if it doesn't exist and start the container.\n\n5. To stop the service:\n   ```bash\n   docker-compose down\n   ```\n\nThe API will be accessible at `https://localhost:5000/plutonium-key-generator`.\n\nNote: The data directory is mounted as a volume to persist generated keys between container restarts.\n\nFor security reasons, never share your cookie value or include it in version control systems. Always use environment variables or secure secret management for sensitive information in production environments.\n\nTo view logs:\n\n### Local Development\n\n1. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n2. Set up environment variables:\n   ```bash\n   cp .env.example .env\n   # Edit .env file with your configuration\n   ```\n\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n## Configuration\n\nThe following environment variables can be configured:\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| PORT | Port on which the API listens | 3000 |\n| DATABASE_URL | Connection URL for the database | - |\n| SECRET_KEY | Secret key for encrypting sensitive data | - |\n| API_RATE_LIMIT | Rate limit for API requests (requests per minute) | 100 |\n| KEY_EXPIRATION | Default key expiration time | 48h |\n\n## Security\n\n- All communications must be done over HTTPS in production\n- API token authentication is required for all endpoints\n- Regular security audits are conducted\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nFor support, please contact:\n\n- Email: [contact@sterbweise.dev](mailto:contact@sterbweise.dev)\n- Telegram: [@SG991](https://t.me/SG991)\n\nYou can also open an issue on this repository for bug reports or feature requests.\n\n---\n\nDeveloped with ❤️ by [Sterbweise](https://github.com/Sterbweise)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsterbweise%2Fplutonium-key-generator-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsterbweise%2Fplutonium-key-generator-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsterbweise%2Fplutonium-key-generator-api/lists"}