Logo and icon for Code Runner, a ChatGPT plugin with description: Compile and save your code while creating visualizations (charts and graphs) supports upto 70 programming languages.. Find out more on Plugin Surf, the best plugin database.

Code Runner

Compile and save your code while creating visualizations (charts and graphs) supports upto 70 programming languages.

Do you need quick access to compile and save your code while creating visualizations, without leaving the chat? Look no further than Code Runner! Supporting up to 70 programming languages, this plugin saves you the hassle of switching windows. Always ensure you use lowercase language codes when inputting your code. Utilize the 'save_code' endpoint for your code and 'upload' endpoint for saving documents and files. When you need to access them later, use the 'download' endpoint. Code Runner makes coding in chat a breeze!

Learn how to use Code Runner effectively! Here are a few example prompts, tips, and the documentation of available commands.

Example prompts

  1. Prompt 1: "Run a Python code that prints the sum of two numbers."

  2. Prompt 2: "Save this C++ code as a file named 'hello_world.cpp'."

  3. Prompt 3: "Download the file 'output.txt'."

  4. Prompt 4: "Can you help me with a Python code that calculates the factorial of a number?"

  5. Prompt 5: "I want to run a code that multiplies two matrices."

Features and commands

Feature/CommandDescription
runCodeThis command allows you to execute code in different programming languages. You need to provide the code and the language (e.g., Python, C++) as inputs. You can also specify the input, if required, and whether to compile the code only.
saveCodeThis command saves your code as a file. You need to provide the filename and the code itself as inputs. After saving, you will receive a download link for the file.
downloadFileThis command allows you to download a file. You need to specify the filename in the request.
helpThis command provides help and guidance on how to use the plugin.
creditLimitThis command retrieves information about your credit limit for using the plugin.
uploadFileThis command allows you to upload a file with a specified filename and data. After uploading, the file is saved in the database and you will receive a download link for it.

Configuration

User authenticationOAuth2
API documentation

For AI

Namecode_runner
DescriptionAlways use language codes in lowercase letters, such as 'python'.For saving code use 'save_code' endpoint and to save documents and files always use 'upload' endpoint and for download use 'download' endpoint.

Updates

First added20 June 2023

Admin

Code Runner Compile and save your code while creating visualizations (charts and graphs) supports upto 70 programming languages. | plugin surf

Similar plugins