{"id":14976584,"url":"https://github.com/vdanielvpl/winproductkey","last_synced_at":"2025-06-13T22:33:53.053Z","repository":{"id":252568017,"uuid":"836307483","full_name":"VdanielVPL/WINProductKey","owner":"VdanielVPL","description":"This application is a simple tool built with Rust and Tauri to retrieve the Windows product key from the system registry. It uses Tauri to provide a minimal web-based interface and Rust for accessing and processing the registry data.","archived":false,"fork":false,"pushed_at":"2024-10-25T16:34:59.000Z","size":517,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T08:56:53.750Z","etag":null,"topics":["product-key","windows","windows-10","windows-11","windows-product-key"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/VdanielVPL.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-07-31T15:11:12.000Z","updated_at":"2024-10-25T16:27:33.000Z","dependencies_parsed_at":"2024-08-10T20:48:44.724Z","dependency_job_id":"a58d47d7-e614-4f97-84c7-71d439597fd5","html_url":"https://github.com/VdanielVPL/WINProductKey","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"202f0c340f56df0a3ce2ab2642fc0ed67cd27cd3"},"previous_names":["vdanielvpl/winproductkey"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdanielVPL%2FWINProductKey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdanielVPL%2FWINProductKey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdanielVPL%2FWINProductKey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdanielVPL%2FWINProductKey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VdanielVPL","download_url":"https://codeload.github.com/VdanielVPL/WINProductKey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238560487,"owners_count":19492535,"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":["product-key","windows","windows-10","windows-11","windows-product-key"],"created_at":"2024-09-24T13:54:05.987Z","updated_at":"2025-02-12T22:31:15.952Z","avatar_url":"https://github.com/VdanielVPL.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003cimg src=\"./app-icon.png\" width=\"100px\" align=\"center\"\u003eWINProductKey\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n \u003cimg alt=\"WINProductKey\" src=\"https://github.com/user-attachments/assets/d4ab6a21-0baa-449e-9340-8b086d3a7438\"\u003e\n\u003c/div\u003e\n\nThis application is a simple tool built with Rust and Tauri to retrieve the Windows product key from the system registry. The `.exe` file provided is compiled to work on Windows 7, 10, and 11. **Please note that this method of retrieving the product key generally works from Windows 7 onwards, specifically for Pro and Home versions**. It uses Tauri to provide a minimal web-based interface and Rust for accessing and processing the registry data.\n\n\u003cdiv align=\"center\"\u003e\n  \n  [![Downloads](https://img.shields.io/github/downloads/vdanielvpl/winproductkey/total.svg?style=for-the-badge\u0026color=orange)](https://github.com/vdanielvpl/winproductkey/releases)\n  [![GitHub License](https://img.shields.io/github/license/vdanielvpl/winproductkey?style=for-the-badge\u0026color=orange)](https://www.gnu.org/licenses/gpl-3.0.en.html)\n  [![Current version](https://img.shields.io/github/v/release/vdanielvpl/winproductkey?label=version\u0026style=for-the-badge\u0026color=orange)](https://github.com/vdanielvpl/winproductkey/releases)\n\n\u003c/div\u003e\n\n## Features\n\n- Retrieve the Windows product key from the registry.\n- UI using Tauri's WebView.\n- Lightweight and fast.\n\n## Downloading the Executable\n\nIf you do not wish to build the application yourself, you can download the pre-built executable directly from the [Releases](https://github.com/VdanielVPL/WINProductKey/releases) section of the GitHub repository.\n\n1. Navigate to the [Releases](https://github.com/VdanielVPL/WINProductKey/releases) page.\n2. Download the latest version of the executable (`.exe`) file.\n3. Run the downloaded executable to retrieve your Windows product key.\n\n## Usage\n\nWhen you run the application, it will display a simple UI that shows you your product key.\n\n## How It Works\n\nThis program reads the Windows product key from the registry by accessing the following registry path:\n\n```\nHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId\n```\n\nThe key is stored in a binary format, which the Rust backend decodes into a readable product key.\n\n## Building\n### Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- **Rust**: You need to have Rust installed on your machine. You can install Rust using [rustup](https://rustup.rs/).\n- **Bun**: Tauri requires Bun or Node.js for building the frontend part. You can install Bun from [here](https://bun.sh/).\n- **Tauri CLI**: Install the Tauri CLI by running:\n  ```bash\n  bun add -D @tauri-apps/cli\n  ```\n\n### Installation\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/VdanielVPL/WINProductKey.git\ncd WINProductKey\n```\n\n### 2. Install dependencies\n\n```bash\n# Install frontend dependencies using Bun\nbun install\n```\n\n### 3. Build the application\n\n```bash\n# Build the Tauri app optimized for release\nbunx tauri build\n```\n```bash\n# or run app for development\nbunx tauri dev\n```\n\n### 4. Run the application (if release version)\n\nin `./src-tauri/target/release` double click on `.exe` file\n\n### Key Files\n\n- **`src-tauri/src/main.rs`**: The Rust backend, which handles registry access and product key decoding.\n- **`src/main.ts`**: Simple script calling Rust for product key.\n- **`src-tauri/tauri.conf.json`**: Tauri configuration file.\n\n## Contributing\n\nContributions are welcome! Please fork this repository and submit a pull request with your improvements (I'll check them out when I have time).\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [Tauri](https://tauri.app/) for making cross-platform desktop applications easy with Rust and WebView.\n- [Rust](https://www.rust-lang.org/) for providing a robust and safe systems programming language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdanielvpl%2Fwinproductkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdanielvpl%2Fwinproductkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdanielvpl%2Fwinproductkey/lists"}