Open Sourcing My Personal Solo Leveling Inspired App: Level Up
by shounakdas in Design > Software
827 Views, 8 Favorites, 0 Comments
Open Sourcing My Personal Solo Leveling Inspired App: Level Up
"I was drowning in life with no direction. Then I watched Solo Leveling, and something clicked."
As an engineering student, the weight of my coursework and lack of internship opportunities was suffocating. Every assignment/week/interview felt like an unbeatable boss fight, leading to endless procrastination and anxiety. Then I watched Solo Leveling: an anime where the protagonist gains a "System" that turns his life into a video game with daily quests, stats, and level-ups.
"What if I built that System for myself?"
I built LevelUp: AI Awakening to fight my real-world monsters: exams, lack of discipline, and the fear of failure. By turning intimidating tasks into XP-yielding "quests" with real penalties for procrastination, I gamified my way out of my rut. Now, I'm open-sourcing it so you can level up, too.
Live App: levelup.bigdas.com
GitHub: https://github.com/oniondas/Levelup-app
(Note: This app is completely free, ad-free, and open-source. I do not make any money if you use it)
Supplies
Because LevelUp is a digital tool, you don't need any physical materials like soldering irons or 3D printers. You just need a few free digital supplies to get started.
- A Smartphone or Computer with a modern web browser (Google Chrome or Safari recommended).
- A Google Gemini API Key (Free): grabbing a free key from Google AI Studio unlocks the AI Mentor and automatic quest generation.
For Developers (Self-Hosting/Modifying):
- Node.js & npm: Installed on your machine (Download here).
- Code Editor: Visual Studio Code is highly recommended.
- GitHub Account: To clone or fork the repository.
What You'll Build / Use
LevelUp is a Progressive Web App (PWA) that uses Google's Gemini AI to turn real-life challenges into an RPG. It generates personalized daily quests, tracks your progress across multiple skill trees, and rewards you with XP, credits, and loot.
Features at a Glance
- AI-Powered Quest Generation: Gemini AI creates daily quests tailored to your goals and weak areas
- 4-Realm Stat System: Track progress across Mind, Body, Creation, and Spirit
- Skill Trees: Add skills with custom XP scaling, track knowledge topics
- Major Goals (Boss Fights): Set deadlines with real XP/credit penalties for failure
- Streak System: Daily streak bonuses that compound your XP rewards
- Daily Lootbox: Randomized daily rewards with streak-scaled bonuses
- In-App Store: Buy XP buffs and real-world rewards with earned credits
- Credit Staking: Stake credits for passive buff generation
- Badges & Achievements: Unlock milestones as you progress
- Story Log & Journal: AI-generated narrative of your journey + reflection journals
- Built-in Timer: Pomodoro-style timed quests
- Analytics Dashboard: Visualize your XP, activity heatmaps, and weekly progress
- Offline-First: All data saved locally — no account needed, fully private
Instant Use: No Installation Required!
The fastest way to start using LevelUp is to use it directly in your browser and install it to your home screen like a native app.
For Android (Google Chrome):
- Open the app in Google Chrome: go to levelup.bigdas.com
- Tap the three dots (⋮) menu in the top-right corner of Chrome
- Tap "Add to Home Screen" or "Install app"
- Give it a name (or keep "LevelUp") and tap Add
- The app now appears on your home screen and launches in full screen — just like a real app!
For iPhone (Safari):
- Open the app in Safari (not Chrome!): go to levelup.bigdas.com
- Tap the Share button (the square with an upward arrow) at the bottom
- Scroll down and tap "Add to Home Screen"
- Tap Add
- Done! It now opens as a full-screen standalone app
For Desktop:
- Open levelup.bigdas.com in Chrome or Edge
- Click the install icon in the address bar (or go to Menu → "Install LevelUp")
- The app now runs in its own window
Tip: All your data is saved locally on your device — nothing is sent to any server. Your progress is 100% private.
When you first launch the app:
- Enter your API Key:
- Get a free Gemini API key at aistudio.google.com
- The app will prompt you for it on first launch
- Your API key is stored locally on your device only *it is never collected or sent anywhere
- You can skip this step, but AI quest generation and AI chat won't work without it
- Enter your Player Name: Choose how you want to be identified in the System
- Set up your State (Settings → My State):
- Define your Core Mission
- Set Long-term Goals, Short-term Goals, and Emergency Goals
- This context is fed to the AI so it generates relevant quests for YOU
Understanding the Four Realms
Your character's growth is tracked across four primary realms, inspired by a holistic approach to self-improvement:
- Mind: Studying and gaining knowledge
- Body: Fitness and physical health
- Creation: Building and executing projects
- Spirit: Mental well-being and reflection
All of these areas feed into your total overall progress. When you hit the Sync AI button, the system evaluates your levels across all four realms and adapts. It specifically generates quests to balance your growth, ensuring you do not just grind one area and neglect the others.
Major Goals are your biggest fears turned into conquerable challenges. These are the exams, the projects, the deadlines that keep you up at night.
Three Types:
- Siege (Exams / Tests): For example, "Microprocessor Final Exam"
- Forge (Projects / Builds): For example, "Complete IoT Weather Station"
- Gauntlet (Hackathons / Competitions): For example, "48-hour AI Hackathon"
The Skill Tree System
The Skill Tree is where LevelUp shines as a learning tool.
How it works:
- Add a Skill (e.g., "Machine Learning", "Mobility", "Circuit Design")
- Each skill belongs to a Realm and has an XP Scale (1.0x to 2.5x)
- Add Knowledge Topics to each skill (e.g., "Convolutional Neural Networks")
- Each topic has a difficulty rating that determines its XP value
- As you learn topics, your skill levels up automatically
Topic XP Values:
- Easy: 25 XP
- Medium: 50 XP
- Hard: 100 XP
- SuperHard: 200 XP
AI-Powered Topic Generation:
- Click "AI Generate" on any skill to have Gemini suggest topics to learn
- The AI can also break down a Major Goal's syllabus into individual topics automatically
The Math Behind the System
Here's where it gets interesting. Every mechanic in LevelUp is driven by real mathematical formulas. Here's the full breakdown:
1. Overall Leveling Algorithm
The XP required to level up increases exponentially using a 1.5x multiplier:
Base value: Level 1 requires 130 XP.
- Level 1: 130 XP to Next Level (0 Cumulative XP)
- Level 2: 195 XP to Next Level (130 Cumulative XP)
- Level 3: 292 XP to Next Level (325 Cumulative XP)
- Level 4: 438 XP to Next Level (617 Cumulative XP)
- Level 5: 657 XP to Next Level (1,055 Cumulative XP)
- Level 10: 4,996 XP to Next Level (9,590 Cumulative XP)
- Level 15: 38,015 XP to Next Level (73,607 Cumulative XP)
- Level 20: 289,277 XP to Next Level (560,050 Cumulative XP)
The exponential curve means early levels are achievable quickly, but mastery requires sustained effort — mirroring real skill development.
2. Skill Leveling Algorithm
Each skill has its own level, tracked independently. Skills use a 1.2x multiplier with an XP Scale factor:
Base value: Level 1 of any skill = floor(100 × xpScale) XP
The XP Scale makes complex skills require more XP per level:
- Mobility (1.0x Scale): 100 XP to Level 2 | ~207 XP to Level 5
- IoT & Connectivity (1.6x Scale): 160 XP to Level 2 | ~331 XP to Level 5
- Microprocessors (2.0x Scale): 200 XP to Level 2 | ~414 XP to Level 5
- Machine Learning (2.5x Scale): 250 XP to Level 2 | ~518 XP to Level 5
Skills level up automatically as you learn Knowledge Topics tied to that skill.
3. Streak & Reward Multiplier System
The streak system rewards consistency — every day you complete at least one quest extends your streak:
Example: If you have a 20-day streak and earn 100 base XP:
Additionally, Active Buffs (from the store or lootbox) can further multiply XP:
A 2x "Omni-Boost" buff with a 20-day streak on 100 base XP:
That's 2.4x the base value — a massive incentive for consistency!
Penalty System Algorithm
4. Daily Lootbox Probability Distribution
The Daily Payload (lootbox) uses weighted random drops with streak bonuses:
- Credits (50% chance): Roll 0.00–0.49 | Amount: 25-75
- XP (25% chance): Roll 0.50–0.74 | Amount: 25-75
- Gems (Rare - 10% chance): Roll 0.75–0.84 | Amount: 1-2 (+1 per 10 streak)
- Item (Epic - 15% chance): Roll 0.85–1.00 | Amount: Random store item
At a 50-day streak, the streak multiplier caps at 2.0x — so a base 75 credit reward becomes 150 credits!
5. Penalty System
Missing a deadline triggers penalties to create real stakes:
For Major Goals, penalties are configured manually but follow the same principle, penalties can be:
- XP penalty: XP is subtracted from your total (can cause de-leveling)
- Credit penalty: Credits are deducted from your wallet
De-leveling calculation:
The system then recalculates your level from scratch. Yes, you can actually lose levels. That's the point — real consequences create real motivation to face the tasks you've been avoiding.
6. Staking System
You can stake credits for passive returns:
- Lock credits for a set period
- Earn interest on your staked amount
- Higher stakes and longer periods = better returns
This teaches basic financial thinking while keeping the in-app economy engaging.
7. Ranking Hierarchy
Your overall level determines your rank:
- Level 1: E-Rank Apprentice
- Level 6: D-Rank Disciplined Learner
- Level 11: C-Rank Focused Engineer
- Level 21: B-Rank Builder of Systems
- Level 31: A-Rank Awakened Creator
- Level 41: S-Rank Polymath
The ranks mirror the Solo Leveling hunter ranks — and reaching S-Rank requires serious dedication (you'd need over 5 million cumulative XP to reach level 41!).
8. Badge Unlock Conditions
- Level 10: Reach overall level 10
- Level 25: Reach overall level 25
- First Step: Complete your first quest
- Quest Novice: Complete 10 quests
- Quest Adept: Complete 50 quests
- Boss Slayer: Complete a Boss Quest or Major Goal
- Mind Adept: Reach level 5 in a Mind skill
- Body Adept: Reach level 5 in a Body skill
- Creation Adept: Reach level 5 in a Creation skill
- Spirit Adept: Reach level 5 in a Spirit skill
You can also create custom badges through the system!
Architecture Overview
For those curious about the technical design, the application operates on a local-first, serverless loop to keep your data fast and private.
- User Input (React UI)
- Gemini AI Service: Breaks down goals and generates bite-sized quests.
- Leveling Engine: Calculates XP, lootbox drops, and streak multipliers.
- Local Storage (Browser): Saves progress locally with no cloud data harvesting.
All state lives in React hooks in App.tsx, with debounced autosave (1 second delay) to localStorage. No database, no server, no accounts — fully private and offline-capable.
How This Pulled Me Out
Before LevelUp:
- I avoided studying hard topics for days, sometimes weeks
- I had no system for tracking what I actually learned
- I procrastinated because big goals felt insurmountable
- I had no idea how much progress I was actually making
After LevelUp:
- Every hard topic became a "quest" — smaller, actionable, and rewarding
- The penalty system meant I couldn't just ignore deadlines
- My skill tree showed me exactly how much I'd learned
- The daily streak kept me consistent even on days I didn't feel like it
- Setting exams as "Major Goals" with big XP rewards made them something to chase, not dread
The core insight: The things we avoid thrive on ambiguity. When you turn an overwhelming task into a quantified quest with clear steps, a deadline, and a reward — it stops being paralyzing and starts being a challenge. And challenges are just games you haven't won yet.
Customization and Extension
LevelUp is designed to be highly customizable:
- Custom Skills: Add any skill with any XP scale
- Custom Topics: Track whatever you're learning
- Custom Store Items: Create your own buffs and real-world rewards
- Custom Badges: Define your own achievement criteria
- Custom Story Arcs: Create themed periods (Exam mode, Fitness sprint, etc.)
- Data Export/Import: Full backup and restore via JSON
The AI adapts to your state and goals — so two people using the same app will get completely different quest sets.
Summary
LevelUp: AI Awakening is more than an app — it's a philosophy. By gamifying the difficult and uncomfortable tasks in our lives, we transform avoidance into action. Every quest completed is a step forward. Every level gained is proof you're stronger than yesterday.
“I tend to get stronger when I fight.” — Sung Jin-Woo
Build it. Use it. Level up.
Live App: levelup.bigdas.com
GitHub: https://github.com/oniondas/Levelup-app
(Note: This app is completely free, ad-free, and open-source. I do not make any money if you use it)