Spach is a browser extension designed to help solve online quizzes. It currently supports Moodle and Google Forms, where it reads questions directly from the page and uses AI to choose and fill the most likely correct answers.
The goal of Spach is to make quiz assistance fast and practical inside the browser, without requiring users to copy and paste questions manually.
When you open a supported quiz page, the extension detects visible questions, sends the relevant context to an AI model, and then fills in the predicted answers automatically.
Spach now uses a single shortcut across supported pages:
Alt + g
What happens when you press Alt + g:
- On Moodle: it extracts the current question, detects its type (
choiceorshort-answer), asks AI for the answer, and fills the result. - On Google Forms: it extracts visible questions in the current chunk, asks AI for structured answers, and fills them.
To get started, clone this repository and open config.js. Add your API keys in the apiKeys list:
const apiKeys = [
"YOUR_PRIMARY_API_KEY",
"YOUR_FALLBACK_API_KEY_1",
"YOUR_FALLBACK_API_KEY_2"
].filter((k) => typeof k === "string" && k.trim().length > 0);You can add as many keys as needed in that list and adjust model names in the same file. After configuration, open your browser's extension page (for example, chrome://extensions), enable Developer mode, and choose Load unpacked to load this project folder. Once loaded, open a supported Moodle or Google Forms quiz page and use the extension.
We plan to add local model support in a future release so users can run Spach with more flexibility and reduced dependency on cloud APIs.