haseeb-heaven / coderunner-chatgpt

Run and save the code in Chat-GPT directly in your browser, Supports upto 70+ languages.
http://code-runner.heavenplugins.com
Other
40 stars 18 forks source link
api-rest chatgppt chatgpt-api code-runner fastapi gpt-4 gpt-code python rest-api

Code Runner Plugin

cover_logo
Plugin Plugin - Manifest Plugin

Introduction

Check out my first awesome plugin for ChatGPT that lets you Run code in 70+ languages! πŸ™ŒπŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»
This code will run this Plugin on your local machine with localhost:8000 as the URL.
If you want to use Hosted one then check The Website is hosted on Vercel
Checkout new designed website for Code Runner

Information

πŸ’» Run And Save Code in over 70 programming languages with ease! Chat-GPT Code Runner offers a versatile and flexible coding experience for developers of all levels.
πŸ’Ύ Download Chat-GPT Code Runner today and start coding like a pro!
Ready to supercharge your coding experience? Check out Code Runner Plugin, the ultimate Chat-GPT plugin for running and saving code in over 70 programming languages!

This uses JDoodle compiler API to execute your code and provide you with the output. Checkout JDoole API here. The API Keys are embeded in the code and you get 200 free API calls per day. Make sure to call Get Credits Spend API to check your remaining credits.

Version and Update.

The current version is Code Runner 1.3 and important notice.

UPDATE:

New Free Plans and Premium Plan are available for Code Runner. This plan includes the following features:
plugin_pricing

To unlock these features, checkout the below links:

Pricing Plans
Support

Features:

For questions:

Thank you for your support!

UPDATE:

Installation.

To install the required packages for this plugin, run the following command:

pip install -r requirements.txt

To run the plugin, enter the following command:

python main.py or  uvicorn main:app --reload
  1. Navigate to https://chat.openai.com.
  2. In the Model drop down, select "Plugins" (note, if you don't see it there, you don't have access yet).
  3. Select "Plugin store"
  4. Search for "Code Runner"
  5. Authenticate the Plugin with your account with authenticaion code recieved in email by PluginLab Support.
  6. Install and Run the plugin and ask ChatGPT to generate some code you and run them.
    search_plugin

General Information

Usage

To use Code Runner Plugin, follow these steps:

Running your code.

Saving your code.

Downloading your code.

Features

Some of the features of Code Runner Plugin are:

Localhost & Server Files.

The localhost and server files are located in the following directories:

For demo purpose i also created this in Quart framework. The files are located in the following directories:

Showcase - Demo of Plugin.

code_plugin_demo

Join Community.

Join the community of Code-Runner on Discord here.

Help

To get help with Code Runner Plugin, use the following prompt in the chat box and press enter:
help

License and Author

Code Runner Plugin is licensed under the Proprietary License.
make sure you read and understands everything written in license and agree to them before using the plugin.

Privacy Policy.

The privacy policy for Plugin and Website could be found here Privacy Policy make sure you read them carefully before executing them.

Code Runner Plugin is developed by Haseeb Heaven, a software engineer and AI enthusiast.
If you have any feedback or suggestions for Code Runner Plugin, feel free to contact me at Email or open an issue on GitHub.