Loading…

    Build a Duolingo Clone App
    With Streaks, XP and Leagues

    Describe your own language app and Fastshot builds the lesson path, the exercises, XP, daily streaks and weekly leagues. Real React Native code for iOS and Android, with a first version in about 5 to 7 minutes.

    Lesson path and exercisesXP, streaks and leaguesAI conversation practice
    TL;DR

    How do you build a Duolingo clone?

    Describe a course made of units and short lessons, then add XP, a daily streak and a weekly league. Fastshot (fastshot.ai) builds it as a React Native app for iOS and Android, with lessons, exercises and progress saved in Supabase. Use Preview on Device to play a lesson on your phone. Start with one course, as a language learning app, and widen it once learners come back every day.

    Last updated: November 30, 2026

    What Does Duolingo Actually Do?

    Duolingo teaches a language in short lessons. Each course is cut into units, and each unit is built around a communication goal with the vocabulary and grammar needed to reach it. A lesson mixes reading, writing, listening and speaking exercises, and practice lessons pull in the words a learner got wrong. Duolingo says it offers over 100 courses covering more than 40 languages, plus math and music.

    The hook is the game layer around the lessons. Every lesson earns XP. A streak counts the days in a row a learner studied, and a Streak Freeze bought with gems protects it when a day is missed. Each week learners compete on a leaderboard, and the top XP earners move up a league. The ten leagues run from Bronze to Diamond, and the board restarts every Sunday. Friends Quests and a Feed add a social side.

    A limit keeps learners from rushing. Duolingo has used hearts, where each mistake costs one, and has been switching to an Energy battery that lessons drain and correct answers refill. A learner who runs low can watch a rewarded ad or spend gems. A clone copies the loop, not the brand: a short lesson, instant feedback, points, and a reason to return tomorrow.

    Duolingo Features Mapped to Your App

    Each part of the learning loop becomes a screen in your app and a table in Supabase.

    Duolingo featureHow it ships in your appWhat it stores
    Course path of unitsA Home screen with a vertical path of lesson nodes grouped by unit; a node stays locked until the one before it is finishedunits: course_id, position, title, goal; lessons: unit_id, position, title
    Mixed exercisesA Lesson screen that steps through translate, multiple choice, match pairs and word bank exercises under a progress barexercises: lesson_id, type, prompt, answer, options (jsonb), audio_path
    Instant right or wrong feedbackA bottom sheet that turns green or red, shows the correct answer and offers a Continue buttonattempts: exercise_id, user_id, was_correct, answered_at
    XPPoints added when a lesson ends, with a bonus for a lesson without mistakesxp_events: user_id, amount, source, earned_on
    Daily streakA flame counter at the top of Home that glows when today is done, plus a Streak Freeze item in the shopprofiles: streak_count, last_study_date, freezes_owned, time_zone
    Weekly leaderboard and leaguesA Leaderboard tab that ranks a group of learners by XP this week and marks a promotion zoneleague_groups: week_start, league; league_members: group_id, user_id
    Gems and shopA gem balance in the header and a Shop that sells Streak Freezes and an energy refillgem_ledger: user_id, delta, reason, created_at
    Practice from your mistakesA Practice tab that builds a lesson from the exercises the learner got wrongA query over attempts where was_correct is false
    Energy meterA battery that drops with each lesson and refills through correct answers, a rewarded ad or gemsprofiles: energy, energy_updated_at
    Super subscriptionA paywall for unlimited energy and no adsAdapty entitlement, mirrored on profiles.is_subscriber

    Screens in Your Language App

    Fastshot lists these screens in a plan before it writes any code, and you approve the plan first.

    Pick a course and a daily goal

    The first screen after sign-in: choose the language, then a goal of 5, 10 or 15 minutes a day for the reminder.

    Course path

    Round lesson nodes in a winding line, a unit banner on top and a Start button on the next open node.

    Lesson player

    One exercise per screen with a progress bar, a Check button and a green or red answer sheet. Listening exercises play a clip first.

    Lesson complete

    XP earned, accuracy, the streak flame counting up and a button to continue to the next lesson.

    Leaderboard

    This week's group ranked by XP, a highlighted row for the learner and a countdown to Sunday.

    Conversation practice

    A chat where an AI partner answers in the target language at the learner's level and corrects one mistake per reply.

    Shop and profile

    Gems, Streak Freezes, an energy refill, the streak history and the learner's total XP.

    Paste This Prompt Into Fastshot

    It builds an original language app called LingoLoop with its own name and mascot. Swap the course and rename it before you publish.

    lingoloop-prompt.txt
    Build a language learning app called LingoLoop for iOS and Android. First course: Spanish for English speakers.
    
    Auth: email, Google and Apple sign-in with Supabase. On first launch ask for the course and a daily goal of 5, 10 or 15 minutes.
    
    Screens
    - Course Path: units with round lesson nodes; a node unlocks when the one before it is done.
    - Lesson Player: one exercise at a time with a progress bar. Exercise types: translate with a word bank, multiple choice, match pairs, and listen-and-type (audio clip, then the learner types what they heard). After Check, a bottom sheet turns green or red and shows the right answer.
    - Lesson Complete: XP earned, accuracy and the streak flame.
    - Practice: a lesson built from the exercises the learner got wrong.
    - Leaderboard: the learner's group of 30 ranked by XP this week, top 10 in a promotion zone, countdown to Sunday.
    - Conversation: AI chat partner that replies in Spanish at the learner's level and corrects one mistake per message.
    - Shop: gems buy a Streak Freeze or an energy refill. Profile: streak history and total XP.
    
    Tables: courses, units, lessons, exercises (type, prompt, answer, options, audio_path), attempts, xp_events, profiles (streak_count, last_study_date, time_zone, freezes_owned, energy, energy_updated_at), gem_ledger, league_groups, league_members.
    Rules: 10 XP per lesson, plus 5 for a lesson with no mistakes. A streak grows by one when the first lesson of a new local day is finished and resets after a missed day unless a Streak Freeze is owned. Energy drops by one per lesson, refills by two for five correct answers in a row, and fully recharges after 24 hours.
    Write unit 1 (greetings and introductions): 5 lessons with 10 exercises each, saved as rows. Send a push reminder at the learner's chosen time.
    Design: bright white background, green primary buttons, rounded cards, a friendly fox mascot named Loop.

    How to Build Your Language App

    1

    Paste the prompt and choose your course

    Swap Spanish for the language, the exam or the skill you want to teach. Fastshot asks which exercise types you want and how many lessons a unit should hold, then posts a screen plan to approve.

    2

    Connect Supabase and load the first unit

    Press the connect button in the chat and the tables from the prompt appear, with sign-in turned on. Ask the chat to write unit 1 as rows, then read the exercises and fix any that are wrong. The backend lesson shows the same step.

    3

    Play a lesson on your phone

    The QR code opens your project in Fastshot Learn on iPhone (App Store) or Fastshot Companion on Android (Google Play). Press Preview on Device and scan the QR code, which expires after 24 hours, with your phone camera. Finish one lesson and check three things: the sheet turns red on a wrong answer, the progress bar fills, and the streak flame ticks up on the summary screen.

    4

    Test the streak and the league with two accounts

    Sign up a second test learner in the live browser preview. Finish a lesson on each account and watch both names climb the leaderboard. Ask the chat to let you set the test date back a day to check a missed-day reset.

    5

    Add the daily reminder

    A streak only survives if learners come back, so ask for a push notification at the time they picked. Scheduled reminders can be tried on your phone through Preview on Device.

    6

    Publish to the App Store and Google Play

    Fastshot builds the Android and iOS files on its own machines, and you ship them with your Apple Developer account and Google Play account. The App Store lesson covers the review step.

    Teach Something Duolingo Does Not

    A general language app is a hard fight, and a narrow one is not. The community has already built a Mandarin app around HSK word lists and an app with French, Spanish and ASL courses. Pick a gap: a driving theory test, a citizenship exam, medical vocabulary for nurses, a heritage language that big courses skip, or a school curriculum your local students follow.

    Then change the loop to fit. Exam prep wants a countdown to test day and a mock exam mode. Kids want fewer words per lesson and a parent report. A workplace course wants a team leaderboard instead of a global one. All of it is a change request in chat on top of the same tables.

    Finally, make it your own. Give the mascot a new shape, choose a color that is not Duolingo green, write original lessons and rename the app. A distinct product ranks in the stores under its own name and avoids confusion with the original.

    Learning Apps People Built With Fastshot

    Published community apps for learning languages. Open one to see how the lessons are laid out.

    Lingo Learn

    A language app with units, a lesson path, daily streaks and experience points for French, Spanish and ASL. See Lingo Learn in the gallery.

    Hanzimate

    A Mandarin app with daily vocabulary, Pinyin, HSK word lists, example sentences and a history of what you studied. See Hanzimate in the gallery.

    Let's talk

    An AI chat for conversational practice with topic dialogues, translation, audio playback and a personal vocabulary notebook. See Let's talk in the gallery.

    Frequently Asked Questions

    Can I build a Duolingo clone without coding?

    Yes. You write what the course teaches, which exercise types to use and how streaks and XP behave, and Fastshot generates the screens and the database. The chat also writes the lesson content itself, so a first unit of ten lessons can exist before you open a code editor.

    Should I start from a GitHub Duolingo clone instead?

    The top GitHub results are learning projects: sanidhyy/duolingo-clone is a Next.js web app with its own database to host, and m0rp43us/flutter-duolingo is a Flutter interface with a mock backend. Neither is an iOS and Android app you can send to the stores. Fastshot starts from your idea and returns a phone app with the backend connected.

    How do streaks and XP work in a clone?

    Every finished lesson writes an XP row and compares today with the last_study_date on the profile. Same day changes nothing, the next day adds one to the streak, and a longer gap resets it to one unless the learner owns a Streak Freeze. Store the date in the learner's own time zone so the flame never resets at the wrong hour.

    Can the app include listening and speaking exercises?

    Listening works through audio clips stored in an image and file bucket and played with expo-audio, and the learner types or picks what they heard. For speaking, the app records the learner and plays the recording next to the native clip so they can compare.

    How do weekly leagues work in a Duolingo-style app?

    Each week gets a start date. The leaderboard sums XP rows for that week inside a group of about thirty learners and shows the top ranks in a promotion zone. When a new week begins, the app moves each learner up or down one league based on last week's rank, so no scheduled job is needed.

    How can a language learning app make money?

    Use a subscription for unlimited energy and an ad-free experience, set up through the Adapty paywall that Fastshot connects by default. Rewarded AdMob ads fit the energy meter, since a learner can watch one to keep practicing. Duolingo itself lets learners earn energy back with a rewarded ad or spend gems.

    Can I use the Duolingo owl or its course content?

    No. The mechanics of lessons, streaks and leagues are open to everyone, but Duolingo owns its name, its owl character, its artwork and its course material. Write original lessons, create your own mascot with Fastshot's asset generator and give the app a different name before you publish.

    Build Your Language App Today

    Paste the prompt, approve the plan and finish your first lesson on your own phone before lunch.

    No coding needediOS and Android

    About the Author

    Elvira Dzhuraeva is an expert in AI mobile app development and React Native. A former Senior Product Manager at Google specializing in AI/ML and Generative AI, she is the Founder of Fastshot (YC-backed) and a founding contributor to Kubeflow.

    AI Mobile App DevelopmentReact NativeAI Developer ToolsVibecodingAI/ML Ops