Skip to content

srihari7070/GamifyLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solo Leveling Life System

A gamified life tracking application inspired by the Solo Leveling manhwa/anime. Transform your daily life into an RPG where you gain experience points, level up, and improve stats through completing tasks and maintaining good habits.

Solo Leveling Life System Demo

✨ Features

🎮 RPG-Style Progression

  • Level up by completing tasks and maintaining habits
  • Allocate stat points across 11 different attributes (Strength, Intelligence, Charisma, etc.)
  • Experience system with dynamic level requirements

📋 Task Management

  • Daily tasks for recurring activities
  • One-time tasks for specific goals
  • Customizable rewards with EXP and stat bonuses
  • Task completion tracking with visual feedback

📊 Progress Tracking

  • Habit trackers with streak counters
  • Gym personal records logging
  • Goal setting with completion rewards
  • Recent activity feed showing your progress

📝 Personal Development

  • Journal entries for reflection and planning
  • Skills & Wisdom tracking for learned abilities and insights
  • AI Mentor powered by Groq's Llama 3.1 for motivation and guidance

🎨 Modern Interface

  • Cyberpunk aesthetic with aqua/cyan color scheme
  • Responsive design works on desktop and mobile
  • Smooth animations and interactive elements
  • Dark theme optimized for extended use

🚀 Demo

View Demo Video

Screenshots

Menu Tasks Tasks
Dashboard Tasks Trackers
Dashboard Progress Tracking
Dashboard Trackers
Goals & Achievements Journal AI Mentor
Goals Journal AI Chat

🛠️ Installation

Prerequisites

  • Python 3.8+
  • pip (Python package manager)

1. Clone the Repository

git clone https://github.com/srihari7070/GamifyLife.git
cd GamifyLife

2. Install Dependencies

pip install -r requirements.txt

3. Set Up Environment Variables

Create a .env file in the root directory:

GROQ_API_KEY=your_groq_api_key_here

Get a free Groq API key:

  1. Visit Groq Console
  2. Sign up for a free account
  3. Create an API key
  4. Add it to your .env file

4. Run the Application

python app.py

Visit http://localhost:3000 in your browser to start leveling up your life!

📖 How to Use

Getting Started

  1. Set your basic info (height, weight) on the dashboard
  2. Create your first task in the Tasks section
  3. Complete tasks to gain EXP and level up
  4. Allocate stat points to customize your character build
  5. Track habits with the Progress Trackers

Creating Effective Tasks

  • Daily tasks: Routine activities like "Exercise for 30 minutes"
  • One-time tasks: Specific goals like "Complete project proposal"
  • Reward balance: Higher EXP for more challenging tasks
  • Stat rewards: Align rewards with the type of activity

Using the AI Mentor

  • Ask for motivation when feeling stuck
  • Request task suggestions based on your goals
  • Get advice on personal development
  • The AI can automatically create tasks for you

Tracking Progress

  • Habit streaks help build consistency
  • Goal setting provides long-term direction
  • Journal entries enable reflection and planning
  • Skills & Wisdom document your growth

🏗️ Technical Architecture

Backend

  • Flask web framework
  • SQLite database for data persistence
  • Groq API integration for AI features
  • RESTful API design for frontend communication

Frontend

  • Vanilla JavaScript with ES6 modules
  • CSS Grid/Flexbox for responsive layouts
  • CSS Custom Properties for theming
  • Local Storage for chat history

Key Components

  • app.py - Flask application entry point
  • database.py - SQLite operations and schema
  • routes.py - API endpoints and request handling
  • chatbot_logic.py - AI integration and response processing
  • static/main.js - Frontend application logic
  • static/game_logic.js - Core game mechanics
  • static/display_manager.js - UI rendering and updates

🔧 Configuration

Environment Variables

GROQ_API_KEY=your_api_key          # Required for AI features
DB_FILE=solo_leveling.db           # Database file location

Model Options

Available Groq models in config.py:

  • llama-3.1-8b-instant (default) - Fast and efficient
  • llama-3.1-70b-versatile - More capable responses
  • mixtral-8x7b-32768 - Longer context window

🤝 Contributing

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

Development Setup

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

📝 License

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

🙏 Acknowledgments

  • Inspired by Solo Leveling manhwa by Chugong
  • Groq for providing fast AI inference
  • Flask community for excellent documentation
  • CSS Grid and modern web standards

📞 Contact


Start your leveling journey today! 🚀

Transform your daily routine into an epic adventure where every completed task brings you closer to becoming the strongest version of yourself.

About

A gamified life tracking system inspired by Solo Leveling manhwa. Features RPG progression, task management, habit tracking, goal setting, journaling, and AI mentorship powered by Groq API. Built with Flask and vanilla JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors