Skip to content
Indie Hacker Atlas EdTech SaaS 13 min read

Sonny Li: How Sonny Li Built Codedex to $81,000/mo

How Sonny Li built Codedex into a $970K ARR gamified coding academy teaching Gen Z Python and web development via a 16-bit retro RPG.

Sonny Li Sonny Li
• Founder & Creative Lead • New York, USA • @sonnynomnom
$81,000/mo
Verified MRR
$970,000
Annual Run Rate (ARR)
8 Remote
Operating Team
11 months
Time to $10K MRR
⚡

0-to-1 Playbook Blueprint

Verified Metrics: $81,000/mo
How Sonny Li built Codedex into a $970K ARR gamified coding academy teaching Gen Z Python and web development via a 16-bit retro RPG.
Current Flagship
Codedex ↗
EdTech SaaS · Bootstrapped SaaS
Speed to PMF
11 months
First 100 users: 2 months
Previous Ventures & Experiments
  • Senior Curriculum Designer at Codecademy
  • Computer science educator and developer advocate

Sonny Li is an edtech visionary who reinvented how the next generation learns computer science. Operating from New York City, Sonny built Codédex into a $970,000 annual recurring revenue ($81,000 monthly) interactive academy that has guided over 350,000 students through their first lines of Python, HTML, CSS, JavaScript, and React.

Before Codédex, learning to code online was notoriously sterile, boring, and corporate. Platforms like Codecademy, Udemy, and Coursera felt like dry corporate training modules. Completion rates across the online education industry hovered below an abysmal 5%.

Sonny, who previously worked as a Senior Curriculum Designer at Codecademy, realized that Gen Z didn’t want another dry corporate dashboard: they wanted an adventure. He designed Codédex as a 16-bit retro fantasy RPG reminiscent of Pokémon and The Legend of Zelda, where users level up their pixel character, unlock achievements, earn collectible badges, and slay algorithmic monsters by writing real, executable code.

Here is the deep tactical story of how Sonny Li combined pixel art, community gaming, and technical pedagogy into a near-million-dollar bootstrapped edtech powerhouse.


The Venture Scorecard: Sonny Li’s Trajectory

PhaseMilestonePeriodScale / OutcomeCore Growth Driver
Codecademy CurriculumSenior Curriculum Developer2017 to 2021Taught millions of students worldwideCorporate EdTech experience
Codédex GenesisConcept art & Python quest designLate 2021Built 16-bit pixel RPG engineTwitter & designer communities
Public LaunchThe Python Quest ReleaseMid 2022Reached first 10,000 registered studentsTikTok viral coding videos & Discord
Club Pro MonetizationPremium quests & verified certificates2023Reached $25,000/mo MRRHigh student retention & completion badges
Scaled Gen Z Academy350,000+ students & university clubs2024 to 2026$970,000 ARR ($81K/mo)Global campus ambassador network & SEO

1. The Death of Sterile EdTech: Why 95% of Students Quit

For four years, Sonny Li designed coding courses for Codecademy. While the company reached millions of learners, Sonny observed a heartbreaking structural flaw in the modern MOOC (Massive Open Online Course) model:

  • 95% of people who started a course abandoned it within two weeks.
  • The learning environments felt like gray spreadsheet software.
  • Students lacked community belonging, emotional investment, and tactile feedback.

Sonny grew up playing classic 90s video games like Pokémon, Final Fantasy, and Chrono Trigger. He remembered how players would gladly spend 100 hours grinding to level up a digital character because the journey was emotionally rewarding, visually enchanting, and celebrated small milestones.

Sonny asked himself:

“What if learning Python felt like an epic journey through an enchanted fantasy realm? What if every function you wrote unlocked the next level of a real video game?”

In late 2021, Sonny resigned from his tech job to build the prototype of Codédex.


2. Engineering the 16-Bit WebAssembly Engine

To make Codédex feel like a genuine video game without requiring students to download heavy desktop software, Sonny engineered an innovative browser-based technical stack:

  1. Phaser.js Game Engine: Rendered rich, animated 16-bit isometric pixel worlds directly on an HTML5 canvas.
  2. Pyodide (WebAssembly Python): Ran real Python 3 code entirely inside the student’s browser tab using WebAssembly, eliminating the server cost and security vulnerabilities of running untrusted code on backend servers.
  3. Collectible Artifacts: Finishing a chapter rewarded learners with animated collectible pixel pins, secret treasure chests, and skill tree points.
Student Writes Code -> Pyodide Executes Client-Side in WASM
                               │
               ┌───────────────┴───────────────┐
               ▼                               ▼
       Passes Test Cases             Fails Test Cases
               │                               │
       Pixel Avatar Levels Up          Monster Strikes Back
       Unlocks New Realm               Helpful Hint from NPC

The TikTok & Instagram Organic Wave

Instead of spending capital on Facebook ads, Sonny published short, nostalgic videos on TikTok showcasing pixel art animations paired with chill lo-fi beats, explaining basic programming concepts in 30 seconds.

The videos captured Gen Z’s imagination. Hundreds of thousands of high school and college students discovered Codédex, flocking to its official Discord server, which quickly expanded to over 40,000 active learners.


3. Product Economics & The “Club Pro” Membership

Sonny adopted an accessible freemium model:

  • Free Quests: The foundational Python, HTML, CSS, and Git courses are 100% free, allowing any curious beginner worldwide to learn to code.
  • Codédex Club ($15/mo or $120/yr): Unlocks advanced pathways (JavaScript, React, Data Science), interactive hackathons, verified completion certificates, and exclusive Discord office hours with industry software engineers.
PlanPriceAccess & FeaturesTarget Learner
Adventurer (Free)$0Complete Python & Web Foundations, Community ForumCurious beginners & high schoolers
Club Pro Monthly$15/moAll Advanced Tracks, Certificates, Monthly HackathonsCollege CS majors & career switchers
Club Pro Annual$120/yr ($10/mo)Everything in Pro + Exclusive Swag Pin Pack & MentorshipDedicated students committing to career change
Campus / Club LicenseCustomMulti-seat classroom dashboards for high school clubsTeachers, professors, and university clubs

With over 6,500 active paying Club members, Codédex scaled past $81,000 per month ($970,000 ARR) with negligible churn and a passionate global brand.


4. Sonny Li’s Exact Tech Stack

Sonny and his team built Codédex with modern web technologies that combine high gaming performance with lean infrastructure overhead.

LayerTool / TechnologyWhy The Founder Chose It
Frontend & AppReact & Next.jsModern component architecture and seamless static page generation for SEO
2D Game EnginePhaser.jsLightweight HTML5 canvas rendering of 16-bit retro sprites, tilemaps, and animations
Client-Side Code EnginePyodide (WASM)Zero backend server costs; Python compiles and runs safely inside the client browser
DatabaseMongoDB AtlasFlexible document storage for complex quest progression trees, badges, and user inventory
Hosting & CDNVercel & AWS S3Instant global asset delivery for heavy pixel art sprite sheets and sound effects
BillingStripe BillingGlobal recurring subscription handling with seamless student coupon codes

5. The 3 Tactical Rules for EdTech Innovators

Rule 1: Gamification Must Be Intrinsic, Not Gimmicky

Don’t just slap a basic progress bar on a boring textbook and call it gamified. Gamification works when it is embedded into the narrative, aesthetics, and character identity of the learner. Make the learning journey feel like a true adventure.

Rule 2: Execute Code on the Client Side to Protect Margins

Running untrusted user code on backend servers requires expensive container orchestration (Docker / Kubernetes) and creates massive security risks. Leveraging WebAssembly technologies like Pyodide allows you to scale to 300,000 students while keeping server bills under $500 a month.

Rule 3: Cultivate an Organic Digital Campus

Education is fundamentally social. Students who study alone quit; students who celebrate their streak with friends finish. Building an active Discord and social community where learners share projects, memes, and support turns your educational platform into a lifelong community.


Startupbricks Growth Takeaway

Action Step for Founders: If you are designing an educational or onboarding experience:

  1. Use WebAssembly (WASM) to run complex compute client-side, slashing your cloud infrastructure bills by 90%.
  2. Maximize your cloud runway by claiming up to $100,000 in AWS & Google Cloud credits via the Startupbricks Founder Perks Catalog.
  3. Need expert full-stack engineers to build your production MVP? Discover our 30-Day MVP Engineering & Fractional CTO Services.
Founder Growth Ecosystem • Free Tools & Credits

Building an early-stage startup? Boost your runway.

Unlock over $12.1M in founder perks from AWS, Stripe & 340+ SaaS tools, or explore 900+ indie hackers in our global directory.

Interactive Estimator

Calculate your exact project timeline & budget

Configure your MVP tech stack, team scope, and marketing channels for an instant 2026 cost breakdown in 30 seconds.

Core Tech Stack
React & Next.js Pyodide (WebAssembly Python engine running client-side) Phaser.js (16-bit 2D game engine) MongoDB Atlas Stripe Billing
Distribution Channels
TikTok & Instagram Viral Pixel Art Animations Gen Z Hacker Community & Discord Server High School & University Coding Clubs Product Hunt (#1 Product of the Day)
Explore More Journeys

More 0-to-1 Indie Hacker Playbooks

View all 900+ makers on World Map →
Developer Tools $15,000/mo

Dan Mindru

How Dan Mindru bootstrapped Shipixen into a $180K ARR Next.js boilerplate and developer toolkit from Sweden.

Dan Mindru
Dan Mindru · Shipixen
No-Code SaaS $290,000/mo

Dean McPherson

How Dean and Diony McPherson bootstrapped Paperform from Sydney into a $3.5M ARR customizable form builder for creators and SMBs.

Dean McPherson
Dean McPherson · Paperform
Developer Tools & API SaaS $36,000/mo

Dmytro Krasun

How Dmytro Krasun quit his corporate engineering job in Ukraine to build ScreenshotOne into a $430K ARR solo developer API business.

Dmytro Krasun
Dmytro Krasun · ScreenshotOne

Stop guessing your way to growth. Start building a brand that wins.

Startupbricks replaces four to five different vendors with one integrated growth partner. Brand strategy, digital marketing, SEO, and AI products: all moving together.

  • Brand strategy and visual identity that commands premium pricing
  • Content marketing and SEO that builds long-term organic traffic
  • Performance marketing on Meta, Google, and LinkedIn
  • AI-powered products built in weeks, not months
  • Full pipeline visibility: from awareness to revenue

Hire us as your growth team. Not just another agency.

We support early-stage startups and growing brands alike. Book a free 30-minute strategy call: we'll tell you exactly what's holding your brand back and build a plan around where you are right now.

Early-stage? We offer flexible pricing. No commitment, no pressure.

WhatsApp Get in Touch