<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Max McGregor</title>
    <description>The latest articles on DEV Community by Max McGregor (@bbmaxwell).</description>
    <link>https://dev.to/bbmaxwell</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3804509%2Fb24e5802-d7cc-404e-8cef-c154e8fc374f.png</url>
      <title>DEV Community: Max McGregor</title>
      <link>https://dev.to/bbmaxwell</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bbmaxwell"/>
    <language>en</language>
    <item>
      <title>How I built a spaced repetition vocabulary app with Flutter and FSRS</title>
      <dc:creator>Max McGregor</dc:creator>
      <pubDate>Tue, 03 Mar 2026 19:40:22 +0000</pubDate>
      <link>https://dev.to/bbmaxwell/how-i-built-a-spaced-repetition-vocabulary-app-with-flutter-and-fsrs-4n0j</link>
      <guid>https://dev.to/bbmaxwell/how-i-built-a-spaced-repetition-vocabulary-app-with-flutter-and-fsrs-4n0j</guid>
      <description>&lt;p&gt;I'm a solo developer and this is my first published app. I built a Spanish vocabulary app that teaches the 1,000 most common words using spaced repetition. Here's how it works.&lt;/p&gt;

&lt;h3&gt;
  
  
  The idea
&lt;/h3&gt;

&lt;p&gt;1,000 words cover about 80% of spoken conversation in Spanish. I wanted the fastest path to learning them. I chose to use spaced repetition to learn as fast as possible. The gist is you're shown each word right before you forget it. This has allowed me to learn 8-10 new words/day in under 15 minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Flutter/Dart&lt;/strong&gt; - cross-platform from a single codebase (iOS and Android from day one)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQLite&lt;/strong&gt; - all learning state lives on-device&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase&lt;/strong&gt; - sync and auth, lightweight backend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FSRS algorithm&lt;/strong&gt; - the scheduling brain (via the &lt;code&gt;fsrs&lt;/code&gt; Dart package, Rust core)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How the FSRS scheduling works
&lt;/h3&gt;

&lt;p&gt;Every word has two key properties: &lt;strong&gt;stability&lt;/strong&gt; (how many days until your recall probability drops to 90%) and &lt;strong&gt;difficulty&lt;/strong&gt; (0-10 scale, affects how fast stability grows).&lt;/p&gt;

&lt;p&gt;When you see a flashcard and rate it Again/Hard/Good/Easy, FSRS recalculates both values and sets the next due date. Words you know get pushed out days or weeks. Words you struggle with come back in minutes.&lt;/p&gt;

&lt;p&gt;The daily session assembles a queue of up to 30 cards:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cards that are due today (most overdue first)&lt;/li&gt;
&lt;li&gt;New words if there's room (up to 12 new per day, 30 on day one)&lt;/li&gt;
&lt;li&gt;Trouble cards -- high difficulty or high lapse count with low stability&lt;/li&gt;
&lt;li&gt;Bonus cards due in the next few days to fill remaining slots&lt;/li&gt;
&lt;li&gt;Shuffle and go&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Conjugation unlocking
&lt;/h3&gt;

&lt;p&gt;When a base verb reaches stability &amp;gt;= 7.0 (meaning you reliably know the word), its conjugations automatically unlock and enter the queue as new cards. You learn "hablar" first, then "hablo," "hablas," "habla" show up naturally.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I'd do differently
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;State management&lt;/strong&gt; - I'd be more intentional about it from the start. Flutter has a lot of options and I learned as I went.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content pipeline&lt;/strong&gt; - The word list is baked into the app. A CMS or remote content layer would make updates easier.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The numbers
&lt;/h3&gt;

&lt;p&gt;Built in ~2 months spending about 1 hour/day. $99 Apple dev account, Claude Code for AI-assisted development, free Supabase tier. ~$20 in revenue so far with zero marketing. First published app.&lt;/p&gt;

&lt;p&gt;$1.99, one-time purchase. No subscription, no ads.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apps.apple.com/us/app/1-000-spanish-words/id6756788926" rel="noopener noreferrer"&gt;1,000 Spanish Words on the App Store&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Looking for Android testers. Please DM me if interested.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>mobile</category>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
