A simple time tracking program I made to track my study time using the <chrono>
library
Visual Studio 2019 is recommended,
Start by cloning the repository or downloading the zip file.
Once downloaded, open folder and run the GenerateProject.bat
file, which will be inside the "Generate Project" folder. This will run the "premake5.lua" and create a Visual Studio 2019 solution.
Alternatively, you can enter this command on the command prompt within the folder -> premake5.exe vs2019
You can generate solutions for vs2019, vs2017, vs2010 etc.
Included is a .txt file called Saves.txt
this contains a list of all the activities you want to keep track of. Just add the activities you want to keep a track of to the file. Each activity should be on a new line. For example:
Chess: 0
Programming: 0
Chess Engine: 0
Once you compile and run the program you will be greated with the options to:
-
Create a New Session,
-
Show Totals,
-
Edit Subjects,
-
Change Settings and,
-
Exit.
A bell sound (loaded from the clock-chimes-daniel_simon.wav
file) will ring every 30 minutes.
Press Enter
during a new session to stop the counter and save the time total.
Time totals are saved in the same Saves.txt
file
Shows a pie char or bar graph of your activities and the total hours from the "show totals" page:
The chart is created with the Bar Graph.py
python script
The pie chart is created with the Pie Chart.py
python script
Take a look, run the code, and contribute if you'd like!