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.
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
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.
Each part of the learning loop becomes a screen in your app and a table in Supabase.
| Duolingo feature | How it ships in your app | What it stores |
|---|---|---|
| Course path of units | A Home screen with a vertical path of lesson nodes grouped by unit; a node stays locked until the one before it is finished | units: course_id, position, title, goal; lessons: unit_id, position, title |
| Mixed exercises | A Lesson screen that steps through translate, multiple choice, match pairs and word bank exercises under a progress bar | exercises: lesson_id, type, prompt, answer, options (jsonb), audio_path |
| Instant right or wrong feedback | A bottom sheet that turns green or red, shows the correct answer and offers a Continue button | attempts: exercise_id, user_id, was_correct, answered_at |
| XP | Points added when a lesson ends, with a bonus for a lesson without mistakes | xp_events: user_id, amount, source, earned_on |
| Daily streak | A flame counter at the top of Home that glows when today is done, plus a Streak Freeze item in the shop | profiles: streak_count, last_study_date, freezes_owned, time_zone |
| Weekly leaderboard and leagues | A Leaderboard tab that ranks a group of learners by XP this week and marks a promotion zone | league_groups: week_start, league; league_members: group_id, user_id |
| Gems and shop | A gem balance in the header and a Shop that sells Streak Freezes and an energy refill | gem_ledger: user_id, delta, reason, created_at |
| Practice from your mistakes | A Practice tab that builds a lesson from the exercises the learner got wrong | A query over attempts where was_correct is false |
| Energy meter | A battery that drops with each lesson and refills through correct answers, a rewarded ad or gems | profiles: energy, energy_updated_at |
| Super subscription | A paywall for unlimited energy and no ads | Adapty entitlement, mirrored on profiles.is_subscriber |
Fastshot lists these screens in a plan before it writes any code, and you approve the plan first.
The first screen after sign-in: choose the language, then a goal of 5, 10 or 15 minutes a day for the reminder.
Round lesson nodes in a winding line, a unit banner on top and a Start button on the next open node.
One exercise per screen with a progress bar, a Check button and a green or red answer sheet. Listening exercises play a clip first.
XP earned, accuracy, the streak flame counting up and a button to continue to the next lesson.
This week's group ranked by XP, a highlighted row for the learner and a countdown to Sunday.
A chat where an AI partner answers in the target language at the learner's level and corrects one mistake per reply.
Gems, Streak Freezes, an energy refill, the streak history and the learner's total XP.
It builds an original language app called LingoLoop with its own name and mascot. Swap the course and rename it before you publish.
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.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.
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.
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.
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.
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.
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.
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.
Published community apps for learning languages. Open one to see how the lessons are laid out.
A language app with units, a lesson path, daily streaks and experience points for French, Spanish and ASL. See Lingo Learn in the gallery.
A Mandarin app with daily vocabulary, Pinyin, HSK word lists, example sentences and a history of what you studied. See Hanzimate in the gallery.
An AI chat for conversational practice with topic dialogues, translation, audio playback and a personal vocabulary notebook. See Let's talk in the gallery.
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.
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.
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.
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.
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.
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.
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.
See how a prompt becomes a React Native and Expo project you can export and keep.
Flashcards, vocabulary lists and lesson plans for a course that is not Duolingo-shaped.
The spaced review loop behind practice-your-mistakes lessons.
Multiple choice and match-the-pairs questions, scoring and results screens.
Use Cases
Use Cases
Native Development
Paste the prompt, approve the plan and finish your first lesson on your own phone before lunch.