/IXLAutoAnswer_OpenAI_API_Requid

Sends HTML and canvas data to GPT-4o for math problem solving with enhanced accuracy, GUI, and auto-answering functionality

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

IXL Auto Answer (OpenAI API Required)

If you want to check if your API key works, you can use my website: keytest.obanarchy.org.

I wonโ€™t store or save your API key.

This repository is only used for reporting issues, submitting pull requests, requesting features, and communicating with the author.
The repository reflects the latest progress of the script and may not be stable.
Ordinary users should install the script from Greasy Fork.


Installation Guide

This is a Tampermonkey script designed to automate answering math questions on the IXL platform.
It requires a userscript manager like Tampermonkey (available for most browsers) or similar alternatives to run effectively.

For a streamlined installation, install the script directly from:
โžก๏ธ Greasy Fork

๐Ÿ›  Installation Steps:

  1. One-Click Installation (if Tampermonkey is installed):

  2. Install Tampermonkey (if not installed):

  3. Install the Script:

  4. Setup OpenAI API Key:

    • The script will prompt you to enter your OpenAI API key upon first use.
    • This key is required to enable the answering functionality, as it connects to OpenAIโ€™s API for generating solutions.

If you want to check if your API key works, you can use my website:
keytest.obanarchy.org.
I wonโ€™t store or save your API key.


Primary Purpose

This script automates the process of answering math questions on IXL by using the OpenAI API.
It captures relevant HTML content, sends it to OpenAI, and generates JavaScript code to populate the correct answers on the page.


Key Features

โœ… Automated Answer Generation

  • Detects new questions on the IXL page and uses the OpenAI API to generate JavaScript code that accurately fills in the correct answers.

โœ… AI-Powered Math Solutions

  • Sends problem data to OpenAIโ€™s GPT-4o model for processing, enabling the script to solve various math problems.
  • Requires an OpenAI API key, which users must input when prompted.

โœ… User-Friendly Control Panel

  • Allows users to toggle modes like Auto Answer and Auto Submit.
  • Supports multiple AI models: GPT-4o, GPT-4o-mini, o1, and o3-mini.
  • Provides language options (English & Chinese).
  • Fully draggable, semi-transparent, and can be minimized or closed.

โœ… Advanced Canvas Image Processing

  • Captures canvas-based visual questions (e.g., graphs and shapes).
  • Sends captured images to OpenAI for accurate answers.

โœ… Stable Code Generation

  • Uses stable selectors (id, name, data-*) for high precision in JavaScript code.
  • Implements regex filtering to ensure only essential code is extracted, reducing errors.

โœ… Comprehensive Logging and Error Handling

  • Logs all actions, errors, and statuses for transparency.
  • If an answer canโ€™t be auto-filled, the script logs an error message for review.

Usage Instructions

๐Ÿ”น 1. OpenAI API Key

  • Enter your OpenAI API key the first time you run the script.
  • The key is securely saved for future use.
  • You can update the key at any time via the control panel.

๐Ÿ”น 2. Activating the Script

  • Auto Answer: Detects and answers new questions automatically.
  • Auto Submit: Submits answers immediately after filling them in.

๐Ÿ”น 3. Selecting a Model

  • Choose between GPT-4o, GPT-4o-mini, o1, and o3-mini.
  • Different models vary in cost, speed, and accuracy.

๐Ÿ”น 4. Switching Languages

  • Toggle between English and Chinese in the settings.

๐Ÿ”น 5. Adjustable GUI

  • The control panel is movable and customizable.
  • Can be minimized or closed for better screen space.

Benefits

โœ… Efficient Math Problem-Solving โ€“ Automates answer input, saving time on IXL.
โœ… Flexible and Customizable โ€“ Offers options for model selection, language, and GUI preferences.
โœ… Accurate Answer Generation โ€“ Uses OpenAIโ€™s advanced models to solve complex questions, including those with visual elements.
โœ… Low Interaction Needed โ€“ Once active, the script detects and answers questions with minimal user intervention.


Requirements

  • OpenAI API Key โ€“ Users must have an OpenAI account and API key for the script to function.
  • Tampermonkey โ€“ A userscript manager such as Tampermonkey is required to run the script.

This script is ideal for students, educators, and anyone seeking an automated solution for solving math problems on IXL efficiently. ๐Ÿš€