It's 2am. Your Machine Learning midterm is at 9. The past papers live somewhere between a 500-page PDF, three WhatsApp groups, and a photo of a photo of an answer key that might be wrong.
That was my class a couple of weeks ago. So instead of revising, I did what any reasonable student would do: I spent the night building BASMAGLY, a free question-bank platform where my classmates could actually drill the material on their phones. People were taking quizzes on it the same day it went live.
What it is
BASMAGLY (from the Egyptian Arabic slang "بصمجلي", roughly "just memorize it for me") is a free study and quiz platform for university courses. It runs entirely in the browser, phone included: pick a subject, pick your doctor (professor), then Study or Test. No email signup, no app install, no paywall — a username and you're in.
Right now it holds 1,876 questions across five subjects: Machine Learning, Digital Logic, Data Mining, Computer Networks, and Numerical Computation. Every bank is built from the real sources students actually get examined on — past exams, official sheets, doctor quizzes — and each question card shows exactly which source it came from.
Study first, then prove it
Two modes, one loop:
Study mode shows every question with its answer already marked and a worked solution you can expand. You can filter by source, sheet, or lecture, so "only Sheet 3 subnetting questions" is a two-tap job.
Test mode draws questions at random (no repeats within an attempt), shuffles the options, and lets you set an optional timer. Answers are graded on the server, and your result comes back instantly with your rank.
Each subject has its own leaderboard, ordered by how many questions you've answered correctly, not by one lucky run. It turned revision into a small competition, which is exactly the kind of peer pressure I can get behind.
The part I didn't expect: answer keys are the hard problem
The interesting engineering wasn't the quiz UI. It was trust.
Students will forgive a plain design. They will not forgive a wrong answer key the night before an exam. Early on, classmates caught keys that didn't match their doctor's official solutions, so I've been auditing the banks myself, more than 1,500 questions so far: keys, wording, duplicated options, even the arithmetic inside explanations. Where a past exam's official key looks wrong, the explanation says so.
There's also a small Report button on every question card. Reports land in an inbox I monitor, and I reply in the student's thread.
How it's built
Nothing exotic, which is the point — free tiers only, and it has to survive exam week:
- Frontend: a React single-page app (TanStack Start), hosted on Lovable's free tier, in English and Arabic with a full RTL layout. Questions themselves stay in English; explanations can be in Egyptian Arabic where students asked for it.
- Backend: Supabase Postgres plus edge functions. Grading happens server-side, so answer keys never ship to the client, and results are server-timed for the leaderboards.
- Reliability: weekly automated full-database backups, and an offline-safe test submit — if the connection drops mid-exam, the attempt still finishes locally and syncs later.
My favorite failure story: in the first week the original database's free daily read quota ran out while students were mid-exam. The leaderboard and support inbox just stopped. I migrated grading and results to Supabase that same night, row counts matched, and the quota problem hasn't come back.
One feature students actually asked for
The newest addition is Connect to AI. From any study session, test, or even an unfinished attempt, it packages the questions, your answers so far, and text descriptions of any diagrams into a private, expiring plain-text link, with tutor instructions attached. Open it in ChatGPT, Claude, Gemini, whatever you already use, and the AI has the full context of what you're stuck on. No partnership, no API keys, just a link you own.
What I learned
- Ship the same day. The first version was live within hours and rough around the edges. Usage data from real students beat another week of polishing.
- Design for the phone at 2am. Bottom tab bar, big tap targets, dark mode, instant answer checking. Most sessions are exactly that scenario.
- Content quality is the moat. Anybody can clone a quiz UI. Carefully checked answer keys, source labels, and worked explanations are why people come back.
If you're a student with scattered past papers and a group chat full of "does anyone have the answer key?", maybe this helps: basmagly.lovable.app. And if you're building something similar for your own courses, I'm happy to answer questions in the comments.



Top comments (0)