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.
Prompt 1: "Run a Python code that prints the sum of two numbers."
Prompt 2: "Save this C++ code as a file named 'hello_world.cpp'."
Prompt 3: "Download the file 'output.txt'."
Prompt 4: "Can you help me with a Python code that calculates the factorial of a number?"
Prompt 5: "I want to run a code that multiplies two matrices."
Features and commands
|This 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.|
|This 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.|
|This command allows you to download a file. You need to specify the filename in the request.|
|This command provides help and guidance on how to use the plugin.|
|This command retrieves information about your credit limit for using the plugin.|
|This 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.|