Inspiration

Most elementary and middle school students in Indonesia still find studying boring. Thick textbooks, repetitive practice questions, and no instant feedback make it hard to stay motivated.

We started with a simple idea: what if studying felt like playing a game? And what if students could turn their own school PDFs into practice quizzes in seconds? That's why we built Kecil Pintar — an AI-powered quiz app designed to make learning fun, interactive, and personal.

What it does

Kecil Pintar is an Android learning app for SD (elementary) and SMP (middle school) students with these core features:

  • Subject & Grade-Based Quizzes: Curated practice questions fetched from our server, tailored by grade level and subject (Math, Science, Social Studies, Indonesian, English, and Civic Education).
  • AI PDF: Upload any study PDF, and the app extracts the text and turns it into quiz questions right away using AI.
  • Global Leaderboard: Compete with other students through a real-time star ranking system.
  • Daily Streak: Encourages students to build a consistent daily study habit.
  • Per-Account Progress: Each user has their own separate star count and quiz history.
  • AI Hints: A hint button that helps explain questions when students get stuck.

How we built it

We built Kecil Pintar using a modern Android stack:

  • Kotlin & Jetpack Compose for a clean, responsive UI.
  • Groq API as our primary AI to generate quiz questions from uploaded PDFs quickly.
  • Gemini API as our secondary AI and fallback for processing PDF content.
  • Custom REST API Backend connected via Retrofit, OkHttp, and Moshi for serving curated subject questions, user authentication, progress syncing, and the global leaderboard.
  • MVVM Architecture with ViewModel and StateFlow to keep the app state organized.
  • Material Design 3 for a kid-friendly, colorful interface.

Challenges we ran into

  • Handling inconsistent AI outputs: AI responses don't always follow the exact JSON format we expect, so we had to build a parser that can handle different formatting quirks.
  • Keeping API keys safe: We accidentally committed an API key into git history and got blocked by GitHub Push Protection. We fixed it by cleaning the history and moving keys into .gitignore and BuildConfig.
  • Offline experience: Initially, the app fell back to dummy questions when offline, which led to confusing placeholder text. We removed the dummy fallback completely and replaced it with a clear offline warning so users know when they need an internet connection.
  • Real-time leaderboard updates: Making sure stars update immediately after finishing a quiz required updating the local UI state right away while syncing with the server in the background.
  • Isolating user progress: We had to make sure that switching accounts on the same device doesn't mix up star counts or quiz history.

Accomplishments that we're proud of

  • Combining Groq and Gemini into one smooth AI pipeline for PDF-to-quiz generation.
  • Building an AI PDF feature that actually lets students study from their own school materials.
  • Making the leaderboard update in real-time right after a quiz ends.
  • Creating a bright, game-like UI that feels approachable for kids.
  • Running and testing the app smoothly on real Android devices.

What we learned

  • How to integrate multiple AI APIs with a reliable fallback strategy.
  • Why securing API keys from day one matters.
  • How much MVVM + StateFlow simplifies managing complex UI states.
  • That honest UX (like a clear offline warning) is always better than hiding errors behind dummy data.

What's next for Kecil Pintar

  • Publishing the app on Google Play Store so more students in Indonesia can use it.
  • Adding customizable avatars that students can unlock using their stars.
  • Building a Parent Dashboard and Classroom Mode for teachers.
  • Adding voice support (text-to-speech) for younger students who are still learning to read.
  • Expanding to more subjects and regional languages across Indonesia.

Built With

Share this project:

Updates

Submission history