E5D3 GitHub - aliahadmd/TimeMachine: A comprehensive productivity & wellness app for Android. Track focus time, screen usage, expenses, subscriptions, habits, and daily tasksโ€”all with beautiful analytics and complete privacy. Built with Jetpack Compose & Material 3.
[go: up one dir, main page]

Skip to content

A comprehensive productivity & wellness app for Android. Track focus time, screen usage, expenses, subscriptions, habits, and daily tasksโ€”all with beautiful analytics and complete privacy. Built with Jetpack Compose & Material 3.

License

Notifications You must be signed in to change notification settings

aliahadmd/TimeMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โฑ๏ธ TimeMachine

TimeMachine Android Min API Kotlin

A comprehensive productivity & health tracking app for Android built with Jetpack Compose

Focus Tracker โ€ข Screen Time โ€ข Habit Tracker โ€ข Year Calculator โ€ข BMI Calculator โ€ข Expense Tracker โ€ข Subscription Tracker โ€ข Daily Planner

Download APK โ€ข Report Bug โ€ข Request Feature


๐Ÿ“ฑ Screenshots

Home & Navigation

Home Screen Navigation Menu Profile Screen

Focus Tracker & Screen Time

Focus Tracker Focus Sessions Screen Time

Habit Tracker

Habit Tracker Habit Details Habit Analytics

Expense & Subscription Tracker

Expense Tracker Expense Analytics Subscription Tracker

Daily Planner & Calculators

Daily Planner BMI Calculator Year Calculator

Settings & Data Management

Settings Data Backup

โœจ Features

๐ŸŽฏ Core Functionality

  • โฐ Custom Duration - Set any duration from 1 minute to 23 hours 59 minutes
  • โฑ๏ธ Real-Time Countdown - Watch the timer count down with visual progress indicator
  • ๐Ÿ“ฑ Background Service - Timer continues running even when app is closed
  • ๐Ÿ”” Persistent Notification - Always-visible countdown in status bar and notification shade
  • ๐Ÿ”” Alarm Sound - System alarm plays when timer completes
  • ๐Ÿ“ณ Vibration - Physical feedback with repeating vibration pattern
  • ๐Ÿ›‘ Stop Anytime - Cancel the timer from app or notification

๐ŸŽจ User Experience

  • Apple-Style Picker - Smooth, scrollable wheels for time selection (just like iOS)
  • Circular Progress - Beautiful circular indicator shows remaining time
  • Minimal Design - Clean, distraction-free interface
  • Smooth Animations - Polished transitions between states
  • Large Touch Targets - Easy to use with one hand

๐ŸŒ“ Appearance

  • Auto Dark/Light Mode - Follows your system preferences
  • Material 3 Design - Modern Android design language
  • Clean Colors - Blue accent with high contrast
  • Edge-to-Edge - Immersive full-screen experience

๐Ÿ”ง Technical

  • Comprehensive - 58MB APK with 8+ productivity modules
  • No Ads - Completely ad-free experience
  • No Internet Required - Works 100% offline
  • Room Database v13 - Robust local data persistence
  • Lifecycle Aware - Smart UI updates and state management
  • Real-time Sync - Automatic data refresh across all screens
  • WorkManager - Battery-efficient background tasks
  • UsageStats API - System-level accurate screen time tracking
  • ProGuard Optimized - Minified and shrunk for performance

๐Ÿ“ฅ Installation

Download APK

  1. Go to Releases
  2. Download TimeMachineV3.0.0.apk
  3. Enable "Install from Unknown Sources" in your Android settings
  4. Open the APK and install

Minimum Requirements

  • Android 12 (API 31) or higher
  • ARM or x86 processor
  • ~100MB free storage (58MB APK + data)

๐Ÿš€ Usage

Setting a Timer

  1. Open the app - Launch TimeMachine
  2. Set duration - Scroll the time wheels to select hours and minutes
    • Default is 25 minutes (perfect for focus sessions)
  3. Tap Start - Big blue button starts the countdown
  4. Background mode - Notification appears with countdown
  5. Close app (optional) - Timer continues running in background
  6. Get notified - Alarm sound + vibration when complete (even if app is closed)
  7. Dismiss - Tap to stop the alarm

Background Operation

  • Persistent notification - Shows remaining time in status bar
  • Stop from notification - Use "Stop" button without opening app
  • Tap to return - Tap notification to see full timer
  • Survives closure - Timer runs even if you force-close the app
  • Lock screen safe - Continues running when screen is locked

Focus Timer Technique

The classic Focus Timer technique:

  1. Work: Set timer for 25 minutes and focus
  2. Short break: Set timer for 5 minutes and rest
  3. Repeat: After 4 pomodoros, take a longer 15-30 minute break

Other Use Cases

  • ๐Ÿ‹๏ธ Workout intervals - HIIT, rest periods, exercise durations
  • ๐Ÿง˜ Meditation - Timed meditation sessions
  • ๐Ÿ‘จโ€๐Ÿณ Cooking - Track cooking times
  • โ˜• Coffee brewing - Perfect pour-over timing
  • ๐Ÿ“š Study sessions - Focused learning blocks
  • ๐ŸŽฎ Screen time limits - Gaming or social media breaks
  • ๐Ÿงบ Chores - Time-boxed cleaning sessions

๐Ÿ› ๏ธ Build from Source

Prerequisites

  • Android Studio Hedgehog (2023.1.1) or later
  • JDK 11 or higher
  • Android SDK with API 36
  • Git

Clone & Build

# Clone the repository
git clone https://github.com/aliahadmd/TimeMachine.git
cd TimeManager

# Build debug APK
./gradlew assembleDebug

# Build release APK (requires keystore)
./gradlew assembleRelease

# Install on connected device
./gradlew installDebug

Project Structure

TimeManager/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ src/main/
โ”‚   โ”‚   โ”œโ”€โ”€ java/me/aliahad/timemanager/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ MainActivity.kt          # App entry point
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ TimerScreen.kt           # Main timer UI
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ui/theme/                # Theme & colors
โ”‚   โ”‚   โ”œโ”€โ”€ res/                         # Resources
โ”‚   โ”‚   โ””โ”€โ”€ AndroidManifest.xml
โ”‚   โ”œโ”€โ”€ build.gradle.kts                 # App config
โ”‚   โ””โ”€โ”€ proguard-rules.pro               # ProGuard rules
โ”œโ”€โ”€ gradle/
โ”œโ”€โ”€ build.gradle.kts                     # Project config
โ””โ”€โ”€ README.md

๐Ÿ—๏ธ Tech Stack

Core

Architecture

  • Compose Runtime - State management
  • Kotlin Coroutines - Asynchronous operations
  • LazyColumn - Scrollable time picker
  • AnimatedContent - Smooth transitions

Android Components

  • MediaPlayer - Alarm sound playback
  • Vibrator - Haptic feedback
  • System Theme - Auto dark/light mode

Optimization

  • ProGuard/R8 - Code minification
  • Resource Shrinking - Unused resource removal
  • Vector Drawables - Scalable icons

๐Ÿ“ฆ Publishing Releases on GitHub

Automated Release Process

  1. Update Version in app/build.gradle.kts:

    versionCode = 2
    versionName = "1.0.1"
  2. Build Release APK:

    ./gradlew assembleRelease
    cp app/build/outputs/apk/release/app-release.apk Focus TimerTimer-v1.0.1.apk
  3. Commit Changes:

    git add .
    git commit -m "Release v1.0.1"
    git tag -a v1.0.1 -m "Version 1.0.1"
    git push origin main --tags
  4. Create GitHub Release:

    • Go to your repo on GitHub
    • Click "Releases" โ†’ "Draft a new release"
    • Choose tag: v1.0.1
    • Release title: v1.0.1 - [Brief description]
    • Add release notes (see template below)
    • Attach Focus TimerTimer-v1.0.1.apk
    • Click "Publish release"

Release Notes Template

## What's New in v1.0.1

### ๐ŸŽ‰ New Features
- Feature description here

### ๐Ÿ› Bug Fixes
- Bug fix description here

### ๐Ÿ”ง Improvements
- Improvement description here

### ๐Ÿ“ฅ Installation
Download `Focus TimerTimer-v1.0.1.apk` below and install on your Android device.

**Minimum Android Version**: Android 12 (API 31)

**Full Changelog**: https://github.com/aliahadmd/TimeMachine/compare/v1.0.0...v1.0.1

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is open source and available under the MIT License.


๐Ÿ› Known Issues

None at the moment! ๐ŸŽ‰

If you find any bugs, please open an issue.


๐Ÿ’ก Future Enhancements

Ideas for future versions:

  • Save favorite timer presets
  • Multiple timer profiles
  • Statistics and usage tracking
  • Custom alarm sounds
  • Widget support
  • Background timer notifications
  • Pause/resume functionality
  • Custom color themes

๐Ÿ“ž Contact & Support


๐Ÿ™ Acknowledgments

  • Jetpack Compose team for the amazing framework
  • Material Design for the design guidelines
  • Focus Timer Technique by Francesco Cirillo

Built with โค๏ธ using Jetpack Compose

โญ Star this repo if you find it helpful!

About

A comprehensive productivity & wellness app for Android. Track focus time, screen usage, expenses, subscriptions, habits, and daily tasksโ€”all with beautiful analytics and complete privacy. Built with Jetpack Compose & Material 3.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0