Didier Fuentes
Projectapps·

Hugr

A learning app that turns each subject into an RPG skill tree you level up with lessons, practice and exams.

The Idea

Most learning apps walk you down a single path: lesson one, lesson two, a streak to protect. That's fine for a language, but it's a poor fit for a subject like chemistry, where people spend years and where what you want to learn next depends on what you're curious about.

Hugr borrows the skill tree from role-playing games instead. Each subject is a map you start at the centre of. The basics sit in the middle, harder skills sit further out, and you choose which branch to grow. A level is something you earn by passing an exam, so a Level 3 skill means you really understand it, not that you tapped through it.

What It Does

A Map for Every Subject

  • The wheel — each subject is a slice of one round map, and each topic is a small cluster of skills around its capstone. Zoom in to see the skills.
  • Ten subjects to start — Chemistry, Physics, Biology, Astronomy, Human Anatomy, Psychology, Music Theory, Personal Finance, Photography and Yoga.
  • Ask for a subject — if a subject isn't there yet, learners can ask for it. It's written once and shared with everyone who asks.
  • Linked trees — a skill in one subject can lean on a skill in another, so the trees join up.

Read, Train, Pass the Exam

  • Theory cards — a few short cards per level, with the key terms marked.
  • Training runs — 5 to 10 questions at a time, as many runs as you like.
  • Exams — 8 questions held back from training, and 7 right to level up, up to Level 5. Already know a skill? A skip test jumps you ahead.
  • Real question types — balancing chemical equations, building atoms particle by particle, sorting, ordering, matching, fill-in-the-blanks, true-or-false swipes and worked numbers.

Levelling Up

  • Achievements — one line each, saying what you can now understand.
  • Goals and quick play — pick something to work towards and quick play chooses the next skill on the way.
  • Rust — skills you haven't practised go rusty; a short review brings them back without ever costing a level.
  • Character sheet — levels, XP and pinned achievements.

Privacy

  • No account and no ads. Progress is saved on the phone.
  • Feedback and analytics carry a random ID, never a name or email address.

Tech Stack

LayerTechnology
UISwiftUI
PersistenceSwiftData
Content backendSupabase (Postgres, row-level security, RPC functions)
NetworkingURLSession
DistributionFastlane

Architecture

The app ships with no lessons. Every subject lives in Supabase and is downloaded when a learner adds it, and only as far as they're about to need: the map first, then the lessons ring by ring. When a learner gets close to the edge of what's written, the app asks for the next rings. A request for a new subject is written once and then served to everyone who asks for it afterwards.

Every subject, topic, skill, lesson and question has its own ID, and the tree's shape is stored separately from the items in it. That keeps content editable without breaking anyone's progress, and lets a skill in one subject point at a skill in another before that other subject even exists.

Exams draw from a pool of questions that never appear in training, so passing one takes understanding rather than remembering practised answers.

Links