A C program that analyzes video course content, tracks progress, and generates a beautiful HTML report showing your completion status.
- π 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)
- Linux/macOS (Windows may work with WSL or similar)
- GCC compiler
ffprobe(from FFmpeg) installed and in PATH
-
Clone the repository:
git clone https://github.com/Omar-Elhorbity/course_tracker.git cd course-tracker -
Compile the program:
gcc -o course_progress course_progress.c
-
Ensure you have FFmpeg installed (for
ffprobe):sudo apt install ffmpeg # Ubuntu/Debian brew install ffmpeg # macOS
Run the program and provide your course folder path:
./course_progressWhen 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.
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
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