Skip to content

Latest commit

 

History

History

MathCoding_Club_App_Generator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Math-Coding Club App Generator

The Math-Coding Club App Generator revolutionizes content creation for coding apps with specialized needs. This novel app allows you to set variables in prompts, and leverages artificial intelligence to produce high-quality and customized descriptions for your coding application. Crafted for high school students engaged in maths-intensive coding clubs, the content focuses on key benefits, user reviews, download information and unique attributes of the app, making your app more appealing to the target audience. By the end, the content generated emphasizes the app's significant role in enhancing mathematical and coding skills in an effective way.

To run this app online: Math-Coding Club App Generator Online

Run Math-Coding Club App Generator Online

To learn more about AI Apps for Coding Club Member use-cases in the High School Students - Mathematics industry, read How to Elevate Coding Projects with AI-Assisted Math Apps

What is HeroML?

HeroML is an AI Prompt Chain/Workflow interpreter for Apps built on https://hero.page

To see other apps, visit the Hero Apps page or explore AI Apps for all industries in the blog section

For more documentation, visit Hero docs, and learn about AI App Workflows

Download VSCode Syntax Highlighter Ext. here

Run with HeroCLI (Requires OpenAI Token)

Installation

To install the HeroML CLI tool, you need to have Node.js and npm (comes with Node.js) installed on your machine. If you don't have these, please install them first.

Then, run the following command in your terminal:

npm install -g heroml

This will install the HeroML CLI tool globally on your system, allowing you to use the hero command from any directory.

If you don't want to install it globally, you can run:

npm install heroml

and use it like:

npx hero run ./math_coding_club_app_generator.heroml

We'll be using hero run ... in this tutorial for simplicity.

Configuration

Before using the HeroML CLI tool, you need to configure your OpenAI API key.

Create a heroconfig.json file in your home directory with the following content:

{
  "openaiApiKey": "your-openai-api-key"
}

Replace "your-openai-api-key" with your actual OpenAI API key.

Usage

To run a HeroML script, use the run command followed by the path to your script:

hero run ./math_coding_club_app_generator.heroml

You can provide initial variable values as command-line options. For example, if your script expects a variable named number_of_colors, you can provide its value as follows:

hero run --number_of_colors 4 ./math_coding_club_app_generator.heroml

If you do not provide a value for a variable, the HeroML CLI tool will prompt you to enter it interactively.

Output Options

You can specify the output directory and the filename of the output file using command-line options:

  • The -o or --output-dir option allows you to specify the output directory. By default, it is ./outputs/.
hero run --output-dir /custom/output/directory ./math_coding_club_app_generator.heroml
  • The -f or --filename option allows you to specify the filename of the output file. By default, it is response_TIMESTAMP.json.
hero run --filename custom_filename.json ./math_coding_club_app_generator.heroml

The CLI tool writes the output to a JSON file in the specified directory. It will print the path of the output file to the console:

Success! Output written to /custom/output/directory/custom_filename.json