Inspiration
I looked at my screen time one evening 3 hours 38 minutes of short-form video. That day alone. I wasn't learning anything. I was just scrolling. The existing solutions (app timers, grayscale mode, deleting apps) all failed because they had no teeth. You could ignore them. I wanted something that actually hurt to bypass.
The idea: what if every feed you opened cost you a quiz question? And if you got it wrong, something genuinely unpleasant happened a haunting screen, eerie sounds, a lockout. Not a gentle nudge. A consequence.
Scrap Duolingo streaks. Make brainrot useful.
What it does
HexScroll is an Android app that blocks TikTok, Instagram Reels, YouTube Shorts, and Facebook Reels behind a learning quiz. Before any feed opens, you answer a question from topics you chose Languages, Programming, World History, Math, Science, or Finance.
Get it right: the feed opens normally.
Get it wrong: the WRONG ANSWER haunting screen fires. Bats, skulls, eerie sounds. You are locked out for a cooldown period. Try to open the feed again before the cooldown ends and you face STILL CURSED a second haunting, longer lockout, no mercy.
You can also set a daily limit or an interval timer (e.g. 5 minutes on, 15 minutes off, all day). The Learning Gate works across all modes.
How I built it
Built entirely spec-first using Kiro. Every feature the haunting penalty screens, the interval timer, the Learning Gate, and a custom design system built around a black, crimson, and white palette with Montserrat ExtraBold typography started as a requirements doc that Kiro implemented.
Stack: Kotlin 2.x, Jetpack Compose, Hilt, Room, Android Accessibility Service
Kiro usage:
- Wrote full requirements, design, and task specs before writing a single line of code
- Used Kiro hooks to enforce spec format and run validation on save
- Used steering docs to keep Kiro aligned with the design tokens and color palette throughout the build
- Kiro implemented all 5 build phases from the spec, including the accessibility service overlay, quiz engine, and haunting screen logic
Challenges
The hardest part was the accessibility service. Android's overlay system is strict getting HexScroll to reliably intercept TikTok, Reels, and Shorts without being killed by the OS took significant iteration. Kiro helped debug the overlay detection logic by reasoning through the accessibility event flow from the spec.
Getting the haunting sounds to play at full volume regardless of the phone's ringer volume required switching to STREAM_ALARM a small detail that made the penalty feel real.
What I learned
Spec-driven development with Kiro is fundamentally different from vibe coding. When you write the requirements first, Kiro has enough context to make good decisions without constant correction. The steering docs were especially valuable keeping the design system consistent across 50+ composables without manually checking every file.
What's next
- Upload custom topics and questions (study for any exam, not just built-in topics)
- AI-powered adaptive learning questions get harder as you improve
- Companion web dashboard for streak and topic analytics
Built With
- accessibility-service
- amazon-web-services
- android
- android-studio
- coroutines
- datastore
- flow
- gradle
- hilt
- jetpack-compose
- kiro
- kotlin
- material3
- retrofit
- room