Rabbit Hole
A Flutter app that unlocks one short, college-level card a day from topics you choose, with quizzes, XP and streaks, backed by a Hono API on Cloudflare Workers and D1. Completed closed testing on Google Play.
Overview
Most learning apps either feel like homework or become an endless feed. Rabbit Hole is deliberately one card a day: pick topics like AI, cognitive biases, game theory or finance, and a mystery card unlocks each day. Swipe through it like a story, take a two-question quiz for bonus XP, and build a streak. I built it end to end: the Android app, the REST API, the database, and the Google Play release.
What I built
- Flutter app with swipeable story-style cards, XP and 8 levels, streaks with streak freezes, 14 achievements, a weekly recap, a shareable card image, daily reminder notifications and a native Android home-screen widget written in Kotlin.
- Daily-card algorithm that assigns one stable card per user per day, never repeats a card, rotates
topics, and serves finance topics in a fixed lesson order. A
daily_assignmentstable makes “one card per day” a database guarantee rather than just app logic. - Serverless REST API in TypeScript with Hono on Cloudflare Workers (about 20 endpoints), with Zod request validation, cursor-based pagination and batched D1 queries.
- Cloudflare D1 (SQLite) database with 8 relational tables and 4 versioned migrations, seeded with 13 topics, 71 cards and 142 quiz questions.
- Privacy-first accounts. No sign-up: each device gets an anonymous random token stored in secure storage, and the server keeps only its SHA-256 hash. Users can delete all their data in-app, and a nightly cron job removes long-inactive accounts after a year.
- Release engineering. Signed Android App Bundle with R8 and Play App Signing, a custom API domain with automatic TLS, and a closed-testing run on Google Play that has been completed ahead of the public launch.
Tech stack
Flutter · Dart · Provider · Hono · TypeScript · Cloudflare Workers · D1 (SQLite) · Zod · Kotlin