Skip to content

NextProduction/Breakthrough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Breakthrough- Neuroscience-Based Habit Tracker

Next.js TypeScript Tailwind CSS MIT License Open Source

Transform your life with science-backed habit tracking. Break free from unwanted habits with neuroscience insights, personalized rewards, and a supportive community.

โœจ Features

๐Ÿง  Neuroscience-Backed Approach

  • Real-time brain insights based on your current streak
  • Scientific explanations of neuroplasticity and recovery
  • Evidence-based milestone recommendations
  • Recovery timeline with brain chemistry changes

๐ŸŽฏ Comprehensive Habit Tracking

  • 12+ Pre-built Templates: Smoking, social media, alcohol, junk food, procrastination, and more
  • Custom Habits: Create your own with personalized milestones
  • UUID-based System: Robust habit identification and data integrity
  • Daily Progress: Mark success or break days with visual feedback

๐Ÿ† Achievement & Reward System

  • Custom Rewards: Define personal treats for each milestone
  • Achievement Sharing: Beautiful shareable cards with neuroscience facts
  • Progress Levels: Journey Beginner โ†’ Habit Master
  • Confetti Celebrations: Dopamine-boosting visual rewards

๐Ÿ“Š Advanced Analytics

  • Comprehensive Calendar: Visual progress tracking with success/break patterns
  • Success Rate Calculations: Detailed statistics and trends
  • Streak Tracking: Current and longest streaks with milestone progress
  • Multi-habit Overview: Track multiple habits simultaneously

๐Ÿ‘ค Personalized Experience

  • User Profiles: Custom names, avatars, and bios
  • Promise System: Personal commitments shown during temptation moments
  • Motivational Quotes: Daily inspiration and encouragement
  • Progress Insights: Personalized feedback based on your journey

๐Ÿ’พ Data Management

  • Export/Import: Full data backup and restore functionality
  • Local Storage: Privacy-first approach with client-side data
  • Data Portability: JSON format for easy migration
  • Backup System: Automatic backup creation during imports

๐ŸŽจ Modern Design

  • Responsive UI: Perfect on desktop, tablet, and mobile
  • Dark/Light Themes: Comfortable viewing in any environment
  • Accessibility: Screen reader friendly with proper ARIA labels
  • GitHub-Style: Professional open-source project aesthetics

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm, yarn, or pnpm

Installation

  1. Clone the repository
git clone https://github.com/NextProduction/breakthrough.git
cd Breakthrough
  1. Install dependencies
npm install
# or
yarn install
# or
pnpm install
  1. Run the development server
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Open your browser Navigate to http://localhost:3012

๐Ÿ“ฑ Usage Guide

Getting Started

  1. Create Your Profile: Set your name and choose an avatar
  2. Add Your First Habit: Choose from templates or create custom
  3. Set Milestones & Rewards: Define what you'll treat yourself to
  4. Write Your Promise: Personal commitment for motivation
  5. Start Tracking: Mark daily progress and celebrate wins!

Daily Workflow

  • Morning: Check your dashboard and set daily intentions
  • Throughout Day: Resist urges by remembering your promise
  • Evening: Mark your progress (success or break day)
  • Celebrate: Enjoy confetti and achievements when you succeed!

Advanced Features

  • Calendar View: See patterns and trends across time
  • Achievement Sharing: Share milestones on social media
  • Data Export: Backup your progress regularly
  • Multiple Habits: Track several habits simultaneously

๐Ÿงฌ The Science Behind Breakthrough

Neuroplasticity & Recovery

Breakthrough is built on cutting-edge neuroscience research:

  • Days 1-3: Initial neurochemical adjustment begins
  • Week 1: New neural pathways start forming
  • Week 2: Prefrontal cortex strengthening accelerates
  • Month 1: Significant improvements in decision-making and impulse control
  • Month 3: Major white matter integrity improvements
  • Month 6+: Dopamine receptor recovery and enhanced natural reward sensitivity

Behavioral Psychology

  • Positive Reinforcement: Immediate visual rewards (confetti, achievements)
  • Social Proof: Shareable achievements for community support
  • Implementation Intentions: Promise system for pre-commitment
  • Progress Tracking: Visual feedback loops for motivation maintenance

๐Ÿ› ๏ธ Technical Stack

Frontend

  • Next.js 15: React framework with App Router
  • TypeScript: Type-safe development
  • Tailwind CSS: Utility-first styling
  • shadcn/ui: Modern component library
  • Lucide React: Beautiful icons

Features

  • Client-Side Storage: Privacy-first local data storage
  • Progressive Web App: Installable on mobile devices
  • Responsive Design: Works on all screen sizes
  • Performance Optimized: Fast loading and smooth animations

Development Tools

  • ESLint: Code linting and formatting
  • Prettier: Code formatting
  • TypeScript: Static type checking
  • Tailwind CSS: Utility-first CSS framework

๐Ÿ“Š Habit Templates

Available Templates

  1. ๐Ÿšฌ Smoking - Comprehensive quit-smoking program
  2. ๐Ÿง  Masturbation - Overcome compulsive behaviors
  3. ๐Ÿ“ฑ Social Media - Reduce excessive usage
  4. ๐Ÿท Alcohol - Quit or reduce consumption
  5. ๐ŸŸ Junk Food - Stop unhealthy eating patterns
  6. โฐ Procrastination - Overcome task avoidance
  7. ๐Ÿ›’ Impulse Shopping - Control unnecessary purchases
  8. ๐Ÿ“บ Binge Watching - Reduce excessive screen time
  9. โšก Energy Drinks - Stop stimulant dependency
  10. โ˜• Caffeine - Reduce caffeine intake
  11. ๐ŸŽฎ Gaming - Control excessive gaming
  12. ๐Ÿ’ญ Negative Thinking - Replace negative patterns
  13. ๐Ÿ›ก๏ธ Custom - Create your own habit

Template Features

  • Pre-configured milestones based on research
  • Suggested rewards for each milestone
  • Habit-specific neuroscience insights
  • Customizable goals and timelines

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help:

Ways to Contribute

  • ๐Ÿ› Bug Reports: Found an issue? Let us know!
  • ๐Ÿ’ก Feature Requests: Have an idea? We'd love to hear it!
  • ๐Ÿ”ง Code Contributions: Submit pull requests
  • ๐Ÿ“š Documentation: Help improve our docs
  • ๐Ÿงช Testing: Help test new features
  • ๐ŸŒ Translations: Help make Breakthrough global

Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and test thoroughly
  4. Commit with clear messages: git commit -m 'Add amazing feature'
  5. Push to your branch: git push origin feature/amazing-feature
  6. Open a Pull Request

Code Style

  • Use TypeScript for all new code
  • Follow existing code patterns and conventions
  • Add comments for complex logic
  • Ensure responsive design for all UI changes
  • Test on multiple devices and browsers

๐Ÿ“„ License

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

๐Ÿ™ Acknowledgments

  • Neuroscience Research: Based on studies from leading addiction and neuroplasticity researchers
  • Open Source Community: Built with amazing open-source tools and libraries
  • User Feedback: Continuously improved based on user experiences and suggestions
  • Mental Health Advocates: Inspired by those working to destigmatize addiction recovery

๐Ÿ“ž Support & Community

Get Help

  • ๐Ÿ“– Documentation: Check our comprehensive guides
  • ๐Ÿ’ฌ Discussions: Join community conversations
  • ๐Ÿ› Issues: Report bugs or request features
  • ๐Ÿ“ง Email: Contact us directly for support

Stay Connected

  • โญ Star this repo if Breakthrough helps you!
  • ๐Ÿฆ Follow us for updates and tips
  • ๐Ÿ“ข Share your success stories with the community
  • ๐Ÿค Contribute to help others on their journey

Delivered by Next Production Dev

Mahdi Hazrati

ยฉ 2025 Breakthrough. Licensed under MIT. Built with โค๏ธ for the community.