I took the ZeroScript architecture, stripped out all the Roblox and MCP stuff, and rebuilt it as Xraps Maths – a browser extension specifically designed to tackle Sparx Maths homework.I made it work with both Gemini and DeepSeek by creating separate provider adapters for each, so I can choose whichever AI I prefer.I built a background service worker that handles screenshots and cross‑tab communication, so Sparx can send a question to the AI tab and get the answer back.I added a “Solve this question” button on Sparx that captures the visible question and automatically sends it to the connected AI.I wrestled with connection issues and retries, so I added robust retry logic and a short delay to give the AI page time to load before pasting the screenshot.I set up a broadcast system that syncs the answer across all open Sparx tabs, so every panel updates instantly when the AI responds.Finally, I optimised the speed, reduced the paste delay, and fixed the UI so the answer appears on Sparx immediately – no more switching back and forth to see if it worked.
(credits to my friend’s account)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.