https://github.com/haseeb-heaven/code-runner-extension
Run and save the code in ChatGPT. Supports upto 70+ languages.
https://github.com/haseeb-heaven/code-runner-extension
ai-code chat-gpt chat-gpt-3 chat-gpt-code-run code-runner gpt gpt-4 gpt-code openai
Last synced: 10 months ago
JSON representation
Run and save the code in ChatGPT. Supports upto 70+ languages.
- Host: GitHub
- URL: https://github.com/haseeb-heaven/code-runner-extension
- Owner: haseeb-heaven
- License: mit
- Created: 2023-05-03T05:05:32.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-26T04:20:56.000Z (over 2 years ago)
- Last Synced: 2025-04-10T08:59:50.763Z (10 months ago)
- Topics: ai-code, chat-gpt, chat-gpt-3, chat-gpt-code-run, code-runner, gpt, gpt-4, gpt-code, openai
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/chatgpt-code-runner/fockdiafolhhflpicbmbnjhiokejaikk
- Size: 926 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Chat-GPT Code Runner
Chat-GPT Code Runner is a _Google Chrome_ extension that enables you to **Run Code** and **Save code** in more than **70 programming languages** using the **JDoodle Compiler _API_**. This powerful tool offers a variety of **themes** and the ability to _save_ your code locally. Enhance your coding experience with Chat-GPT Code Runner!
- **Support this Project**
## Features
- **Save Code Locally**: Save your code to your local machine for easy access and management.
- **Run Code in 70+ Languages**: Supports over 70 programming languages, offering versatility and flexibility for your coding needs.
- **JDoodle Compiler**: Utilizes the JDoodle Compiler API to compile and run code online.
- **Multiple Themes**: Choose from a variety of themes to customize your coding environment.
## Installation and Setup
1. Clone or download the repository to your local machine.
2. Follow the instructions on [this page](https://www.jdoodle.com/compiler-api/) to create a free JDoodle account and obtain your API Key and Secret. With a free account, you'll receive 200 credits per day.
3. Install the extension in your Google Chrome browser:
- Open the Extension Management page by navigating to `chrome://extensions`.
- Enable Developer Mode by clicking the toggle switch next to "Developer mode".
- Click the "Load unpacked" button and select the extension directory.
4. Configure the extension settings:
- Open the extension's settings by right-clicking the Chat-GPT Code Runner icon in your browser and selecting "Options".
- Enter your JDoodle API Key and Secret in the corresponding fields and save the settings.
Now you're ready to use Chat-GPT Code Runner!
## Usage
1.Ask **ChatGPT** to generate code for you.
2.Now you will see two buttons as **Run Code** and **Save Code** in the browser.
3.Now click on **Run Code** to run the code and you can see the output directly in the browser.
4.Now click on **Save Code** to save the code in your local machine.
## Usage Demo.
1. Demo of Python code generated by ChatGPT.

2. Demo of C++ code generated by ChatGPT.

3. Demo of Java code generated by ChatGPT.

4. Demo of C# code generated by ChatGPT.

# Video Demo.
This showcase video demo of **ChatGP**T _Code runner_ in action showing **Save** and **Run** code features.
[](https://www.youtube.com/shorts/W9OWmsmINSo)
## Settings and customization.

This extesion also provides you the ability to customize the theme of the buttons and output type.
1. **Theme**: You can choose from the _10 themes_ available.
2. **Output Type**: You can choose from the 2 output types available.
3. **Run Code**: You can choose from the 2 options available.
4. **Save Code**: You can choose set custom **file name** and **file extension** for the code to be saved.
Written by **_HeavenHM @ 2023_** .