A powerful, professional-grade toolkit designed for Windows optimization and automation. Automatically fetches and deploys the latest tools, scripts, and repositories for Windows performance enhancements, system maintenance, debloating, and security improvements. Perfect for IT professionals and enthusiasts seeking a streamlined solution for optimizing and managing Windows environments.
- Asynchronous Downloads: Utilizes
aiohttp
for concurrent downloading, significantly reducing overall wait time compared to synchronous methods. - Latest Release Retrieval: Automatically fetches the latest release of each specified GitHub repository, utilizing the GitHub API for efficiency.
- Branch Fallback: If no release is available, the tool automatically defaults to downloading the primary branch, ensuring that users can still access the latest code.
- Sysinternals Suite Download: Seamlessly integrates with the Sysinternals Suite, downloading the latest version to provide essential Windows utilities.
- Rich Console Output: Employs the
rich
library for visually appealing and informative logging, enhancing the user experience during operations. - Organized File Structure: Downloads are organized into clearly defined directories, simplifying file management for users.
- Clone the repository:
git clone https://github.com/devxathena/WinOptimizer.git
cd WinOptimizer
- Install required packages:
Ensure you have Python 3.7 or higher installed. Use
pip
to install the necessary packages listed inrequirements.txt
.
pip install -r requirements.txt
-
Set your GitHub token in the script. This token is necessary for accessing private repositories and API rate limits. You can create a personal access token in your GitHub account settings under Developer Settings > Personal access tokens.
-
Modify the
DESKTOP_PATH
variable if you want to change the download location.
To initiate the download and extraction process, simply run the script:
python WinOptimizer.py
Upon successful execution, the tool will:
- Download the Sysinternals Suite and extract it into the specified directory.
- Iterate through each GitHub repository, downloading the latest releases or default branches, and extracting them as necessary.
- Log all operations to the console, displaying successful downloads and any errors encountered.
Contributions are welcomed and encouraged! Here’s how you can help:
- Fork the repository to your GitHub account.
- Create a new branch for your feature or fix:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add your message here"
- Push to your branch:
git push origin feature/YourFeature
- Submit a pull request with a description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
- Special thanks to the developers of the libraries utilized in this project:
- aiohttp: A popular asynchronous HTTP client for Python, enabling efficient network operations.
- rich: A Python library for rich text and beautiful formatting in the terminal, enhancing console logging.
- zipfile: A built-in Python library for reading and writing zip files, utilized for extracting downloaded content.
- Thanks to the contributors and maintainers of the GitHub repositories and Sysinternals Suite that this tool interacts with.
Ensure that the following packages are included in your requirements.txt
for smooth operation:
aiohttp
rich
- Python Version: The script requires Python 3.7 or higher for compatibility with asynchronous features.
- Operating System: While designed primarily for Windows, this script should run on any operating system that supports Python.
Feel free to reach out for any questions or suggestions!