Skip to content

A C program that analyzes video course content, tracks progress, and generates a beautiful HTML report showing your completion status.

Notifications You must be signed in to change notification settings

Omar-Elhorbity/course_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Course Progress Tracker

A C program that analyzes video course content, tracks progress, and generates a beautiful HTML report showing your completion status.

Features

  • πŸ“Š Progress Tracking: Calculates total course duration and completed percentage
  • πŸŽ₯ Video Analysis: Supports MP4, AVI, MKV, MOV, and WMV formats
  • πŸ“ˆ Visual Reports: Generates an HTML page with progress bar and detailed statistics
  • πŸ“… Timestamped: Shows when the report was last generated
  • πŸ“ Chapter Summary: Detailed breakdown of each chapter's status (Done/Pending)

Requirements

  • Linux/macOS (Windows may work with WSL or similar)
  • GCC compiler
  • ffprobe (from FFmpeg) installed and in PATH

Installation

  1. Clone the repository:

    git clone https://github.com/Omar-Elhorbity/course_tracker.git
    cd course-tracker
  2. Compile the program:

    gcc -o course_progress course_progress.c
  3. Ensure you have FFmpeg installed (for ffprobe):

    sudo apt install ffmpeg  # Ubuntu/Debian
    brew install ffmpeg     # macOS

Usage

Run the program and provide your course folder path:

./course_progress

When prompted, enter the path to your course folder. Example:

Enter the path to your course folder: /home/user/my_course

The program will generate a progress_report.html file that you can open in any web browser.

Folder Structure

Your course folder should be organized with:

  • Each chapter in its own subfolder
  • Chapter folders can be marked as "[DONE]" in their names to indicate completion
  • Video files in each chapter folder

Example structure:

my_course/
β”œβ”€β”€ Chapter 1 - Introduction [DONE]/
β”‚   β”œβ”€β”€ video1.mp4
β”‚   └── video2.mp4
β”œβ”€β”€ Chapter 2 - Basics/
β”‚   └── video1.mp4
└── Chapter 3 - Advanced Concepts/
    β”œβ”€β”€ video1.mp4
    └── video2.mp4

Sample Output

The generated HTML report includes:

  • Progress percentage with visual bar
  • Completed/Remaining/Total duration statistics
  • Detailed chapter-by-chapter breakdown
  • Timestamp of when the report was generated

About

A C program that analyzes video course content, tracks progress, and generates a beautiful HTML report showing your completion status.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages