Skip to content

This website is still under development, so some information may not be accurate yet.Under development · details may not be accurate

Habits

An Android app for building good habits and breaking bad ones, with streaks and milestones, a clean-time counter and urge breathing for habits you're quitting, home-screen widgets and reminders you can act on.

Habits: Build good habits. Break the bad ones. The Today, clean-time and Progress screens on three phones.

The idea

Most habit trackers only count the good days. Habits treats building a habit and breaking one as two different jobs: a habit you're building gets check-ins, counts and a streak, and a habit you're quitting gets a clean-time counter, the time it gives back, and help in the moment an urge hits. The rewards never run out. Milestones count the days done, so a missed day never takes one away, and a comeback mode helps you start again after a lapse.

Implementation

  • Expo and React Native with Expo Router, in TypeScript, built for Android first.
  • Local-first storage in SQLite, with UUIDs and an append-only log of check-ins, so accounts and sync can be added later without migrating anyone's history.
  • Animations run on the UI thread with Reanimated and Gesture Handler, paired with haptics, and nothing bounces or overshoots.
  • Home-screen widgets for today's habits, the streak and a clean-time counter, and reminders with Done and Snooze buttons, so most check-ins don't need the app open.
  • Health Connect can complete a habit automatically.
  • A local Expo module in Kotlin shows a timed habit as an Android Live Update, with a regular notification where Android doesn't allow one.

Challenges

  • Designing for quitting as well as building: a clean-time counter, the time a habit gives back, and an urge flow that rates the urge, then breathes through it for 90 seconds.
  • Streaks that stay motivating: rest days, a streak goal, and a day that can end at 3 a.m. so late nights count for the right day.
  • Motion that feels calm: every animation on the UI thread, with springs that settle without bouncing.
  • A data model ready for friends and shared streaks later, without a migration.

Result

Version 1.0.0 builds as a release APK and runs on Android with Today, Habits, Progress and Profile, habits to build and to break, milestones, widgets and actionable reminders. Shared streaks with friends are planned once accounts and sync are in place.

Building a Habit

  • Simple check-ins, or counts such as 8 glasses of water
  • Milestones at 7, 30, 66, 100, 200 and 365 days done, never lost
  • Comeback mode after a lapse
  • Reminders with Done and Snooze

Breaking a Habit

  • A clean-time counter with the next milestone
  • The time the habit gives back
  • An urge meter, then 90 seconds of breathing
  • Log a slip without losing your milestones