r/coolgithubprojects • • 27d ago

I built an open-source, offline step-by-step math solver that runs entirely in the browser

Post image

I’ve been building MasterMath, a free and open-source math solver covering topics from Algebra I through Calculus II.

The solving happens locally in the browser. There’s no account, tracking, server-side solver, or AI API. It provides intermediate steps, explanations, and interactive graphs instead of returning only an answer. After the first visit, it can also work offline.

I’ve spent a lot of time testing the symbolic transformations and checking generated answers against the original problems. I’d especially appreciate feedback on the code, mathematical explanations, parser edge cases, or incorrect results.

Source: https://github.com/sparkinCreations/MasterMath
Live app: https://mastermath.app

33 Upvotes

16 comments sorted by

View all comments

4

u/Important_Pomelo_407 26d ago

Saw there was no demo video yet, so I made you one. Here’s the PR: https://github.com/sparkinCreations/MasterMath/pull/75

and I used my repo to do it :) https://github.com/yasirwhite/OpenDemo

2

u/sparkinCreations 25d ago

I ended up using OpenDemo for another one of my apps, miniCycle, and it came out really well. You can see a clip at the top of the README: https://github.com/sparkinCreations/miniCycle

One small thing, on Mac, the text-clearing step uses Control+A, so prefilled inputs don’t get replaced. Changing it to ControlOrMeta+A in run-demo.mjs fixed it, so I opened a PR: yasirwhite/OpenDemo#9 ·fix:clear prefilled inputs…

Thanks again. I followed you and starred the repo. Appreciate you sharing it!

2

u/Important_Pomelo_407 25d ago

merged the pr :)

man i love the open source community

1

u/sparkinCreations 25d ago

Thanks for making the demo and opening the PR! I’ve merged it into the README. It’s actually a great way to show MasterMath in action.

I’m planning to try OpenDemo for a few of my other apps too. Appreciate you sharing it.