You are browsing as a guest. Sign up (or log in) to start making projects!

Xraps Math prototype

  • 4 Devlogs
  • 4 Total hours

Xraps Maths is an experimental maths assistant inspired by the old-school Roblox exploit scene. It explores whether a browser-based AI can be turned into a specialised maths-solving tool without relying on a traditional AI API. The prototype takes a maths question, converts it into readable text, sends it through an AI-powered solving workflow, and displays the resulting answer through a simple interface. The long-term idea is to turn Xraps Maths into a browser extension with a small floating GUI that can recognise maths questions and show the user the answer. Down with teachers!!!!

Open comments for this post

1h 22m 40s logged

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)

0
0
41
Open comments for this post

34m 21s logged

So I’ve been building this browser extension called Xraps Maths it’s basically a sidekick that helps me solve maths homework without having to copy‑paste or switch tabs like a maniac.I started with some existing code from another project (ZeroScript) but stripped out all the Roblox/MCP stuff because that’s not what I needed. I kept the smart bits the provider system that can talk to different AI websites and reshaped it into a maths‑solving assistant.What’s already working:I can load the extension into Chrome, and it pops up a little panel on Gemini and DeepSeek.I click “Start”, it injects a system prompt that tells the AI to speak in a special format (with ###XRAPS_ANSWER### blocks).I tested it with something like 3x + 7 = 22 and Gemini actually gave back the answer in the right format so the communication works.There was a bug where the panel got stuck on “Reading answer” even though the AI had already replied but I’ve been tweaking the DeepSeek adapter to fix that (I updated deepseek.js myself).Now I’m pushing it further:I want the extension to also work on Sparx Maths that’s the site where I actually see the question. Instead of making myself copy the question and paste it into Gemini, I want a single button that:Takes a screenshot of the visible question on Sparx.Automatically sends that screenshot to whichever AI I have open (Gemini or DeepSeek).The AI solves it and sends the answer back.The Xraps panel shows the answer + working, right there on Sparx.So I’m basically building a bridge: Sparx → screenshot → AI → answer back to Sparx, all without leaving the page.The new stuff I just added:A background script that does the screenshot magic and talks across tabs.A Sparx‑specific provider that adds the “📸 Solve this question” button to the panel.Cross‑tab messaging so Sparx can ask Gemini/DeepSeek to solve a question and wait for the answer.What’s still a bit sketchy:DeepSeek doesn’t support images, so screenshots sent to DeepSeek will fall back to just the question text (which might still work for text‑based questions).The Sparx DOM is unpredictable the selectors I used might need tweaking if Sparx changes their layout.The answer parsing bug I saw earlier might still bite me (but I’m already on it).Overall vibe:I’ve got a solid foundation the AI providers work, the panel shows up, and the screenshot pipeline is set up. Now it’s about testing it on real Sparx pages, ironing out the rough edges, and making sure the answer shows up cleanly.I’m basically building a maths‑solving cyborg that lives in my browser pretty cool, honestly. 😄

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…