Skip to content

Sharyupatil01/ZEN-TRACK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZenTrack: Productivity Evolved

Master Your Flow. Design your best day with an AI-powered, high-performance task management system.

ZenTrack is a minimalist yet powerful MERN stack application designed for users who value focus. Unlike standard to-do lists, ZenTrack introduces the Zen Score —a dynamic productivity metric that weights tasks by priority and punctuality to provide real-time performance feedback. Screenshot 2026-04-09 140242 Gemini_Generated_Image_798v7l798v7l798v


Live Demo

Watch Live


Core Features

The Zen Productivity Engine ( Logic )

Screenshot 2026-04-09 140016
  const calculateStats = (allTasks) => {
  const completedList = allTasks.filter(t => t.completed);
  const total = allTasks.length;
  const pending = total - completedList.length;

  // 1. Calculate the Raw Zen Score
  const rawZenScore = completedList.reduce((acc, task) => {
    let points = 10;<img width="1895" height="855" alt="Screenshot 2026-04-09 140016" src="https://github.com/user-attachments/assets/92dea08b-1083-4161-9b7a-21bd2a188b73" />

    const weights = { high: 2.5, medium: 1.5, low: 1.0 };
    let multiplier = weights[task.priority] || 1.0;

    if (task.dueDate) {
      const isOverdue = new Date(task.dueDate) < new Date();
      multiplier *= isOverdue ? 0.8 : 1.2;
    }
    return acc + (points * multiplier);
  }, 0);

  const finalScore = Math.round(rawZenScore);

  // 2. Determine Level based on the score we just calculated
  const getZenLevel = (score) => {
    if (score === 0) return { label: "Resting", color: "text-slate-400" };
    if (score < 50) return { label: "Awakening", color: "text-amber-500" };
    if (score < 150) return { label: "Flow State", color: "text-indigo-500" };
    return { label: "Zen Master", color: "text-purple-500" };
  };

  const level = getZenLevel(finalScore);

  // 3. Return everything including the level info
  return {
    total,
    pending,
    completed: completedList.length,
    zenScore: finalScore,
    velocity: total ? Math.round((completedList.length / total) * 100) : 0,
    level // Now this is available in your stats object!
  };
};

const stats = calculateStats(tasks);
  • Weighted Scoring: Tasks are not created equal. Earn 30pts for High, 15pts for Medium, and 10pts for Low priority tasks.
  • Punctuality Bonus: Integrated date-logic rewards you with a 20% bonus for on-time completion and applies a 20% penalty for overdue tasks.
  • Dynamic Zen Levels: Progress from "Resting" to "Zen Master" based on your persistent score

🤖 AI-Planner

Screenshot 2026-04-09 135730
  • AI Planner/ Suggestion Engine: Integrated generative AI to break down complex projects into actionable roadmaps.

  • Intelligent Task Generator: Transform a single goal into a structured sub-task list automatically.

  • Predictive Workflows: Suggests the next task to tackle based on priority and urgency.

Technical Highlights

  • Atomic State Management: Uses MongoDB's $inc operator to handle score updates, preventing race conditions during rapid user interaction.
  • Persistent Auth: Secure JWT-based authentication ensures your Zen Score and task history follow you across all devices.
  • AI-Ready Planner: Integrated AI input fields for roadmap generation (LLM-ready).
  • Glassmorphic UI: A premium, dark-mode-first interface built with Framer Motion for fluid animations and Lucide React for iconography.

Tech Stack

Layer Technology
Frontend React.js, Tailwind CSS, Framer Motion, Axios
Backend Node.js, Express.js
Database MongoDB Atlas (Mongoose ODM)
Deployment Vercel (Serverless Functions)

System Architecture

ZenTrack follows a decoupled client-server architecture:

  1. Frontend: A Vite-powered SPA that handles "Optimistic UI" updates for immediate feedback.
  2. Backend: A RESTful API that acts as the "Source of Truth" for scoring logic and data validation.
  3. Persistence: Cross-session data storage ensuring user stats are retained post-login.

Author

Sharyu Patil - Zen-track@2026

About

Master Your Flow. Design your best day with an AI-powered, high-performance task management system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors