Habify is a modern habit tracking Progressive Web App (PWA) that helps you build and maintain positive habits. With a sleek dark theme interface, intuitive controls, and powerful tracking features, Habify makes it easy to stay on top of your daily routines.
- Habit Tracking: Create and track your daily habits with ease
- Progress Visualization: View your progress with beautiful charts and statistics
- Streak Tracking: Build momentum with streak counting and rewards
- Weekly Summary: Get insights into your habit performance over time
- Dark Theme: Easy on the eyes with a modern dark interface
- Responsive Design: Works on desktop, tablet, and mobile devices
- Offline Support: Use the app even without an internet connection
- Backup & Restore: Export and import your habit data
- PWA Support: Install on your device for a native app-like experience
- A modern web browser (Chrome, Firefox, Safari, Edge)
- Visit the live app at [your-deployment-url]
- For the best experience, install the PWA:
- On Chrome/Edge: Click the install icon in the address bar
- On iOS: Tap the share button and select "Add to Home Screen"
- On Android: Tap the menu button and select "Add to Home Screen"
If you want to run the app locally or contribute to development:
- Clone this repository
git clone https://github.com/yourusername/habify.git
cd habify
- Install dependencies
npm install
- Start the development server
python -m http.server 8000
- Open your browser and navigate to
http://localhost:8000
To build the app for production:
npm run build
This will create a dist directory with optimized files ready for deployment.
- HTML5, CSS3, JavaScript (ES6+)
- Chart.js for data visualization
- Local Storage for data persistence
- Service Workers for offline functionality
This project is licensed under the MIT License - see the LICENSE file for details.
- Icons from Font Awesome
- Color palette inspired by modern dark UI trends
Habify can be deployed to various static hosting platforms:
- Install Firebase CLI:
npm install -g firebase-tools - Login to Firebase:
firebase login - Initialize Firebase:
firebase init(select Hosting) - Deploy:
npm run deploy:firebase
- Install Netlify CLI:
npm install -g netlify-cli - Login to Netlify:
netlify login - Deploy:
netlify deploy --prod
- Push your code to GitHub
- Enable GitHub Actions in your repository
- The workflow in
.github/workflows/deploy.ymlwill automatically deploy to GitHub Pages
Habify is a Progressive Web App (PWA) that can be installed on your device:
- Offline Support: Works without an internet connection
- Installable: Can be added to your home screen
- Responsive: Works on all devices and screen sizes
- Fast: Optimized for performance
To install Habify on your device:
- Open the app in Chrome, Edge, or Safari
- Look for the "Add to Home Screen" or "Install" option in your browser menu
- Follow the prompts to install
- Add a habit: Enter a name and how many times per week you want to do it
- Track progress: The progress bar shows how close you are to your weekly goal
- Build streaks: Each time you complete a habit, your streak increases
- Earn points: Gain points for consistency and maintaining streaks
- View insights: Check the Weekly Summary dashboard for charts and metrics
index.html- Main HTML structurestyles.css- CSS stylingapp.js- Main application logichabitModel.js- Data model for habitsweeklySummary.js- Weekly dashboard functionalityhistoryView.js- 30-day history viewsettings.js- User settingsnotifications.js- Notification systembackupRestore.js- Data backup and restore functionalityserviceWorker.js- PWA offline functionalitymanifest.json- PWA configuration
Created with ❤️ as a modern habit tracking solution.