Hey there, fellow coder! 👋 Welcome to Code Judge, your very own pocket-sized Online Judge! Think of it like a mini Codeforces, but super easy to play with and learn from. 🎈
Built with love using Flask 🌶 and Next.js ⚛️, this little judge lets you submit Python code, runs it against secret test cases, and gives you that sweet, sweet verdict! 🟢
| General UI | Code Editor & Problem | Submission Result |
|---|---|---|
![]() |
![]() |
![]() |
- 🐍 Python Power: Submit your Python solutions and see them fly!
- 📥 Custom Stdin: Test your code with any input you like.
- 🎯 Smart Evaluation: We compare your output against the truth with precision.
- 🚦 Verdict System:
- 🟢 AC (Accepted) — You nailed it! Boom! 💥
- 🔴 WA (Wrong Answer) — Almost there! Keep trying! 💪
⚠️ RE (Runtime Error) — Oops! Something went "pop"! 🎈- ⏱ TLE (Time Limit Exceeded) — Your code took a scenic route! 🏎
- ⚡️ Light & Dark Mode: Code in style, day or night! 🌓
- 📏 Draggable UI: Resize the viewer and editor exactly how you like it.
- 💿 Response Storage: Uses Localstorage of a browser to store (takes less than 10MB for submissions, for roughly 6200 submissions)
Ever wondered how a judge works? It's like a tiny robot 🤖 doing this:
- Grabs your code from the API.
- Writes it into a safe little temporary file.
- Runs it in a special subprocess with your input.
- Catches the output (and any errors!).
- Compares it to the correct answer.
- Delivers your shiny verdict! 🏆
- Backend: Python 🐍 + FastAPI 🌶
- Frontend: Next.js ⚛️ + TypeScript 📘 + Tailwind CSS 🎨
- Editor: Monaco Editor (The same one in VS Code! 💻)
Ready to dive in? Here’s how to get the party started on your local machine! 🎈
- If you want to test the code submissions aggressively, multiple submissions and high number of IDE execution, then I'll suggest you to fire up the backend on your machine. Current deployment can't handle that large number of submissions.
cd judge-backend
python app.pyYour judge is now waiting for submissions at http://127.0.0.1:5000!
cd judge-frontend
npm install # (First time only!)
npm run devOpen http://localhost:3000 and start coding! 🎊
We're constantly growing! Here's what's cooking:
- 🟢 Phase 0 & 1: Core foundations & Verdicts (Done! 🎉)
- 🟡 Phase 2: Handling multiple test cases (Working on it! 🛠)
- 🔵 Phase 3: Better problem definitions (Planned! 📐)
- 🔐 Phase 4: Super secure sandboxing with Docker (Soon! 🐳)
- 🌐 Phase 5: Submissions history & User accounts (The dream! ✨)
Got questions? Suggestions? Just want to say hi? We're happy to have you here! Happy coding! 🌈✨
Made with ❤️ for the coding community.


