Skip to content

haseeb-heaven/code-runner-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cover_logo

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 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.
    python_code
  2. Demo of C++ code generated by ChatGPT.
    cpp_code
  3. Demo of Java code generated by ChatGPT.
    java_code
  4. Demo of C# code generated by ChatGPT.
    csharp_code

Video Demo.

This showcase video demo of ChatGPT Code runner in action showing Save and Run code features.
video_demo

Settings and customization.

settings_page
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 .