Skip to content

SnakeEye-sudo/Habits-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฏ Habits-Tracker

An offline-first productivity and habit tracking application built with vanilla JavaScript, HTML, and CSS. Track your daily habits, monitor progress, and build better routines without needing an internet connection.

โœจ Features

  • โœ… Offline First: Works completely offline - no internet required
  • ๐Ÿ“Š Progress Tracking: Visual progress bars and statistics for your habits
  • ๐ŸŽจ Beautiful UI: Modern, responsive design with smooth animations
  • ๐Ÿ’พ Local Storage: All data saved locally in your browser
  • โšก Fast & Lightweight: No dependencies, pure vanilla JavaScript
  • ๐ŸŒ™ Dark Mode: Eye-friendly dark theme support
  • ๐Ÿ“ฑ Responsive Design: Works on desktop, tablet, and mobile devices
  • ๐ŸŽฏ Daily Reminders: Track habits on a daily basis with completion status
  • ๐Ÿ“ˆ Statistics: View your habit completion rates and trends
  • ๐Ÿ”„ Habit Management: Add, edit, delete, and organize your habits easily

๐Ÿš€ Quick Start

  1. Clone the Repository

    git clone https://github.com/SnakeEye-sudo/Habits-Tracker.git
    cd Habits-Tracker
  2. Open in Browser

    • Simply open index.html in your web browser
    • No server setup required!
    # On Linux/Mac
    open index.html
    
    # On Windows
    start index.html
  3. Start Tracking

    • Add your habits
    • Mark them as complete each day
    • Watch your progress grow!

๐Ÿ“ Project Structure

Habits-Tracker/
โ”œโ”€โ”€ index.html          # Main HTML file
โ”œโ”€โ”€ css/
โ”‚   โ””โ”€โ”€ style.css       # All styles and animations
โ”œโ”€โ”€ js/
โ”‚   โ””โ”€โ”€ app.js          # Core application logic
โ”œโ”€โ”€ README.md           # This file
โ””โ”€โ”€ LICENSE             # MIT License

๐ŸŽฎ How to Use

Adding a Habit

  1. Click on "Add New Habit"
  2. Enter your habit name (e.g., "Read for 30 minutes", "Exercise")
  3. Choose a category if desired
  4. Click "Add" to create the habit

Tracking Your Habits

  1. Check off the habit when you complete it
  2. Watch the progress bar update in real-time
  3. Your streaks and statistics update automatically

Managing Habits

  • Edit: Click the edit button to modify habit details
  • Delete: Remove habits you no longer want to track
  • View Stats: See detailed completion rates and trends

๐Ÿ’ก Technical Stack

  • Frontend: HTML5, CSS3, Vanilla JavaScript (ES6+)
  • Storage: LocalStorage API
  • No External Dependencies: Pure client-side application

๐ŸŽจ UI/UX Highlights

  • Smooth animations and transitions
  • Intuitive user interface
  • Color-coded habit categories
  • Real-time progress updates
  • Visual feedback for user actions
  • Mobile-first responsive design

๐Ÿ“Š Features in Detail

Daily Tracking

  • Mark habits complete/incomplete each day
  • Automatic date tracking
  • Visual completion status

Progress Analytics

  • Completion rates by week/month
  • Habit streaks
  • Overall productivity stats
  • Visual charts and graphs

Data Persistence

  • All data stored locally in browser
  • No account required
  • Data persists across sessions
  • Export/Import functionality (coming soon)

๐Ÿ”’ Privacy & Data

  • โœ… No server uploads
  • โœ… No tracking
  • โœ… No analytics
  • โœ… No data sharing
  • โœ… 100% local data storage

Your habits are YOUR business. We don't collect, store, or analyze your data.

๐Ÿ› ๏ธ Development

Local Development Setup

  1. Clone the repository
  2. Make your changes
  3. Test in your browser
  4. Create a pull request

Browser Support

  • Chrome/Edge 60+
  • Firefox 55+
  • Safari 12+
  • Opera 47+

๐Ÿ“ฑ Responsive Breakpoints

  • Mobile: < 768px
  • Tablet: 768px - 1024px
  • Desktop: > 1024px

๐Ÿ› Known Issues & Future Improvements

Coming Soon

Version 2.0 Features (In Progress)

  • Export habits to CSV
  • Import habits from file
  • Habit templates
  • Custom color themes (5 presets: Light, Dark, Ocean, Sunset, Forest)
  • Habit notes and journal
  • Backup and restore
  • Multiple device sync (cloud backup)
  • PWA support (installable app - manifest.json configured)

๐Ÿค Contributing

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

How to Contribute

  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

Code Style

  • Use meaningful variable names
  • Add comments for complex logic
  • Follow existing code patterns
  • Test your changes in different browsers

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘จโ€๐Ÿ’ป Author

SnakeEye-sudo - Initial work - GitHub Profile

๐Ÿ™ Acknowledgments

  • Inspired by popular habit tracking apps
  • Built with vanilla JavaScript (no frameworks)
  • Community feedback and suggestions

๐Ÿ“ž Support

If you have any questions or suggestions, please:

๐ŸŽฏ Roadmap

Version 2.0

  • Cloud synchronization
  • Mobile app (React Native)
  • Social features (share goals)
  • AI-powered habit recommendations

Version 1.5

  • Advanced analytics
  • Habit reminders
  • Custom themes
  • Data export options

Happy Habit Tracking! ๐Ÿš€

Made with โค๏ธ by SnakeEye-sudo

โฌ† back to top

About

An offline-first productivity and habit tracking app built with vanilla JavaScript.

Topics

Resources

License

Stars

6 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors