{"id":22570409,"url":"https://github.com/haseeb-heaven/auto-copilot","last_synced_at":"2025-04-10T13:30:32.594Z","repository":{"id":210397874,"uuid":"726424902","full_name":"haseeb-heaven/auto-copilot","owner":"haseeb-heaven","description":"🛠️✨ Automation Tool for GitHub Copilot 💪 that Auto Fixes code with Live Preview 🚀🤯🤩","archived":false,"fork":false,"pushed_at":"2023-12-03T13:03:59.000Z","size":8441,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T08:59:50.769Z","etag":null,"topics":["api","api-rest","bingchat","chatgpt","coding","copilot","cpp17","csharp","developer-tools","github","github-api","github-copilot","gpt","gpt3","java","javascript","programming","python"],"latest_commit_sha":null,"homepage":"","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/haseeb-heaven.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}},"created_at":"2023-12-02T11:07:57.000Z","updated_at":"2025-01-14T14:28:22.000Z","dependencies_parsed_at":"2023-12-02T14:44:59.893Z","dependency_job_id":null,"html_url":"https://github.com/haseeb-heaven/auto-copilot","commit_stats":null,"previous_names":["haseeb-heaven/auto-copilot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haseeb-heaven%2Fauto-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haseeb-heaven%2Fauto-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haseeb-heaven%2Fauto-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haseeb-heaven%2Fauto-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haseeb-heaven","download_url":"https://codeload.github.com/haseeb-heaven/auto-copilot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225705,"owners_count":21068078,"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":["api","api-rest","bingchat","chatgpt","coding","copilot","cpp17","csharp","developer-tools","github","github-api","github-copilot","gpt","gpt3","java","javascript","programming","python"],"created_at":"2024-12-08T01:08:47.933Z","updated_at":"2025-04-10T13:30:32.568Z","avatar_url":"https://github.com/haseeb-heaven.png","language":"Python","funding_links":["https://www.buymeacoffee.com/haseebheaven","https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee\u0026emoji=\u0026slug=haseebheaven\u0026button_colour=40DCA5\u0026font_colour=ffffff\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=FFDD00","https://ko-fi.com/heavenhm"],"categories":[],"sub_categories":[],"readme":"![copilot](https://github.com/haseeb-heaven/Auto-Copilot/blob/main/resources/logo.gif?raw=true)\u003c/br\u003e\n# Auto Copilot - An Automation Tool for Github Copilot 🚀💡\n\n### **Support Project:**\n\u003ca href=\"https://www.buymeacoffee.com/haseebheaven\"\u003e\n    \u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee\u0026emoji=\u0026slug=haseebheaven\u0026button_colour=40DCA5\u0026font_colour=ffffff\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=FFDD00\" width=\"200\" height=\"50\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://ko-fi.com/heavenhm\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/KoFi-ffdd00?style=for-the-badge\u0026logo=Ko-fi\u0026logoColor=orange\" width=\"200\" height=\"50\" /\u003e\n\u003c/a\u003e\n\n**Auto Copilot** is an _extraordinary_ 🌟🔧 automation tool that monitors your code file and automatically fixes errors. 🚀💡 \nand give you **Real-time** 📺 output of your code. 🎯🔧💻 just at your fingertips. 🤩👌\n\nUnbelievable, right? It's like having a _copilot_ 🚁👨‍✈️ that **never sleeps**! 😎🌙✨\n\nThis tool was inspired by [**XCode**](https://developer.apple.com/xcode/), which _automatically executes_ your code in Playground 🎮, and [**Compiler Explorer**](https://godbolt.org/), which _automatically compiles_ your code after every change. 🎯🔧💻\n\n\n## Features ✨\n\n- **File Monitoring** 📂: Auto Copilot watches your file for changes and automatically fixes errors.\n- **Live Preview** 📺: Auto Copilot can execute your code automatically after fixing the error and show you the output live.\n- **Customizable** 🎛️: You can set the interval time and monitor time according to your needs.\n- **Easy to Use** 🚀: Just run the script with your file as an argument and let Auto Copilot handle the rest.\n- **Cross Platform** 🌍: Auto Copilot works on Windows, Linux, and MacOS.\n\n## Pre-requisites 📝\n\nYou need to have Python 3 installed on your system. You can download it from [here](https://www.python.org/downloads/).\n\nAnd you need to have the following compilers installed on your system:\n- [GCC](https://gcc.gnu.org/)\n- [Java](https://www.java.com/en/)\n- [Python](https://www.python.org/)\n- [C#](https://docs.microsoft.com/en-us/dotnet/csharp/)\n- [Swift](https://swift.org/)\n- [Kotlin](https://kotlinlang.org/)\n- [Go](https://golang.org/)\n- [JavaScript](https://www.javascript.com/)\n\nIn order to execute your code automatically and for the live preview.\nJust download ones you need mostly.\n\n### Github Copilot 🔑\nAnd you need to have **Github Copilot** installed on your VS Code. You can download it from [here](https://copilot.github.com/).\nBasically Auto Copilot uses Github Copilot Chat **Inline** version to fix the errors and bugs in your code.\n\nAnd don't forget to set the **keybindings** for Github Copilot Chat in your VS Code. 🔑\n\n## Installation 💻\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/haseeb-heaven/Auto-Copilot.git\n    ```\n\n2. Navigate to the project directory:\n    ```sh\n    cd Auto-Copilot\n    ```\n\n3. Run the script with your file as an argument:\n    ```sh\n    python auto-copilot.py filename [interval_time] [monitor_time]\n    ```\n\n    - `filename`: The name of the file you want to monitor.\n    - `interval_time` (optional): The time interval in seconds for checking the file. Default is 5 seconds.\n    - `monitor_time` (optional): The time in seconds for the auto fix error. Default is 15 seconds.\n\n4. Install the dependencies:\n    ```sh\n    pip install -r requirements.txt\n    ```\n5. Make sure to run this throug your terminal or cmd. 🎯🔧💻 and always give permissions to your terminal or cmd to access your VS Code. 🔑\n\n## Working 🚀\nSo how does Auto Copilot work? 🤔\n- It actualyy uses the **Github Copilot Chat** to fix the errors in your code. 🎯🔧💻\n- It Reads your **Github Copilot** Keybindings from your VS Code. 🔑\n- It then **compiles** your code and **executes** it. 🎯🔧💻\n- Then on **Error \u0026 Bugs** occurences it press the **Github Copilot** Keybindings to fix the errors. 🔑\n- And then it **compiles** and **executes** your code again. 🎯🔧💻\n- And it keeps on doing this until there are no errors left in your code. 🎯🔧💻\n- And it also gives you the **Real-time** 📺 output of your code. 🎯🔧💻\n\n## Working Demo 📺\nInitiating the Auto Error fix 🚀💡\u003c/br\u003e\n![copilot-error1](https://github.com/haseeb-heaven/Auto-Copilot/blob/main/resources/auto-copilot-error-fix-1.png?raw=true \"Intitiating the Error \u0026 Bug fix\")\u003c/br\u003e\n\nAuto Error fixed 🚀💡\u003c/br\u003e\n![copilot-error1](https://github.com/haseeb-heaven/Auto-Copilot/blob/main/resources/auto-copilot-error-fix-2.png?raw=true \"Error \u0026 Bug fixed\")\u003c/br\u003e\n\nGetting the Real-time output 📺\u003c/br\u003e\n![copilot-error1](https://github.com/haseeb-heaven/Auto-Copilot/blob/main/resources/auto-copilot-error-fixed.png?raw=true \"Real-time output\")\u003c/br\u003e\n\n### YouTube Video 📺\n[![Auto Copilot](https://img.youtube.com/vi/zDpXe-LvvfU/0.jpg)](https://www.youtube.com/watch?v=zDpXe-LvvfU)\n\n## Contributing 🤝\nContributions, issues and feature requests are welcome! Feel free to add PRs 🚀.\n\n## Versioning 📌\n- Version 1.0.0: Initial Release\n\n## License 📜\nThis project is licensed under the [MIT LICENSE] - see the LICENSE file for details.\n\n## Authors 👨‍💻\n- **HeavenHM** - [haseeb-heaven](https://github.com/haseeb-heaven)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaseeb-heaven%2Fauto-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaseeb-heaven%2Fauto-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaseeb-heaven%2Fauto-copilot/lists"}