Skip to content

A simple iOS habit tracker with visual progress charts and smart notifications. Track unlimited habits with customizable reminders and view your consistency with a GitHub-style contribution chart.

Notifications You must be signed in to change notification settings

abderrahimghazali/Habits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Habits

A simple and elegant habit tracking app for iOS that helps you build and maintain daily routines with visual progress tracking and smart notifications.

Features

πŸ“Š Visual Progress Tracking

  • 3-month contribution chart showing your habit consistency over time
  • Color-coded visualization: Grey (no activity), Light green (some activity), Green (full activity)
  • Interactive chart: Tap any day to see detailed logs for that date
  • GitHub-style interface for familiar and intuitive progress viewing

πŸ”” Smart Notifications

  • Custom reminder times for each habit (e.g., 3 times daily for medicine, 2 times for brushing teeth)
  • Personalized notifications with habit-specific messages
  • Flexible scheduling - set as many reminders as needed per habit
  • Easy management - enable/disable notifications per habit or per reminder

πŸ“ Multi-Habit Support

  • Unlimited habits - track medicine, exercise, reading, or any custom routine
  • Named logging - see exactly which habit was completed at what time
  • Instant logging - single tap to log when you have one habit, picker for multiple
  • Detailed history - view all sessions for any day with timestamps

βš™οΈ Simple Settings

  • Easy setup - add new habits with custom names and reminder schedules
  • Time management - set specific times for each reminder
  • Habit organization - edit, enable/disable, or delete habits as needed

Screenshots

Main App View

Main App

Habit Selection

Habit Logging

Settings & Configuration

Settings

How It Works

  1. Set up your habits - Tap the settings gear to add habits like "Take medicine" or "Brush teeth"
  2. Configure reminders - Set custom notification times for each habit
  3. Log your activities - Tap "Log Habit" when you complete an activity
  4. Track your progress - Watch your contribution chart fill up as you build consistency
  5. Stay motivated - Use the visual feedback to maintain your streaks

Perfect For

  • πŸ’Š Medication reminders - Never miss a dose with multiple daily notifications
  • 🦷 Personal hygiene - Build consistent routines like brushing teeth
  • πŸ’§ Health habits - Track water intake, vitamins, or supplements
  • πŸ“š Learning routines - Reading, language practice, or skill development
  • πŸƒ Fitness goals - Exercise, stretching, or movement reminders

Installation

This is a native iOS app built with SwiftUI.

  1. Clone the repository
  2. Run xcodegen generate to generate the Xcode project files
  3. Open the generated .xcodeproj file in Xcode
  4. Build and run on your device

Built With

  • SwiftUI - Modern iOS user interface
  • UserNotifications - Smart reminder system
  • UserDefaults - Local data persistence

About

A simple iOS habit tracker with visual progress charts and smart notifications. Track unlimited habits with customizable reminders and view your consistency with a GitHub-style contribution chart.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages